From: Ted Lemon Date: Fri, 20 Apr 2001 19:04:26 +0000 (+0000) Subject: - If we get an ECONNRESET, drop the connection immediately - don't X-Git-Tag: V3-RC2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d889f744981cc60cc81422ed03ad9ad946603837;p=thirdparty%2Fdhcp.git - If we get an ECONNRESET, drop the connection immediately - don't wait for the output queue to drain. --- diff --git a/omapip/buffer.c b/omapip/buffer.c index 867f88eb3..253da9e1f 100644 --- a/omapip/buffer.c +++ b/omapip/buffer.c @@ -224,7 +224,7 @@ static isc_result_t omapi_connection_reader_trace (omapi_object_t *h, else if (errno == EINVAL) return ISC_R_INVALIDARG; else if (errno == ECONNRESET) { - omapi_disconnect (h, 0); + omapi_disconnect (h, 1); return ISC_R_SHUTTINGDOWN; } else return ISC_R_UNEXPECTED;