Skip to content

Commit

Permalink
fix tcp_no_deplay type by using int (#4058)
Browse files Browse the repository at this point in the history
  • Loading branch information
htgeis authored Mar 24, 2021
1 parent ab474dc commit c591b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/socket_wrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ inline int inet_pton(int af, const char *src, void *dst) {
namespace SocketConfig {
const int kSocketBufferSize = 100 * 1000;
const int kMaxReceiveSize = 100 * 1000;
const bool kNoDelay = true;
const int kNoDelay = 1;
}

class TcpSocket {
Expand Down

0 comments on commit c591b77

Please sign in to comment.