Ondřej Surý
0e263b34c6
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.
(cherry picked from commit 1a999353cd )
2023-01-05 10:20:47 +01:00
..
2022-12-21 12:41:15 +00:00
2022-11-29 09:14:07 +01:00
2022-12-23 10:08:00 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-12-15 13:31:30 +00:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2023-01-05 10:20:47 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-08-31 15:24:00 -07:00
2022-11-29 09:14:07 +01:00
2022-05-16 10:37:23 +02:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-06-28 14:36:38 +02:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-07-07 07:47:45 +10:00
2022-07-13 10:46:37 +10:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-21 12:41:15 +00:00
2023-01-03 10:33:23 +01:00
2022-12-07 23:59:36 +00:00
2022-12-07 23:59:36 +00:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-05-31 12:06:00 +02:00
2022-11-29 09:14:07 +01:00
2022-05-03 17:42:43 +03:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-23 13:58:14 +02:00
2022-12-14 15:51:33 +00:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00