• Show log

    Commit

  • Hash : d8164d0c
    Author : Nick Mathewson
    Date : 2009-10-21T07:00:14

    Fix win32 connect() event handling.
    
    Christopher Davis reported:
    
        Connection failures aren't reported on Windows when
        using bufferevent_socket_connect, because Windows uses
        select's exceptfds to notify of failure, and libevent
        treats them like read events. Only the write event
        handler is currently used to handle connection events.
    
    We should think hard about this one, since it changes
    behavior from 1.4.x.  Anything that worked on Mac/Unix before
    will work more consistently on Windows now... but this might
    break stuff that worked only on Windows, but nowhere else.
    
    Patch from Chris Davis.
    
    svn:r1454