diff options
| author | Anthony Martin <ality@pbrane.org> | 2011-10-14 17:09:38 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2011-10-14 17:09:38 -0700 |
| commit | b5077f82fade43dcfcc40648ffd65dc98a1515df (patch) | |
| tree | e99676cd6ba1d161bf00f3dc532d3bd306bcb71f /src/pkg/http/server.go | |
| parent | c5b3a4fb074e7a476a2841ba7ca5161636b7d9e9 (diff) | |
| download | go-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
