View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001901 | libmicrohttpd | external API | public | 2011-11-13 09:50 | 2011-11-14 23:23 |
| Reporter | pantherse | Assigned To | Christian Grothoff | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Summary | 0001901: Calling MHD_stop_daemon before first client connection fails to cancel select | ||||
| Description | When calling MHD_stop_daemon before a client connection is received fails to close the server connection | ||||
| Steps To Reproduce | call MHD_start_daemon() call MHD_stop_daemon() At this stage the program hangs. Attempting to connect to the server will show that the server is still active. Then the program exits. | ||||
| Tags | No tags attached. | ||||
|
|
I've added a testcase for this (SVN 18125), and it passes just fine on my system (src/testcurl/test_start_stop.c). Can you please run that testcase on your system (to see if I wrote the correct test)? If it fails there, I'd really like to know what OS you are running and maybe get a trace from gdb when the process is hanging and an strace. Thanks! |
|
|
It appears that the issue is with the 0.9.9 release that's available in the download page. For reference I have an Intel Mac 10.5.8 |
|
|
Could you please try with a more recent release (0.9.16/SVN HEAD)? |
|
|
I checked out https://gnunet.org/svn/libmicrohttpd@18138 and things are still working. |
|
|
I also downloaded libmicrohttpd-0.9.16 from http://mirror.team-cymru.org/gnu/libmicrohttpd/ and that's working too. Looks like I simply downloaded an older version. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-11-13 09:50 | pantherse | New Issue | |
| 2011-11-13 14:06 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2011-11-13 14:06 | Christian Grothoff | Status | new => assigned |
| 2011-11-13 14:13 | Christian Grothoff | Note Added: 0004908 | |
| 2011-11-13 14:13 | Christian Grothoff | Status | assigned => feedback |
| 2011-11-13 21:41 | pantherse | Note Added: 0004909 | |
| 2011-11-13 21:41 | pantherse | Status | feedback => assigned |
| 2011-11-14 14:27 | Christian Grothoff | Note Added: 0004911 | |
| 2011-11-14 14:27 | Christian Grothoff | Status | assigned => feedback |
| 2011-11-14 20:53 | pantherse | Note Added: 0004914 | |
| 2011-11-14 20:53 | pantherse | Status | feedback => assigned |
| 2011-11-14 20:59 | pantherse | Note Added: 0004915 | |
| 2011-11-14 23:23 | Christian Grothoff | Status | assigned => closed |
| 2011-11-14 23:23 | Christian Grothoff | Resolution | open => no change required |
| 2013-05-06 12:52 | Christian Grothoff | Category | API => libmicrohttpd API |
| 2024-01-21 13:24 | Christian Grothoff | Category | libmicrohttpd API => external API |