View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
319 | WADF | Micro HTTP server | public | 13 Jan 2010 13:30 | 24 Nov 2011 21:31 |
Reporter | mrosenquist | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | random |
Status | new | Resolution | open | ||
Product Version | 0.13.2 | ||||
Summary | 319: Restart: Occasionally the port is not released before the web-server starts again | ||||
Description | Restart: Occasionally the port is not released before the web-server starts again Recommend increasing the sleep time to 3 seconds | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
|
Increasing the sleep time did not make a difference. There seem to be a discrepancy in how socket_create_listen works and httpd server binds to a port. In cases were the port was busy with incoming request while the httpd server is closing the httpd server will be able to bind, where socket_create_listen() will report the port as busy. To replicate refresh a page with a large number of external elements and then restart the httpd server using wadf-http restart |
|
While this issue is quite minor and rare, when I does occur it is quite disruptive. Patch acctached |
|
If I understand it right, your patch will force the restart to fail, if we know it was already running on that port? Sounds reasonable. |
Date Modified | Username | Field | Change |
---|---|---|---|
13 Jan 2010 13:30 | mrosenquist | New Issue | |
14 Jan 2010 09:07 | mrosenquist | Note Added: 320 | |
14 Jan 2010 09:09 | mrosenquist | Note Added: 321 | |
14 Jan 2010 09:09 | mrosenquist | File Added: wadf-httpd.patch-319 | |
24 Nov 2011 21:31 | timj | Note Added: 417 |