1
0
mirror of https://github.com/golang/go synced 2024-11-05 12:06:15 -07:00
go/src
Brad Fitzpatrick 985d3d307c 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>
2016-09-29 18:09:54 +00:00
..
archive archive/tar: reapply Header.Size to regFileReader after merging 2016-09-02 21:58:53 +00:00
bufio
builtin builtin: clarify that make(map[K]V, n) allocates space for n elements 2016-09-10 12:57:37 +00:00
bytes bytes: cut 10 seconds off the race builder's benchmark test 2016-09-14 18:22:16 +00:00
cmd cmd/compile: delete unused IntLiteral function 2016-09-29 17:25:28 +00:00
compress compress/gzip: add examples 2016-09-22 06:41:11 +00:00
container container/list: silence vet warnings 2016-08-16 14:35:37 +00:00
context context: add examples 2016-09-09 22:50:41 +00:00
crypto crypto/tls: fix deadlock when racing to complete handshake. 2016-09-22 18:36:58 +00:00
database/sql database/sql: add context methods 2016-09-27 19:41:09 +00:00
debug all: use testing.GoToolPath instead of "go" 2016-08-30 22:49:11 +00:00
encoding encoding/binary: add bool support 2016-09-28 16:20:41 +00:00
errors
expvar expvar: export http.Handler 2016-09-25 23:34:28 +00:00
flag flag: use strconv instead of fmt in values' String funcs 2016-09-10 10:29:44 +00:00
fmt doc: avoid mentioning non-existence of u flag to fmt.Printf. 2016-09-09 00:04:21 +00:00
go net/http: add more IDNA2008 tests and fix some omissions 2016-09-27 22:06:32 +00:00
hash hash/crc32: cleanup code and improve tests 2016-08-31 15:17:57 +00:00
html
image image/png: improve compression by skipping filter for paletted images 2016-09-27 14:01:20 +00:00
index/suffixarray index/suffixarray: add Lookup example 2016-08-21 01:10:22 +00:00
internal os: use GetConsoleCP() instead of GetACP() 2016-09-21 00:38:51 +00:00
io io/ioutil: return better error when TempDir called with non-extant dir 2016-09-08 15:08:35 +00:00
log log/syslog: document that Dial uses net.Dial parameters, add example 2016-08-19 01:01:47 +00:00
math math: make sqrt smaller on AMD64 2016-09-29 15:56:52 +00:00
mime mime/quotedprintable: accept trailing soft line-break at the end of message 2016-09-11 01:51:07 +00:00
net net: make proto and port lookups fall back to baked-in maps on Windows 2016-09-29 18:09:54 +00:00
os os: make IsExist report true on ERROR_DIR_NOT_EMPTY on Windows 2016-09-25 02:38:11 +00:00
path path/filepath: handle "C:." correctly in EvalSymlinks on Windows 2016-09-05 00:53:32 +00:00
plugin plugin: darwin support 2016-09-23 02:16:42 +00:00
reflect reflect, runtime: optimize Value.Call on s390x and add benchmark 2016-09-27 16:00:19 +00:00
regexp regexp: don't run slow benchmarks on race builders 2016-09-14 18:17:06 +00:00
runtime runtime, runtime/cgo: revert CL 18814; don't drop signal stack in new thread on dragonfly 2016-09-28 14:45:06 +00:00
sort sort: fix search descending order example 2016-09-17 00:14:19 +00:00
strconv strconv: fix function name in errors for Atoi 2016-09-04 00:17:58 +00:00
strings strings: use AVX2 for Index if available 2016-09-07 10:43:13 +00:00
sync cmd/compile: intrinsify sync/atomic for amd64 2016-08-30 15:23:23 +00:00
syscall os: make IsExist report true on ERROR_DIR_NOT_EMPTY on Windows 2016-09-25 02:38:11 +00:00
testing testing: add Name method to *T and *B 2016-09-28 10:15:28 +00:00
text text/template: improve lexer performance in finding left delimiters. 2016-09-13 12:51:13 +00:00
time time: update test for tzdata-2016g 2016-09-29 16:26:28 +00:00
unicode unicode/utf8: reduce bounds checks in EncodeRune 2016-09-03 20:05:36 +00:00
unsafe unsafe: document use of &^ to round/align pointers 2016-08-18 16:45:17 +00:00
vendor/golang_org/x vendor: add golang.org/x/text/unicode/norm + x/test/width for IDNA support 2016-09-27 22:06:23 +00:00
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: use go list to get pkg dir 2016-08-29 15:24:39 +00:00
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc