]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: AF_INET and AF_LOCAL: recv_internal: fix MSG_WAITALL support
authorKen Brown via Cygwin-patches <cygwin-patches@cygwin.com>
Mon, 12 Oct 2020 18:02:13 +0000 (14:02 -0400)
committerKen Brown <kbrown@cornell.edu>
Fri, 23 Oct 2020 12:23:27 +0000 (08:23 -0400)
commit3752ab804bda1cbb38b5da91db8cf14f8bdefa2f
treef3da3206f86d7c50639287c454e763cb624ddc43
parent0c3c451ae3ab23a4558cdbf230d06db39402ec6e
Cygwin: AF_INET and AF_LOCAL: recv_internal: fix MSG_WAITALL support

If MSG_WAITALL is set, recv_internal calls WSARecv or WSARecvFrom in a
loop, in an effort to fill all the scatter-gather buffers.  The test
for whether all the buffers are full was previously incorrect.
winsup/cygwin/fhandler_socket_inet.cc
winsup/cygwin/fhandler_socket_local.cc
This page took 0.031476 seconds and 5 git commands to generate.