mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-27 13:46:37 +02:00
16531e53db
This results in less write calls (lower load) and more data per packet (more efficient network traffic). It helps for the webserver (JSON-RPC) but should also help IRC traffic when returning more than a line or so. Previously the first TCP packet was not always filled fully, eg it was close to 512 bytes instead of being close to 1500 bytes (MTU). Strange that this happened in the first place, by the way, as we don't set TCP_NODELAY. But whatever...