Commit de825711 authored by Paolo Ambrosio's avatar Paolo Ambrosio
Browse files

Merge #125 'Disable Nagle on TCP socket'

parents 886e2ea0 67b3f891
......@@ -4,6 +4,7 @@
* Removed CppSpec support ([#118](https://github.com/cucumber/cucumber-cpp/pull/118) Paolo Ambrosio)
* Support for GoogleTest 1.8 ([#120](https://github.com/cucumber/cucumber-cpp/pull/120) Kamil Strzempowicz)
* Disable Nagle on TCP socket ([#125](https://github.com/cucumber/cucumber-cpp/pull/125) Giel van Schijndel)
### Bugfixes
......
......@@ -13,6 +13,7 @@ void SocketServer::listen(const port_type port) {
tcp::endpoint endpoint(tcp::v4(), port);
acceptor.open(endpoint.protocol());
acceptor.set_option(tcp::acceptor::reuse_address(true));
acceptor.set_option(tcp::no_delay(true));
acceptor.bind(endpoint);
acceptor.listen(1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment