View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004137 | libmicrohttpd | other | public | 2016-01-19 00:47 | 2016-04-09 16:41 |
Reporter | silvioprog | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 0.9.48 | ||||
Target Version | 0.9.49 | Fixed in Version | 0.9.49 | ||
Summary | 0004137: [PATCH] Cosmetic fix to timeout example | ||||
Description | Hello, Please apply this patch in attachment. Thank you! :-) | ||||
Tags | No tags attached. | ||||
Attached Files | 0001-cosmetics.patch (1,247 bytes)
From d7b699d6e175536a1a41d45ca86573c055f27111 Mon Sep 17 00:00:00 2001 From: silvioprog <silvioprog@gmail.com> Date: Mon, 18 Jan 2016 20:42:35 -0300 Subject: [PATCH 1/1] -cosmetics --- src/examples/timeout.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/examples/timeout.c b/src/examples/timeout.c index 5157137..7f6f249 100644 --- a/src/examples/timeout.c +++ b/src/examples/timeout.c @@ -14,7 +14,7 @@ answer_to_connection(void *cls, size_t *upload_data_size, void **con_cls) { - const char *page = "<html><body>Hello world!</body></html>"; + const char *page = "<html><body>Hello timeout!</body></html>"; struct MHD_Response *response; int ret; @@ -36,8 +36,7 @@ int main() { struct MHD_Daemon *daemon; - daemon = MHD_start_daemon(// MHD_USE_SELECT_INTERNALLY | - MHD_USE_THREAD_PER_CONNECTION, // if you comment this line, the problem dies + daemon = MHD_start_daemon(MHD_USE_THREAD_PER_CONNECTION, PORT, NULL, NULL, &answer_to_connection, NULL, MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 3, -- 1.9.5.msysgit.0 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-01-19 00:47 | silvioprog | New Issue | |
2016-01-19 00:47 | silvioprog | File Added: 0001-cosmetics.patch | |
2016-01-28 07:07 | Christian Grothoff | Note Added: 0010112 | |
2016-01-28 07:07 | Christian Grothoff | Status | new => resolved |
2016-01-28 07:07 | Christian Grothoff | Fixed in Version | => 0.9.49 |
2016-01-28 07:07 | Christian Grothoff | Resolution | open => fixed |
2016-01-28 07:07 | Christian Grothoff | Assigned To | => Christian Grothoff |
2016-01-28 07:07 | Christian Grothoff | Product Version | => 0.9.48 |
2016-01-28 07:07 | Christian Grothoff | Target Version | => 0.9.49 |
2016-04-09 16:41 | Christian Grothoff | Status | resolved => closed |