Ignore:
Timestamp:
Nov 25, 2016, 8:04:54 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/lib/async_req/async_sock.c

    r988 r989  
    129129
    130130        /*
    131          * The only errno indicating that the connect is still in
    132          * flight is EINPROGRESS, everything else is an error
     131         * The only errno indicating that an initial connect is still
     132         * in flight is EINPROGRESS.
     133         *
     134         * We get EALREADY when someone calls us a second time for a
     135         * given fd and the connect is still in flight (and returned
     136         * EINPROGRESS the first time).
     137         *
     138         * This allows callers like open_socket_out_send() to reuse
     139         * fds and call us with an fd for which the connect is still
     140         * in flight. The proper thing to do for callers would be
     141         * closing the fd and starting from scratch with a fresh
     142         * socket.
    133143         */
    134144
    135         if (errno != EINPROGRESS) {
     145        if (errno != EINPROGRESS && errno != EALREADY) {
    136146                tevent_req_error(req, errno);
    137147                return tevent_req_post(req, ev);
Note: See TracChangeset for help on using the changeset viewer.