sociomantic-tsunami / swarm

Asynchronous client/node framework library
Boost Software License 1.0
14 stars 26 forks source link

Set TCP_NODELAY on for both client and server side #299

Closed nemanja-boric-sociomantic closed 6 years ago

nemanja-boric-sociomantic commented 6 years ago

Since the TCP_CORK flush is now deprecated and request implementations should use explicit buffering, TCP_NODELAY is now always on.

Fixes #296

nemanja-boric-sociomantic commented 6 years ago

I'm not sure if I should add fields for turning the TCP_NODELAY off.

nemanja-boric-sociomantic commented 6 years ago

Updated with the changed deprecation notes for the TCP_CORK.