]> Cypherpunks repositories - gostls13.git/commit
net/http: permit incoming CONNECT requests without Host headers
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 23 May 2017 23:42:47 +0000 (23:42 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 24 May 2017 04:15:25 +0000 (04:15 +0000)
commit88a235042df2d8344bb4f49a8bfc1642b2cbf37b
tree661745e14ca7ee022ef84add53cf89d377f29321
parenta5083bbf0784a4664e49207b6a3677986ca69b49
net/http: permit incoming CONNECT requests without Host headers

Apparently they exist in the wild. See:
https://github.com/golang/go/issues/18215#issuecomment-301182496
(Facebook / iOS)

Fixes #18215

Change-Id: I9ddad3896b5d784cb3f5b3ee9c6819081a4a2702
Reviewed-on: https://go-review.googlesource.com/44004
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matt Layher <mdlayher@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/serve_test.go
src/net/http/server.go