Hodlinator
76e0e6087d
qa: Account for errno not always being set for ConnectionResetError
Logging issue can be triggered by:
```diff
--- a/src/httpserver.cpp
+++ b/src/httpserver.cpp
@@ -263,6 +263,7 @@ std::string RequestMethodString(HTTPRequest::RequestMethod m)
/** HTTP request callback */
static void http_request_cb(struct evhttp_request* req, void* arg)
{
+ throw std::runtime_error{"Hello"};
evhttp_connection* conn{evhttp_request_get_connection(req)};
// Track active requests
{
```
http.client.RemoteDisconnected not specifying errno to ConnectionResetError-ctor:
ce4b0ede16/Lib/http/client.py (L1556C9-L1556C29)
2025-11-14 21:56:38 +01:00
..
2025-04-01 08:39:24 -04:00
2024-08-02 20:13:07 +02:00
2025-05-21 10:47:23 -04:00
2025-05-30 01:47:09 +02:00
2023-11-16 10:35:49 +00:00
2025-09-20 21:36:39 +02:00
2025-03-04 12:50:17 -05:00
2023-06-29 16:14:07 -06:00
2020-01-30 23:55:36 -05:00
2025-05-30 01:47:09 +02:00
2025-08-29 08:05:40 +02:00
2025-08-15 11:24:46 -04:00
2025-02-10 15:58:09 -08:00
2025-10-27 12:17:37 -04:00
2025-05-07 19:28:08 +02:00
2025-09-03 13:02:06 -07:00
2025-06-09 17:28:24 +02:00
2021-03-16 10:48:36 -07:00
2024-12-05 08:39:09 +01:00
2025-10-15 14:25:58 +02:00
2025-11-14 21:56:38 +01:00
2025-04-23 12:10:30 -07:00
2025-10-23 11:03:42 +02:00
2024-06-21 19:37:13 +05:30
2024-04-25 16:14:10 +08:00
2025-08-15 11:24:51 -04:00