Ignore:
Timestamp:
Jan 10, 2010, 7:52:01 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #2416 "crash in event_queue_insert" -- I think this is happening if we queue up two changes, one to listen for read/write, and then a second one to delete the polling, in kqueue's event mechanism, at libcurl's request. Let's try disabling kqueue in libevent and use poll/select instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/web.c

    r9908 r9910  
    346346    if( ( io_event != NULL ) && ( curl_what & CURL_POLL_REMOVE ) )
    347347    {
    348         CURLMcode m;
    349348        memset( io_event, TR_MEMORY_TRASH, sizeof( struct event ) );
    350349        tr_free( io_event );
    351         m = curl_multi_assign( web->multi, fd, NULL );
    352         assert( m == CURLM_OK );
    353350        /*fprintf( stderr, "-1 io_events to %d\n", --num_events );*/
    354351    }
Note: See TracChangeset for help on using the changeset viewer.