gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r6462 - libmicrohttpd/src/daemon


From: gnunet
Subject: [GNUnet-SVN] r6462 - libmicrohttpd/src/daemon
Date: Mon, 25 Feb 2008 19:16:34 -0700 (MST)

Author: grothoff
Date: 2008-02-25 19:16:33 -0700 (Mon, 25 Feb 2008)
New Revision: 6462

Modified:
   libmicrohttpd/src/daemon/connection.c
Log:
shutdown on read error

Modified: libmicrohttpd/src/daemon/connection.c
===================================================================
--- libmicrohttpd/src/daemon/connection.c       2008-02-26 02:13:47 UTC (rev 
6461)
+++ libmicrohttpd/src/daemon/connection.c       2008-02-26 02:16:33 UTC (rev 
6462)
@@ -1140,6 +1140,7 @@
     {
       /* other side closed connection */
       connection->read_closed = MHD_YES;
+      SHUTDOWN (connection->socket_fd, SHUT_RD);
       return MHD_NO;
     }
   connection->read_buffer_offset += bytes_read;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]