mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 12:33:27 +08:00
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:
committed by
Alan C. Assis
parent
3ca0d1e478
commit
c1aa625bdb
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user