View Issue Details

IDProjectCategoryView StatusLast Update
0005085libmicrohttpddocumentationpublic2026-07-28 19:47
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PrioritynormalSeveritytextReproducibilityN/A
Status resolvedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product VersionGit master 
Target Version1.0.8Fixed in Version1.0.8 
Summary0005085: tutorial should cover MHD_response_create_from_callback()
DescriptionAlex R. wrote:

I have some request handler code that sends the contents of a regular file to the client. However, the issue is that my program must first write a regular file to the file system, and this is time consuming for very large files. My program (and the client) must wait for the entire file to be generated, before my program can go back and read the file to send any data to the client.

As an addition to the excellent tutorials already available, I'd like to ask if there could be a tutorial written that demonstrates how to process a single request for data in chunks, where the source of the data is not a regular file, but a heap-allocated buffer of some size, which is repeatedly filled to some content length (up to or smaller than its size) and sent to the client in asynchronous fashion, until all data are processed.
TagsNo tags attached.

Activities

Christian Grothoff

2026-07-28 19:47

manager   ~0029261

Tutorial added in 56713e94..7d8c068e

Issue History

Date Modified Username Field Change
2017-06-18 10:45 Christian Grothoff New Issue
2026-07-28 19:47 Christian Grothoff Assigned To => Christian Grothoff
2026-07-28 19:47 Christian Grothoff Status new => resolved
2026-07-28 19:47 Christian Grothoff Resolution open => fixed
2026-07-28 19:47 Christian Grothoff Fixed in Version => 1.0.8
2026-07-28 19:47 Christian Grothoff Note Added: 0029261
2026-07-28 19:47 Christian Grothoff Product Version => Git master
2026-07-28 19:47 Christian Grothoff Target Version => 1.0.8