View Issue Details

IDProjectCategoryView StatusLast Update
0001260libmicrohttpdcompliancepublic2007-12-20 00:37
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PriorityhighSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product VersionGit master 
Summary0001260: support for chunked encoding
Descriptionhttp 1.1 clients are allowed to upload data using chunked encoding.

The current MHD implementation does not do anything to help users of the library process chunked data (it is preserved as-is).
TagsNo tags attached.

Relationships

related to 0001302 closedChristian Grothoff MHD should support sending data using chunked encoding 

Activities

Christian Grothoff

2007-08-18 03:26

manager   ~0003130

Here is how CURL decides about chunked encoding:

  if ((conn->protocol&PROT_HTTP) &&
      data->set.upload &&
      (data->set.infilesize == -1) &&
      (data->set.httpversion != CURL_HTTP_VERSION_1_0)) {
    /* HTTP, upload, unknown file size and not HTTP 1.0 */
    conn->bits.upload_chunky = TRUE;
  }
  else {
    /* else, no chunky upload */
    conn->bits.upload_chunky = FALSE;
  }

Note that valgrind complains for the very line of the condition about the use of uninitialized values, so while the logic is there, it may not work nicely
(the specific line it complains about is the conn->protocol&PROT_HTTP line, but I'm not sure that line is 100% accurate despite -O0).

Christian Grothoff

2007-12-16 03:27

manager   ~0003242

Fixed in SVN 5926.

Issue History

Date Modified Username Field Change
2007-08-08 02:24 Christian Grothoff New Issue
2007-08-08 02:24 Christian Grothoff Status new => acknowledged
2007-08-18 03:26 Christian Grothoff Note Added: 0003130
2007-08-24 18:11 Christian Grothoff Status acknowledged => assigned
2007-08-24 18:11 Christian Grothoff Assigned To => Christian Grothoff
2007-12-08 17:30 Christian Grothoff Priority low => high
2007-12-16 03:27 Christian Grothoff Note Added: 0003242
2007-12-16 03:27 Christian Grothoff Status assigned => resolved
2007-12-16 03:27 Christian Grothoff Resolution open => fixed
2007-12-16 03:31 Christian Grothoff Relationship added related to 0001302
2007-12-20 00:37 Christian Grothoff Status resolved => closed