Ondřej Surý
1a999353cd
Pin the dns_dispatch to threads when reusing
...
Previously, dns_dispatch_gettcp() could pick a TCP connection created by
different thread - this breaks our contractual promise to DNS dispatch
by using the TCP connection on a different thread than it was created.
Add .tid member to the dns_dispatch_t struct and skip the dispatches
from other threads when looking up a TCP dispatch that we can reuse in
dns_request.
NOTE: This is going to be properly refactored, but this change could be
also backported to 9.18 for better stability and thread-affinity.
2023-01-05 09:11:42 +01:00
..
2022-12-23 15:17:54 +01:00
2022-11-29 08:54:34 +01:00
2023-01-03 08:21:52 +00:00
2022-11-29 08:54:34 +01:00
2022-12-07 22:20:02 +00:00
2022-12-20 19:13:48 +01:00
2022-12-07 22:20:02 +00:00
2022-11-29 08:54:34 +01:00
2022-12-07 22:20:02 +00:00
2022-11-29 13:48:33 -08:00
2022-11-29 08:54:34 +01:00
2023-01-05 09:11:42 +01:00
2022-11-30 11:47:35 -08:00
2022-11-29 08:54:34 +01:00
2022-12-20 19:13:48 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-12-23 13:36:50 +00:00
2022-12-07 22:20:02 +00:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-12-20 19:13:48 +01:00
2022-12-23 13:36:50 +00:00
2022-11-29 08:54:34 +01:00
2022-12-07 22:20:02 +00:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-12-07 22:20:02 +00:00
2022-12-07 22:20:02 +00:00
2022-12-20 19:13:48 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-12-07 22:20:02 +00:00
2022-11-29 08:54:34 +01:00
2022-12-04 21:41:02 +00:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2023-01-03 16:47:57 +01:00
2022-12-19 11:42:13 +01:00
2022-12-23 09:45:20 +00:00
2022-12-07 22:20:02 +00:00
2023-01-03 14:21:17 +00:00
2022-12-07 22:20:02 +00:00
2022-11-29 08:54:34 +01:00
2022-12-07 22:20:02 +00:00
2022-12-07 22:20:02 +00:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-11-29 08:54:34 +01:00
2022-12-23 11:10:11 +02:00
2022-11-29 08:54:34 +01:00
2022-12-07 22:20:02 +00:00
2022-11-29 08:54:34 +01:00
2022-11-30 10:03:24 +01:00
2022-12-20 22:13:53 +02:00
2023-01-04 14:14:42 -08:00
2022-11-29 08:54:34 +01:00
2022-12-07 22:20:02 +00:00
2022-11-29 08:54:34 +01:00