Commit graph

16 commits

Author SHA1 Message Date
Laura Hausmann
f22c4a7c32
[backend/core] Improve error handling in code paths that try to resolve a deleted remote user 2024-02-21 19:04:46 +01:00
Laura Hausmann
1c8df9879d
[backend/core] Fix long application exit times by passing IHostApplicationLifetime.ApplicationStopping to long-running awaits 2024-02-21 03:50:38 +01:00
Laura Hausmann
907f7ed55c
[backend] Code cleanup 2024-02-20 19:59:38 +01:00
Laura Hausmann
98bdf9ca3c
[backend/core] Make HttpClient timeout after 30s (instead of 100s) normally, and after 10s for WebFinger 2024-02-18 05:36:47 +01:00
Laura Hausmann
d4e1d92771
[backend] Code cleanup: switch to BSD braces style, tweak code style 2024-02-17 02:31:00 +01:00
Laura Hausmann
b5bfc9a080
[backend/webfinger] Catch errors in GetWebFingerTemplateFromHostMetaAsync 2024-02-07 23:11:32 +01:00
Thomas May
6845b7217c
[backend] Ensure HttpClient is used asynchronously in WebFingerService
Reviewed-on: https://iceshrimp.dev/iceshrimp/Iceshrimp.NET/pulls/5
Co-authored-by: Thomas May <wamwoowam@gmail.com>
Co-committed-by: Thomas May <wamwoowam@gmail.com>
2024-02-06 18:07:35 +01:00
Laura Hausmann
cb749c94e6
[backend] Ignore WebFinger failures with response code 410 Gone 2024-02-05 20:29:11 +01:00
Laura Hausmann
bd4c809449
Improve WebFinger error handling 2024-01-28 23:10:18 +01:00
Laura Hausmann
dc45ba8adc
Catch http errors early in WebFingerService 2024-01-28 23:03:09 +01:00
Laura Hausmann
626b267692
All methods that return a Task should end in Async 2024-01-28 22:21:58 +01:00
Laura Hausmann
e72a25db3c
Clean up unused references 2024-01-25 03:46:11 +01:00
Laura Hausmann
5569fe061f
Rename CustomException to GracefulException 2024-01-24 19:14:01 +01:00
Laura Hausmann
bb365ddc66
Improve & refactor exception handling 2024-01-24 18:58:19 +01:00
Laura Hausmann
f15fd9cc79
Implement exception handler 2024-01-24 04:11:56 +01:00
Laura Hausmann
ae89337a2a
Refactor WebFinger -> WebFingerService 2024-01-13 19:46:47 +01:00