net: enable tcp backlog by default
If the NET_TCPBACKLOG configuration is not enabled, no I/O event will be triggered for the socket file descriptor in poll/epoll. As a result, the connection will not be accepted, leading to a failure in the TCP handshake. The problem is that users may not have noticed this configuration, no event will be received when polling the socket fd. Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
parent
3ca0d1e478
commit
c1aa625bdb
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ endif # NET_TCP_WRITE_BUFFERS
|
|||
|
||||
config NET_TCPBACKLOG
|
||||
bool "TCP/IP backlog support"
|
||||
default n
|
||||
default y
|
||||
---help---
|
||||
Incoming connections pend in a backlog until accept() is called.
|
||||
The size of the backlog is selected when listen() is called.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue