mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
bugfix by hzm
This commit is contained in:
@@ -31,6 +31,7 @@ Erik Slagter <erik@slagter.name>
|
||||
Andreas Wehrmann <a.wehrmann@centersystems.com>
|
||||
Eivind Sarto <ivan@espial.com>
|
||||
Thomas Stalder <gnunet@netsolux.ch>
|
||||
Zhimin Huang <zhimin.huang@bqvision.com>
|
||||
|
||||
Documentation contributions also came from:
|
||||
Marco Maggi <marco.maggi-ipsu@poste.it>
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
Thu May 12 14:40:46 CEST 2011
|
||||
Fixed bug where if multiple HTTP request messages are piped in at once,
|
||||
microhttpd would call the handler with the wrong upload_data_size. -HZM
|
||||
|
||||
Thu May 12 14:40:08 CEST 2011
|
||||
Documented possible issue with off_t being sometimes
|
||||
32-bit and sometimes 64-bit depending on #includes. -CG
|
||||
|
||||
Sun May 8 21:52:47 CEST 2011
|
||||
Allow MHD_SIZE_UNKNOWN to be used in conjunction with
|
||||
MHD_create_response_from_fd (fixing #1679). -TG
|
||||
|
||||
@@ -1364,7 +1364,15 @@ process_request_body (struct MHD_Connection *connection)
|
||||
else
|
||||
{
|
||||
/* no chunked encoding, give all to the client */
|
||||
processed = available;
|
||||
if ( (0 != connection->remaining_upload_size) &&
|
||||
(MHD_SIZE_UNKNOWN != connection->remaining_upload_size) )
|
||||
{
|
||||
processed = connection->remaining_upload_size;
|
||||
}
|
||||
else
|
||||
{
|
||||
processed = available;
|
||||
}
|
||||
}
|
||||
used = processed;
|
||||
connection->client_aware = MHD_YES;
|
||||
|
||||
Reference in New Issue
Block a user