Changeset 9910


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.

Location:
trunk
Files:
3 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    }
  • trunk/third-party/macosx-libevent-config.h

    r9162 r9910  
    5151
    5252/* Define to 1 if you have the `kqueue' function. */
    53 #define HAVE_KQUEUE 1
     53/* #define HAVE_KQUEUE 1 */
    5454
    5555/* Define to 1 if you have the `nsl' library (-lnsl). */
     
    195195
    196196/* Define if kqueue works correctly with pipes */
    197 #define HAVE_WORKING_KQUEUE 1
     197/* #define HAVE_WORKING_KQUEUE 1 */
    198198
    199199/* Define to the sub-directory in which libtool stores uninstalled libraries.
  • trunk/third-party/macosx-libevent-event-config.h

    r9162 r9910  
    5858
    5959/* Define to 1 if you have the `kqueue' function. */
    60 #define _EVENT_HAVE_KQUEUE 1
     60/* #define _EVENT_HAVE_KQUEUE 1 */
    6161
    6262/* Define to 1 if you have the `nsl' library (-lnsl). */
     
    202202
    203203/* Define if kqueue works correctly with pipes */
    204 #define _EVENT_HAVE_WORKING_KQUEUE 1
     204/* #define _EVENT_HAVE_WORKING_KQUEUE 1 */
    205205
    206206/* Define to the sub-directory in which libtool stores uninstalled libraries.
Note: See TracChangeset for help on using the changeset viewer.