Skip to content
Snippets Groups Projects
Commit cacac425 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

TCP: short writes handling

This changeset enables handling of short writes on TCP connections.
Also, the default send/receive buffer sizes for server TCP sockets is
increased to make fast-path processing more likely.

Formerly, Knot DNS running on FreeBSD 10 failed to answer large AXFR
queries. The default send buffer is too small (32768 bytes) to fit
the whole message. Since the sockets are non-blocking, a short write
happened and the TCP handler code terminated the connection.

See merge request !353
parents c8f81406 5d4fa08f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment