[Libevent-users] http client core dump when server is suddenly closed

2010-08-25 Thread Yee Keat Phuah
I am using the http module in libevent-2.0.6rc for both the clients and the server, and I am testing the case where the client is rigourously sending things over to the server and the server exits abruptly halfway, current I get a core dump on the client, and traced to the line in http.c:1153 EVUT

[Libevent-users] Threads and Signals

2010-08-25 Thread Gilad Benjamini
My code includes a single event loop and multiple threads. It's a unit-testing piece of code and I am trying to understand the expected behavior. Running on Linux with libevent 2.0 What the code roughly does is - Set an event to call func1 for handling SIGUSR1 - Sends itself SIGUSR1 - Verifies it