removing useless code

This commit is contained in:
Christian Grothoff
2011-02-23 13:23:20 +00:00
parent 94c463e999
commit 449bb33ca0
4 changed files with 4 additions and 11 deletions
+3
View File
@@ -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
-5
View File
@@ -241,11 +241,6 @@ MHD_queue_response (struct MHD_Connection *connection,
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",
-5
View File
@@ -641,11 +641,6 @@ struct MHD_Connection
*/
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
+1 -1
View File
@@ -106,7 +106,7 @@ extern "C"
/**
* Current version of the library.
*/
#define MHD_VERSION 0x00090701
#define MHD_VERSION 0x00090702
/**
* MHD-internal return code for "YES".