Skip to content
Commit f093b710 authored by Jukka Rissanen's avatar Jukka Rissanen
Browse files

net: tcp: Add Kconfig option for auto-accepting clients



Add CONFIG_NET_TCP_AUTO_ACCEPT option which can be used to
automatically accept incoming data connection even if the
application has not yet called accept(). This can speed up
data transfer from peer to the application.
Problem with this is that if the peer sends lot of data and
we have limited amount of net_buf's available, then we can
run out of them which is very bad situation and can lead to
deadlocks. Because of this, the setting is turned off by default.

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent c3f0c323
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment