[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14501 - in libmicrohttpd: . src/daemon src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14501 - in libmicrohttpd: . src/daemon src/include |
Date: |
Wed, 23 Feb 2011 14:23:50 +0100 |
Author: grothoff
Date: 2011-02-23 14:23:20 +0100 (Wed, 23 Feb 2011)
New Revision: 14501
Modified:
libmicrohttpd/ChangeLog
libmicrohttpd/src/daemon/connection.c
libmicrohttpd/src/daemon/internal.h
libmicrohttpd/src/include/microhttpd.h
Log:
removing useless code
Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog 2011-02-23 11:19:54 UTC (rev 14500)
+++ libmicrohttpd/ChangeLog 2011-02-23 13:23:20 UTC (rev 14501)
@@ -1,3 +1,6 @@
+Wed Feb 23 14:21:44 CET 2011
+ Removing useless code pointed out by Eivind Sarto. -CG
+
Fri Feb 18 11:03:59 CET 2011
Handle large (>2 GB) file transfers with sendfile on 32-bit
systems better; handle odd sendfile failures by libc/kernel
Modified: libmicrohttpd/src/daemon/connection.c
===================================================================
--- libmicrohttpd/src/daemon/connection.c 2011-02-23 11:19:54 UTC (rev
14500)
+++ libmicrohttpd/src/daemon/connection.c 2011-02-23 13:23:20 UTC (rev
14501)
@@ -241,11 +241,6 @@
have already sent the full message body */
connection->response_write_position = response->total_size;
}
- if ((response->total_size == MHD_SIZE_UNKNOWN) &&
- (0 == strcasecmp (connection->version, MHD_HTTP_VERSION_1_1)))
- connection->have_chunked_response = MHD_YES;
- else
- connection->have_chunked_response = MHD_NO;
if (connection->state == MHD_CONNECTION_HEADERS_PROCESSED)
{
/* response was queued "early",
Modified: libmicrohttpd/src/daemon/internal.h
===================================================================
--- libmicrohttpd/src/daemon/internal.h 2011-02-23 11:19:54 UTC (rev 14500)
+++ libmicrohttpd/src/daemon/internal.h 2011-02-23 13:23:20 UTC (rev 14501)
@@ -642,11 +642,6 @@
int response_unready;
/**
- * Are we sending with chunked encoding?
- */
- int have_chunked_response;
-
- /**
* Are we receiving with chunked encoding? This will be set to
* MHD_YES after we parse the headers and are processing the body
* with chunks. After we are done with the body and we are
Modified: libmicrohttpd/src/include/microhttpd.h
===================================================================
--- libmicrohttpd/src/include/microhttpd.h 2011-02-23 11:19:54 UTC (rev
14500)
+++ libmicrohttpd/src/include/microhttpd.h 2011-02-23 13:23:20 UTC (rev
14501)
@@ -106,7 +106,7 @@
/**
* Current version of the library.
*/
-#define MHD_VERSION 0x00090701
+#define MHD_VERSION 0x00090702
/**
* MHD-internal return code for "YES".
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14501 - in libmicrohttpd: . src/daemon src/include,
gnunet <=