Date: Fri, 16 Mar 2001 14:37:06 -0800 (PST) From: Jonathan Lemon <jlemon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_socket.c Message-ID: <200103162237.f2GMb6R95580@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jlemon 2001/03/16 14:37:06 PST
Modified files:
sys/kern uipc_socket.c
Log:
When doing a recv(.. MSG_WAITALL) for a message which is larger than
the socket buffer size, the receive is done in sections. After completing
a read, call pru_rcvd on the underlying protocol before blocking again.
This allows the the protocol to take appropriate action, such as
sending a TCP window update to the peer, if the window happened to
close because the socket buffer was filled. If the protocol is not
notified, a TCP transfer may stall until the remote end sends a window
probe.
Revision Changes Path
1.95 +7 -1 src/sys/kern/uipc_socket.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103162237.f2GMb6R95580>
