(trunk libT) #2416 "crash in event_queue_insert" -- another guess, based on the idea that we might queue two actions (one to insert, one to delete) on the same event before libevent's dispatcher is invoked
This commit is contained in:
parent
d81389da50
commit
5a60e4549d
|
@ -341,6 +341,7 @@ sock_cb( CURL * e UNUSED, curl_socket_t fd, int curl_what,
|
|||
event_set( io_event, fd, ev_what, event_cb, web );
|
||||
assert( io_event->ev_base != NULL );
|
||||
event_add( io_event, NULL );
|
||||
event_loop( EVLOOP_ONCE );
|
||||
}
|
||||
|
||||
if( ( io_event != NULL ) && ( curl_what & CURL_POLL_REMOVE ) )
|
||||
|
|
Loading…
Reference in New Issue