View Issue Details

IDProjectCategoryView StatusLast Update
0003397libmicrohttpdcompliancepublic2021-09-02 17:54
Reporteramatus Assigned ToChristian Grothoff  
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.9.35 
Target Version0.9.36Fixed in Version0.9.36 
Summary0003397: An extra CRLF is returned for an empty entity (Content-Length: 0)
DescriptionReturning an empty entity causes an extra CRLF to be sent to the client.
For example with:
response = MHD_create_response_from_buffer (0, NULL, MHD_RESPMEM_PERSISTENT);
MHD_queue_response (connection, MHD_HTTP_OK, response);

The data sent to the client looks like:
Content-Length: 0 CRLF
CRLF
CRLF <-- invalid
Steps To ReproduceA failing test case has been added to test_get.c revision 33174.
TagsNo tags attached.

Activities

Christian Grothoff

2014-05-13 18:26

manager   ~0008335

Fixed in SVN 33266.

Christian Grothoff

2021-09-02 17:54

manager   ~0018205

Fix committed to master branch.

Related Changesets

libmicrohttpd: master 51da5739

2014-05-13 20:26

Christian Grothoff


Details Diff
-fix 0003397 Affected Issues
0003397
mod - ChangeLog Diff File
mod - src/include/microhttpd.h Diff File
mod - src/microhttpd/connection.c Diff File
mod - src/microhttpd/internal.h Diff File

Issue History

Date Modified Username Field Change
2014-05-06 18:33 amatus New Issue
2014-05-08 09:48 Christian Grothoff Priority normal => urgent
2014-05-08 09:48 Christian Grothoff Status new => confirmed
2014-05-08 09:48 Christian Grothoff Target Version => 0.9.36
2014-05-11 14:07 Christian Grothoff Assigned To => Christian Grothoff
2014-05-11 14:07 Christian Grothoff Status confirmed => assigned
2014-05-13 18:26 Christian Grothoff Note Added: 0008335
2014-05-13 18:26 Christian Grothoff Status assigned => resolved
2014-05-13 18:26 Christian Grothoff Fixed in Version => 0.9.36
2014-05-13 18:26 Christian Grothoff Resolution open => fixed
2014-05-25 20:22 Christian Grothoff Status resolved => closed
2021-09-02 17:54 Christian Grothoff Changeset attached => libmicrohttpd master 51da5739
2021-09-02 17:54 Christian Grothoff Note Added: 0018205