Yes, I figured it out by delving into the libevent source code yesterday
I have removed the above stub from the locked code, so now the callback
always completes, and the issue is solved.
Thanks
On Sun, Nov 21, 2010 at 9:58 PM, Nick Mathewson wrote:
> On Sat, Nov 20, 2010 at 6:21 AM, Sherif Fa
On Sat, Nov 20, 2010 at 6:21 AM, Sherif Fanous wrote:
> Hello
> I have my event callback receiving data from the network using recv. If recv
> returns 0 (FIN received), I call a function to disconnect and cleanup.
> Part of my cleanup is as follows
> if (server->receive_event) {
> event_free(s
Hello
I have my event callback receiving data from the network using recv. If recv
returns 0 (FIN received), I call a function to disconnect and cleanup.
Part of my cleanup is as follows
if (server->receive_event) {
event_free(server->receive_event);
server->receive_event = NULL;
}
I h