View Issue Details

IDProjectCategoryView StatusLast Update
0001432libmicrohttpdexternal APIpublic2009-02-08 22:20
Reporterepienbro Assigned ToChristian Grothoff  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Summary0001432: Add support to catch error messages in MHD_start_daemon()
DescriptionHi,

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.
TagsNo tags attached.

Activities

Christian Grothoff

2008-11-16 02:52

manager   ~0003740

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.

epienbro

2008-11-17 00:31

reporter   ~0003744

Printing error messages to stderr isn't of any use in GUI applications..

Christian Grothoff

2008-12-06 22:29

manager   ~0003751

Fixed in SVN 7991.

Issue History

Date Modified Username Field Change
2008-10-28 08:55 epienbro New Issue
2008-11-16 02:52 Christian Grothoff Note Added: 0003740
2008-11-17 00:31 epienbro Note Added: 0003744
2008-11-17 22:13 Christian Grothoff Status new => assigned
2008-11-17 22:13 Christian Grothoff Assigned To => Christian Grothoff
2008-12-06 22:29 Christian Grothoff Status assigned => resolved
2008-12-06 22:29 Christian Grothoff Resolution open => fixed
2008-12-06 22:29 Christian Grothoff Note Added: 0003751
2009-02-08 22:20 Christian Grothoff Status resolved => closed
2013-05-06 12:52 Christian Grothoff Category API => libmicrohttpd API
2024-01-21 13:24 Christian Grothoff Category libmicrohttpd API => external API