2013-09-26 17:14:40 +02:00

16 lines
463 B
Plaintext

$NetBSD: patch-ac,v 1.1 2007/01/18 16:28:08 reed Exp $
--- mini_httpd.c.orig 2006-12-31 03:00:18.000000000 +0900
+++ mini_httpd.c 2007-01-05 11:40:35.000000000 +0900
@@ -822,6 +822,10 @@
if ( errno == EPROTO )
continue; /* try again */
#endif /* EPROTO */
+#ifdef ECONNABORTED
+ if ( errno == ECONNABORTED )
+ continue; /* try again */
+#endif /* ECONNABORTED */
syslog( LOG_CRIT, "accept - %m" );
perror( "accept" );
exit( 1 );