[sheepdog] [PATCH v2 0/3] fix embryonic connection
Liu Yuan
namei.unix at gmail.com
Tue Sep 4 11:00:55 CEST 2012
From: Liu Yuan <tailai.ly at taobao.com>
This patch set tries to solve tow hang problems:
1. non-blocking connect() might leave connection wait for unbounded period of
time
2. poll() might wait for unbounded period of time, when
a) header in send buffer is not acked
b) the remote node is crashed
This two problems can be reproduced by refined 035.
Liu Yuan (3):
test: consoliate test 035 to test more bugs
Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
lib/net.c | 13 +++++++------
sheep/gateway.c | 42 ++++++++++++++++++++++++++++++++++++------
tests/035 | 25 ++++++++++---------------
tests/035.out | 20 ++++++++++----------
tests/common.rc | 20 ++++++++++++++++++++
5 files changed, 83 insertions(+), 37 deletions(-)
--
1.7.10.2
More information about the sheepdog
mailing list