• Brad Fitzpatrick's avatar
    net/http: Transport: be paranoid about any non-100 1xx response · b80ce203
    Brad Fitzpatrick authored
    Since we can't properly handle anything except 100, treat all
    1xx informational responses as sketchy and don't reuse the
    connection for future requests.
    
    The only other 1xx response code currently in use in the wild
    is WebSockets' use of "101 Switching Protocols", but our
    code.google.com/p/go.net/websockets doesn't use Client or
    Transport: it uses ReadResponse directly, so is unaffected by
    this CL.  (and its tests still pass)
    
    So this CL is entirely just future-proofing paranoia.
    Also: the Internet is weird.
    
    Update #2184
    Update #3665
    
    R=golang-dev, dsymonds
    CC=golang-dev
    https://golang.org/cl/8208043
    b80ce203
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...