Backport netmgr-related merge requests
This issue contains a list of netmgr-related merge requests which should
be eventually backported to v9_16
, but may need to wait in a queue for
a while before that happens.
Merge requests that must be backported:
-
!3781 (merged) Fix socket closing races. - !4318 (merged) (included in !4455 (merged)) Resolve "Add netmgr functions to support outgoing DNS queries"
- !4341 (merged) (included in !4455 (merged)) Fix improper closed connection handling in tcpdns.
- !4386 (merged) (included in !4455 (merged)) Turn all the callback to be always asynchronous
- !4444 (merged) Refactor netmgr and add more unit tests
- !4452 (merged) (included in !4455 (merged)) Avoid netievent allocations when the callbacks can be called directly
- !4458 (merged) (included in !4455 (merged)) Make netmgr initialize and cleanup Winsock itself
- !4459 (merged) (included in !4455 (merged)) Distribute queries among threads even on platforms without SO_REUSEPORT_LB
- !4465 (merged) (included in !4455 (merged)) Don't use stack allocated buffer for uv_write()
- !4468 (merged) (included in !4455 (merged)) Fix datarace when UDP/TCP connect fails and we are in nmthread
- !4469 (merged) (included in !4455 (merged)) Use sock->nchildren instead of mgr->nworkers when initializing NM
- !4472 (merged) (included in !4455 (merged)) Fix s/HAVE_REUSEPORT_LB/HAVE_SO_REUSEPORT_LB/ typo in #define
Merge requests that may be backported:
- !4115 (merged) Resolve "convert dig and friends to use the netmgr"
- !4246 (merged) use netmgr for xfrin
- !4374 (merged) address some possible shutdown races in xfrin
- !4397 (merged) Resolve ""dig" crashes when interrupted while waiting for a TCP connection"
- !4466 (merged) Configure the system-wide TCP connection timeout on OpenBSD