Skip to content

Commit c591b77

Browse files
authored
fix tcp_no_deplay type by using int (#4058)
1 parent ab474dc commit c591b77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/network/socket_wrapper.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ inline int inet_pton(int af, const char *src, void *dst) {
9393
namespace SocketConfig {
9494
const int kSocketBufferSize = 100 * 1000;
9595
const int kMaxReceiveSize = 100 * 1000;
96-
const bool kNoDelay = true;
96+
const int kNoDelay = 1;
9797
}
9898

9999
class TcpSocket {

0 commit comments

Comments
 (0)