- 31 Mar, 2013 5 commits
-
-
Mikio Hara authored
Closes the API documentation gap between platforms. R=golang-dev, r CC=golang-dev https://golang.org/cl/8063044
-
Mikio Hara authored
Closes the API documentation gap between platforms. Also makes the code textual representation same between platforms. R=golang-dev, r CC=golang-dev https://golang.org/cl/8148043
-
Mikio Hara authored
Closes the API documentation gap between platforms. Also makes the code textual representation same between platforms. R=golang-dev, r CC=golang-dev https://golang.org/cl/8147043
-
Mikio Hara authored
Closes the API documentation gap between platforms. R=golang-dev, r CC=golang-dev https://golang.org/cl/8143044
-
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
-
- 30 Mar, 2013 13 commits
-
-
Albert Strasheim authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8201043
-
Brad Fitzpatrick authored
Whoops. I'm surprised it even worked before. (Need two pipes, not one.) Also, remove the whole pipe registration business, since it wasn't even required in the previous version. (I'd later fixed it at the end of send100Response, but forgot to delete it) R=golang-dev, r CC=golang-dev https://golang.org/cl/8191044
-
Shenghou Ma authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/8198043
-
Brad Fitzpatrick authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/8187045
-
Dominik Honnef authored
Some packages, like popwin.el, change display behaviour based on the buffer's mode, so we should enable compilation-mode before displaying the buffer. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8155043
-
David du Colombier authored
src/cmd/gc/closure.c:133 param declared and not used: nowrap src/cmd/gc/const.c:1139 set and not used: t1 src/cmd/ld/data.c:652 format mismatch #llx INT, arg 7 src/cmd/ld/data.c:652 format mismatch #llx INT, arg 8 src/cmd/ld/data.c:1230 set and not used: datsize R=dave, golang-dev, lucio.dere, remyoudompheng, bradfitz CC=golang-dev https://golang.org/cl/8182043
-
David du Colombier authored
src/cmd/6g/peep.c:471 set and not used: r src/cmd/6g/peep.c:560 overspecified class: regconsttyp GLOBL STATIC src/cmd/6g/peep.c:761 more arguments than format IND STRUCT Prog src/cmd/6g/reg.c:185 set and not used: r1 src/cmd/6g/reg.c:786 format mismatch d VLONG, arg 3 src/cmd/6g/reg.c:1064 format mismatch d VLONG, arg 5 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8197044
-
Albert Strasheim authored
R=golang-dev, bradfitz, minux.ma CC=golang-dev https://golang.org/cl/8193043
-
David du Colombier authored
Add missing getgoextlinkenabled(void) declaration in Plan 9 libc.h. This function was added as part of CL #8183043. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/8191043
-
Andrey Mirtchovski authored
R=golang-dev, minux CC=golang-dev https://golang.org/cl/8174045
-
Mikio Hara authored
This CL ensures we use the correct socket options for passive and active open sockets. For the passive open sockets created by Listen functions, additional SO_REUSEADDR, SO_REUSEPORT options are required for the quick service restart and/or multicasting. For the active open sockets created by Dial functions, no additional options are required. R=golang-dev, dave, bradfitz, rsc CC=golang-dev https://golang.org/cl/7795050
-
Dave Cheney authored
R=dsymonds, mikioh.mikioh CC=golang-dev https://golang.org/cl/8094047
-
Brad Fitzpatrick authored
"There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." The HTTP server code already strips Expect: 100-continue on requests, so httputil.ReverseProxy should be unaffected, but some servers send unsolicited HTTP/1.1 100 Continue responses, so we need to skip over them if they're seen to avoid getting off-by-one on Transport requests/responses. This does change the behavior of people who were using Client or Transport directly and explicitly setting "Expect: 100-continue" themselves, but it didn't work before anyway. Now instead of the user code seeing a 100 response and then things blowing up, now it basically works, except the Transport will still blast away the full request body immediately. That's the part that needs to be finished to close this issue. This is the safe quick fix. Update #3665 R=golang-dev, dsymonds, dave, jgrahamc CC=golang-dev https://golang.org/cl/8166045
-
- 29 Mar, 2013 17 commits
-
-
Ian Lance Taylor authored
Change build system to set GO_EXTLINK_ENABLED=0 by default for OS X 10.6, since the system linker has a bug and can not handle the object files generated by 6l. Fixes #5130. R=golang-dev, r CC=golang-dev https://golang.org/cl/8183043
-
Robert Obryk authored
This benchmark verifies that CL #8173043 reduces time spent sliding the Buffer's contents. Results without and with CL #8173043 applied: benchmark old ns/op new ns/op delta BenchmarkBufferFullSmallReads 755336 175054 -76.82% R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8174043
-
Brad Fitzpatrick authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/8176043
-
Rob Pike authored
Do a little reformatting too. Fixes #5152. R=golang-dev, bradfitz, gri CC=golang-dev https://golang.org/cl/8157044
-
Brad Fitzpatrick authored
For the future. Update #5147 R=khr, r CC=golang-dev https://golang.org/cl/8165044
-
Brad Fitzpatrick authored
benchmark old ns/op new ns/op delta BenchmarkBufferNotEmptyWriteRead 848416 819983 -3.35% Update #5154 R=golang-dev, gri, robryk CC=golang-dev https://golang.org/cl/8173043
-
Brad Fitzpatrick authored
Also added a new benchmark from the same test: benchmark old ns/op new ns/op delta BenchmarkBufferNotEmptyWriteRead 2643698 709189 -73.17% Fixes #5154 R=golang-dev, r, gri CC=golang-dev https://golang.org/cl/8164043
-
Keith Randall authored
Fixes #5098 R=minux.ma, bradfitz, khr, rsc CC=golang-dev https://golang.org/cl/7746045
-
Elias Naur authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7548045
-
Brad Fitzpatrick authored
These only show up if GOTRACEBACK=2 Update #5005 R=golang-dev, fullung CC=golang-dev https://golang.org/cl/8156044
-
Keith Randall authored
Used by CL 8056043 for fast string equals. R=bradfitz CC=golang-dev https://golang.org/cl/8102044
-
Mikio Hara authored
Update #4234. Update #4501. R=golang-dev, dave, bradfitz CC=golang-dev https://golang.org/cl/8129043
-
Mikio Hara authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/8073044
-
Mikio Hara authored
Adds the missing wildcard port assignment description to ListenUDP. Also updates the wildcard port description on ListenTCP. R=golang-dev, dave, r CC=golang-dev https://golang.org/cl/8063043
-
Mikio Hara authored
Closes the API documentation gap between platforms. R=golang-dev, r CC=golang-dev https://golang.org/cl/8086043
-
Mikio Hara authored
Also removes redundant tests that run Go 1.0 non-IPv6 support Windows code on IPv6 enabled Windows kernels. R=alex.brainman, golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/7812052
-
Brad Fitzpatrick authored
Fixes #5005 R=golang-dev, r CC=golang-dev https://golang.org/cl/8127043
-
- 28 Mar, 2013 5 commits
-
-
Robert Griesemer authored
With the faster strings package, the difference between the specialized code and strings.Split is in the noise: benchmark old ns/op new ns/op delta BenchmarkPrint 16724291 16686729 -0.22% (Measured on a Mac Pro, 2.8GHz Quad-core Intel Xeon, 4GB 800 MHz DDR2, Mac OS X 10.8.3) R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8100044
-
Ian Lance Taylor authored
Fixes #5150. R=golang-dev, franciscossouza CC=golang-dev https://golang.org/cl/8120043
-
Brad Fitzpatrick authored
Saves both the textproto.Reader allocation, and its internal scratch buffer growing. benchmark old ns/op new ns/op delta BenchmarkServerFakeConnWithKeepAliveLite 10324 10149 -1.70% benchmark old allocs new allocs delta BenchmarkServerFakeConnWithKeepAliveLite 19 17 -10.53% benchmark old bytes new bytes delta BenchmarkServerFakeConnWithKeepAliveLite 1559 1492 -4.30% R=golang-dev, r, gri CC=golang-dev https://golang.org/cl/8094046
-
Robert Griesemer authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/8122043
-
Carl Shapiro authored
Updates #5134 R=golang-dev, bradfitz, cshapiro, daniel.morsing, ality, iant CC=golang-dev https://golang.org/cl/8022044
-