Unverified Commit c591b77e authored by htgeis's avatar htgeis Committed by GitHub
Browse files

fix tcp_no_deplay type by using int (#4058)

parent ab474dc4
...@@ -93,7 +93,7 @@ inline int inet_pton(int af, const char *src, void *dst) { ...@@ -93,7 +93,7 @@ inline int inet_pton(int af, const char *src, void *dst) {
namespace SocketConfig { namespace SocketConfig {
const int kSocketBufferSize = 100 * 1000; const int kSocketBufferSize = 100 * 1000;
const int kMaxReceiveSize = 100 * 1000; const int kMaxReceiveSize = 100 * 1000;
const bool kNoDelay = true; const int kNoDelay = 1;
} }
class TcpSocket { class TcpSocket {
......
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