[client] -R http recv() read until close (Jonathan Schulz)
authorMichael Rash <mbr@cipherdyne.org>
Sat, 4 Aug 2012 01:49:03 +0000 (21:49 -0400)
committerMichael Rash <mbr@cipherdyne.org>
Sat, 4 Aug 2012 01:49:03 +0000 (21:49 -0400)
commit29512bd8ec16f47db568694ec172075412ca115d
tree4bdac821f56ed05dd7fa3d0fd9096e07ace0c285
parent7c1db891061dba5cdc29fb8cfe0c88e0a4a408dd
[client] -R http recv() read until close (Jonathan Schulz)

Applied patch from Jonathan Schulz to ensure that the fwknop client reads all
data from a remote webserver when resolving the client IP address in -R mode.
Jonathan indicated that some webservers would transfer HTTP headers and data
separately, and a single recv() would therefore fail to get the necessary IP
information.
client/http_resolve_host.c