summaryrefslogtreecommitdiff
path: root/src/or/statefile.c
diff options
context:
space:
mode:
authorDavid Fifield <david@bamsoftware.com>2012-10-06 20:40:18 -0700
committerNick Mathewson <nickm@torproject.org>2012-10-10 22:25:29 -0400
commit41328c700992433fe3900fcbb78d62340ba197f2 (patch)
tree64eeb8904dbcd7adb58c9b8f73b2ba98079e9c05 /src/or/statefile.c
parent34c6ee7e9b62ffb4ef62c7195f6e69db084172df (diff)
downloadtor-41328c700992433fe3900fcbb78d62340ba197f2.tar.gz
tor-41328c700992433fe3900fcbb78d62340ba197f2.zip
Decorate addresses given to a HTTP CONNECT proxy.
This affects the Request-URI and the value of the Host header. RFC 2616 doesn't directly address the formatting of IPv6 addresses, but it delegates some productions to RFC 2396 "Uniform Resource Identifiers (URI): Generic Syntax," which is obsoleted by RFC 3986, which requires square brackets for IPv6 addresses in both places. I tested this with HTTPSProxy 127.0.0.1:8000 Bridge <IPv6 bridge> UseBridges 1 and an Ncat HTTP proxy: ncat --proxy-type http -l 8000 -vvv https://tools.ietf.org/html/rfc2616#section-3.2.1 https://tools.ietf.org/html/rfc2616#section-5.1.2 https://tools.ietf.org/html/rfc2616#section-14.23 https://tools.ietf.org/html/rfc3986#section-3.2.2
Diffstat (limited to 'src/or/statefile.c')
0 files changed, 0 insertions, 0 deletions