mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
removing useless code
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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".
|
||||
|
||||
Reference in New Issue
Block a user