diff options
author | pjd <pjd@FreeBSD.org> | 2010-04-29 15:36:32 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-04-29 15:36:32 +0000 |
commit | 0dcf2ac7ada163fca882dcaa5c89ddfcef286bf9 (patch) | |
tree | 8e157b7fbed074af6570c80464a3a00cc302ae60 /contrib/libstdc++/libsupc++ | |
parent | 37a9ab0c6732ace50747a5e47b4eae9c67b72bba (diff) | |
download | FreeBSD-src-0dcf2ac7ada163fca882dcaa5c89ddfcef286bf9.zip FreeBSD-src-0dcf2ac7ada163fca882dcaa5c89ddfcef286bf9.tar.gz |
Fix a problem where hastd will stuck in recv(2) after sending request to
secondary, which died between send(2) and recv(2). Do it by adding timeout
to recv(2) for primary incoming and outgoing sockets and secondary outgoing
socket.
Reported by: Mikolaj Golub <to.my.trociny@gmail.com>
Tested by: Mikolaj Golub <to.my.trociny@gmail.com>
MFC after: 3 days
Diffstat (limited to 'contrib/libstdc++/libsupc++')
0 files changed, 0 insertions, 0 deletions