]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
- If we get an ECONNRESET, drop the connection immediately - don't
authorTed Lemon <source@isc.org>
Fri, 20 Apr 2001 19:04:26 +0000 (19:04 +0000)
committerTed Lemon <source@isc.org>
Fri, 20 Apr 2001 19:04:26 +0000 (19:04 +0000)
  wait for the output queue to drain.

omapip/buffer.c

index 867f88eb3d639b679e7d9a341727108dcfce7f08..253da9e1f0835e2f1257ebd0e9015c0b743e663f 100644 (file)
@@ -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;