Artem Boldariev
e525029b89
DoH: Simplify http_do_bio()
...
This commit significantly simplifies the code flow in the
http_do_bio() function, which is responsible for processing incoming
and outgoing HTTP/2 data. It seems that the way it was structured
before was indirectly caused by the presence of the missing callback
calls bug, fixed in 8b8f4d500d .
The change introduced by this commit is known to remove a bottleneck
and allows reproducible and measurable performance improvement for
long runs (>= 1h) of "stress:long:rpz:doh+udp:linux:*" tests.
Additionally, it fixes a similar issue with potentially missing send
callback calls processing and hardens the code against use-after-free
errors related to the session object (they can potentially occur).
(cherry picked from commit 0956fb9b9e )
2025-03-03 12:06:05 +02:00
..
2025-01-22 14:12:38 +01:00
2025-03-03 12:06:05 +02:00
2022-03-02 10:49:47 +00:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-12-06 15:17:53 +00:00
2024-11-19 16:06:16 +01:00
2022-10-17 16:00:26 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2022-10-17 16:00:27 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2023-02-09 10:07:39 -08:00
2024-11-19 16:06:16 +01:00
2023-03-31 16:47:15 +02:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2023-11-01 18:04:07 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2025-01-22 14:12:38 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-10-18 01:29:27 +00:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-12-08 12:30:11 +00:00
2024-12-08 12:30:11 +00:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2025-01-07 13:30:26 +00:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2023-01-10 18:36:08 +11:00
2025-01-22 14:12:38 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2022-10-17 16:08:28 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-26 12:24:41 +11:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00
2024-11-19 16:06:16 +01:00