View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001432 | libmicrohttpd | external API | public | 2008-10-28 07:55 | 2009-02-08 21:20 |
| Reporter | epienbro | Assigned To | Christian Grothoff | Due Date | |
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | Git master | ||||
| Summary | 0001432: Add support to catch error messages in MHD_start_daemon() | ||||
| Description | Hi, While experimenting with libmicrohttpd I found out that for some reason, the function MHD_start_daemon() would always return NULL. After some further investigation I've found out it failed because I tried to bind port 80 as a normal user (which is denied on Linux environments). I wondered if it was possible to add a new parameter to the function MHD_start_daemon: char **errmsg. If this is non-NULL, libmicrohttpd can put a more detailed error message there, so the user can be informed about the exact cause of the failure. | ||||
| Tags | No tags attached. | ||||
| You need to run configure with --enable-messages and pass MHD_USE_DEBUG as an option. Then an appropriate error message would have been printed to stderr. | |
| Printing error messages to stderr isn't of any use in GUI applications.. | |
| Fixed in SVN 7991. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2008-10-28 07:55 | epienbro | New Issue | |
| 2008-11-16 01:52 | Christian Grothoff | Note Added: 0003740 | |
| 2008-11-16 23:31 | epienbro | Note Added: 0003744 | |
| 2008-11-17 21:13 | Christian Grothoff | Status | new => assigned |
| 2008-11-17 21:13 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2008-12-06 21:29 | Christian Grothoff | Status | assigned => resolved |
| 2008-12-06 21:29 | Christian Grothoff | Resolution | open => fixed |
| 2008-12-06 21:29 | Christian Grothoff | Note Added: 0003751 | |
| 2009-02-08 21:20 | Christian Grothoff | Status | resolved => closed |
| 2013-05-06 10:52 | Christian Grothoff | Category | API => libmicrohttpd API |
| 2024-01-21 12:24 | Christian Grothoff | Category | libmicrohttpd API => external API |