/[base]
ViewVC logotype

Revision 315455


Jump to revision: Previous Next
Author: des
Date: Fri Mar 17 14:18:52 2017 UTC (7 years, 3 months ago)
Changed paths: 3
Log Message:
r308996 broke IP literals by assuming that a colon could only occur as
a separator between host and port, and using strchr() to search for it.
Rewrite fetch_resolve() so it handles bracketed literals correctly, and
remove similar code elsewhere to avoid passing unbracketed literals to
fetch_resolve().  Remove #ifdef INET6 so we still parse IP literals
correctly even if we do not have the ability to connect to them.

While there, fix an off-by-one error which caused HTTP 400 errors to be
misinterpreted as redirects.

PR:		217723
MFC after:	1 week
Reported by:	bapt, bz, cem, ngie


Changed paths

Path Details
Directoryhead/lib/libfetch/common.c modified , text changed
Directoryhead/lib/libfetch/fetch.c modified , text changed
Directoryhead/lib/libfetch/http.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27