OCaml Forge
SCM

Detail: [#875] Http_tcp_server.Timeout causes application exit when using threading model

Bugs: Browse | Download .csv | Monitor

[#875] Http_tcp_server.Timeout causes application exit when using threading model

Date:
2011-01-16 00:31
Priority:
4
State:
Open
Submitted by:
Yuki Izumi (celtic)
Assigned to:
Yuki Izumi (celtic)
Threading model:
thread
Resolution:
Accepted As Bug
Severity:
major
 
URL:
Summary:
Http_tcp_server.Timeout causes application exit when using threading model

Detailed description
A timed-out connection causes the entire application to exit when the threading model is used.

See:
http://groups.google.com/group/comp.unix.programmer/browse_thread/thread/995c30921feabf3b

(Thread that called alarm() is not necessarily the one that receives it.)

We may need to investigate other models for timeouts, as two different threads cannot effectively wait for timeouts unless we do multiplexing of this ourselves (e.g. maintain a delta list of timeouts and ensure all/any applicable[?] threads can respond to them).

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item