Remove resolve_reverse_lookup setting

This setting seems ill advised and breaks TLS verification.

Fixes #1034.
This commit is contained in:
Will Storey 2019-10-12 17:09:13 -07:00
commit 7e6d24420c
4 changed files with 9 additions and 58 deletions

View file

@ -9,12 +9,10 @@ typedef struct {
int errlen; /* error text length */
char *errorstr; /* error string - dynamically allocated, you'll
need to free() it yourself unless it's NULL */
char *host4, *host6; /* dito */
} RESOLVED_IP_REC;
/* nonblocking gethostbyname(), PID of the resolver child is returned. */
int net_gethostbyname_nonblock(const char *addr, GIOChannel *pipe,
int reverse_lookup);
int net_gethostbyname_nonblock(const char *addr, GIOChannel *pipe);
/* get the resolved IP address. returns -1 if some error occurred with read() */
int net_gethostbyname_return(GIOChannel *pipe, RESOLVED_IP_REC *rec);