aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2016-09-29 09:09:14 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2016-09-29 18:09:54 +0000
commit985d3d307c3669094f77b52caffef60157b7d648 (patch)
treef270a8870a079bad42f4f83b4003c1094ef56b95 /src/database/sql
parentd58219e50ba1fd9bf577be7332bdcabe0ef8b7d5 (diff)
downloadgo-985d3d307c3669094f77b52caffef60157b7d648.tar.xz
net: make proto and port lookups fall back to baked-in maps on Windows
In https://golang.org/cl/28951 I cleaned up the lookupProtocol and lookupPort paths to be consistently case-insensitive across operating systems and to share the same baked-in maps of port & proto values that can be relied on to exist on any platform. I missed the fallback to the baked-in maps on Windows, though, which broke Windows XP. This should fix it. Fixes #17175 Change-Id: Iecd434fb684304137ee27f5521cfaa8c351a1bde Reviewed-on: https://go-review.googlesource.com/29968 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions