aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/http/server.go
diff options
context:
space:
mode:
authorAnthony Martin <ality@pbrane.org>2011-10-14 17:09:38 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2011-10-14 17:09:38 -0700
commitb5077f82fade43dcfcc40648ffd65dc98a1515df (patch)
treee99676cd6ba1d161bf00f3dc532d3bd306bcb71f /src/pkg/http/server.go
parentc5b3a4fb074e7a476a2841ba7ca5161636b7d9e9 (diff)
downloadgo-b5077f82fade43dcfcc40648ffd65dc98a1515df.tar.xz
http: avoid panic caused by nil URL
The current code will panic if an invalid request (one with a nil URL) is passed to the doFollowingRedirects function. Also, remove a redundant nil Header check. R=bradfitz CC=golang-dev https://golang.org/cl/5270046
Diffstat (limited to 'src/pkg/http/server.go')
0 files changed, 0 insertions, 0 deletions