]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon: out-of-order processing for TCP
authorMarek Vavrusa <marek@vavrusa.com>
Tue, 3 May 2016 06:56:20 +0000 (23:56 -0700)
committerMarek Vavrusa <marek@vavrusa.com>
Tue, 3 May 2016 07:24:24 +0000 (00:24 -0700)
commitc23edd069ce37a3dc79f28dc81191c18f27c43b0
treeb813a750d0a139f87a71ab9184dead31276dbb83
parente61c48efba458d0997efb9a79943d01bbf1d692b
daemon: out-of-order processing for TCP

* daemon now processes messages over TCP stream
out-of-order and concurrently
* support for TCP_DEFER_ACCEPT
* support for TCP Fast-Open
* there are now deadlines for TCP for idle/slow
streams (to prevent slowloris; pruning)
* there is now per-request limit on timeouts
(each request is allowed 4 timeouts before bailing)
* faster request closing, unified retry/timeout timers
* rare race condition in timer closing fixed
12 files changed:
daemon/README.rst
daemon/bindings.c
daemon/engine.h
daemon/io.c
daemon/io.h
daemon/network.c
daemon/network.h
daemon/worker.c
daemon/worker.h
lib/defines.h
lib/zonecut.c
tests/tests.mk