]> granicus.if.org Git - strace/commit
receive_responses: avoid potential hangup
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 27 Jan 2016 21:35:50 +0000 (21:35 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 3 Feb 2016 12:42:20 +0000 (12:42 +0000)
commit2215c3e352cc3ec16326bb8f50a7570e266207ae
treef358b1d8bfbb83724ae3322ecf922773bb3ae1a4
parent9d15ec7b5741227e8641ca383558e7aab52a7d02
receive_responses: avoid potential hangup

* socketutils.c (receive_responses): Pass MSG_DONTWAIT to recvmsg after
the first recvmsg call to avoid potential hangup.
socketutils.c