Differences From Artifact [6a92767d43]:
- File
src/socket_helpers.h
— part of check-in
[49b1989b63]
at
2014-01-26 22:38:28
on branch trunk
— Move resolving functionality to resolver.m
This is in preparation for UDP sockets, so that they can share the
resolving functionality with TCP sockets. (user: js, size: 2243) [annotate] [blame] [check-ins using]
To Artifact [278174d7fd]:
- File
src/socket_helpers.h
— part of check-in
[898f8c7072]
at
2014-03-04 23:53:48
on branch trunk
— resolver.m: Fix locking
A lock for thread-unsafe getaddrinfo was missing and not all locks were
unlocked / all buffers free'd if an error occurred. (user: js, size: 2232) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
26 27 28 29 30 31 32 | # include <netdb.h> #endif #ifndef INVALID_SOCKET # define INVALID_SOCKET -1 #endif | | | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | # include <netdb.h> #endif #ifndef INVALID_SOCKET # define INVALID_SOCKET -1 #endif #ifdef HAVE_GETADDRINFO # ifndef AI_NUMERICSERV # define AI_NUMERICSERV 0 # endif # ifndef AI_NUMERICHOST # define AI_NUMERICHOST 0 # endif #endif |
︙ | ︙ |