• Philip Withnall's avatar
    socket: Return early from socket functions if the socket is closed · b80bc3a1
    Philip Withnall authored
    Explicitly check whether the socket is closed (universally represented
    as sock->priv == NULL) before doing anything else in the socket methods.
    This should safely return from unusual situations where the socket has
    been closed and part-destroyed but still ends up having send() or recv()
    called on it.
    b80bc3a1
Name
Last commit
Last update
..
Makefile.am Loading commit data...
http.c Loading commit data...
http.h Loading commit data...
pseudossl.c Loading commit data...
pseudossl.h Loading commit data...
socket-priv.h Loading commit data...
socket.c Loading commit data...
socket.h Loading commit data...
socks5.c Loading commit data...
socks5.h Loading commit data...
tcp-active.c Loading commit data...
tcp-active.h Loading commit data...
tcp-bsd.c Loading commit data...
tcp-bsd.h Loading commit data...
tcp-passive.c Loading commit data...
tcp-passive.h Loading commit data...
udp-bsd.c Loading commit data...
udp-bsd.h Loading commit data...
udp-turn-over-tcp.c Loading commit data...
udp-turn-over-tcp.h Loading commit data...
udp-turn.c Loading commit data...
udp-turn.h Loading commit data...