[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r28448 - libmicrohttpd/src/microhttpd
From: |
gnunet |
Subject: |
[GNUnet-SVN] r28448 - libmicrohttpd/src/microhttpd |
Date: |
Thu, 8 Aug 2013 07:54:01 +0200 |
Author: grothoff
Date: 2013-08-08 07:54:01 +0200 (Thu, 08 Aug 2013)
New Revision: 28448
Modified:
libmicrohttpd/src/microhttpd/connection.c
Log:
-fix check for early queuing of response
Modified: libmicrohttpd/src/microhttpd/connection.c
===================================================================
--- libmicrohttpd/src/microhttpd/connection.c 2013-08-08 05:36:25 UTC (rev
28447)
+++ libmicrohttpd/src/microhttpd/connection.c 2013-08-08 05:54:01 UTC (rev
28448)
@@ -2681,7 +2681,11 @@
have already sent the full message body */
connection->response_write_position = response->total_size;
}
- if (MHD_CONNECTION_HEADERS_PROCESSED == connection->state)
+ if ( (MHD_CONNECTION_HEADERS_PROCESSED == connection->state) &&
+ ( (0 == strcasecmp (connection->method,
+ MHD_HTTP_METHOD_POST)) ||
+ (0 == strcasecmp (connection->method,
+ MHD_HTTP_METHOD_PUT))) )
{
/* response was queued "early",
refuse to read body / footers or further
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r28448 - libmicrohttpd/src/microhttpd,
gnunet <=