aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/sched.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2017-03-17 14:18:52 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2017-03-17 14:18:52 +0000
commit08a49957b3f06926744987207d542efa2631394d (patch)
tree2b20a72252d0cf0e939f01dff9e9694a5fafe4c5 /sys/compat/linuxkpi/common/include/linux/sched.h
parentff17a6773e4785a8fb78c540de32a208c43162db (diff)
downloadsrc-08a49957b3f06926744987207d542efa2631394d.tar.gz
src-08a49957b3f06926744987207d542efa2631394d.zip
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
Notes
Notes: svn path=/head/; revision=315455
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions