Date: Thu, 29 Apr 2010 15:36:32 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/hastd hast.conf.5 hast.h hastd.c parse.y primary.c proto.c proto.h proto_common.c secondary.c token.l Message-ID: <201004291536.o3TFajGn025486@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2010-04-29 15:36:32 UTC FreeBSD src repository Modified files: sbin/hastd hast.conf.5 hast.h hastd.c parse.y primary.c proto.c proto.h proto_common.c secondary.c token.l Log: SVN rev 207371 on 2010-04-29 15:36:32Z by pjd 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 Revision Changes Path 1.2 +7 -0 src/sbin/hastd/hast.conf.5 1.2 +3 -0 src/sbin/hastd/hast.h 1.5 +4 -0 src/sbin/hastd/hastd.c 1.2 +31 -1 src/sbin/hastd/parse.y 1.5 +6 -0 src/sbin/hastd/primary.c 1.2 +26 -0 src/sbin/hastd/proto.c 1.2 +1 -0 src/sbin/hastd/proto.h 1.2 +2 -2 src/sbin/hastd/proto_common.c 1.2 +6 -0 src/sbin/hastd/secondary.c 1.2 +1 -0 src/sbin/hastd/token.l
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004291536.o3TFajGn025486>