View Issue Details

IDProjectCategoryView StatusLast Update
0003397libmicrohttpdcompliancepublic2021-09-02 15:54
Reporteramatus Assigned ToChristian Grothoff Due Date
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 16:26

manager   ~0008335

Fixed in SVN 33266.

Christian Grothoff

2021-09-02 15:54

manager   ~0018205

Fix committed to master branch.

Issue History

Date ModifiedUsernameFieldChange
2014-05-06 16:33amatusNew Issue
2014-05-08 07:48Christian GrothoffPrioritynormal => urgent
2014-05-08 07:48Christian GrothoffStatusnew => confirmed
2014-05-08 07:48Christian GrothoffTarget Version => 0.9.36
2014-05-11 12:07Christian GrothoffAssigned To => Christian Grothoff
2014-05-11 12:07Christian GrothoffStatusconfirmed => assigned
2014-05-13 16:26Christian GrothoffNote Added: 0008335
2014-05-13 16:26Christian GrothoffStatusassigned => resolved
2014-05-13 16:26Christian GrothoffFixed in Version => 0.9.36
2014-05-13 16:26Christian GrothoffResolutionopen => fixed
2014-05-25 18:22Christian GrothoffStatusresolved => closed
2021-09-02 15:54Christian Grothoff
2021-09-02 15:54Christian GrothoffNote Added: 0018205