- 18 Oct, 2011 17 commits
-
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5297043
-
Robert Griesemer authored
The implementation of splitFirst was broken; splitFirst("foo/") must be the same as splitFirst("foo"). As a result, ToAbsolute could be simplified, and as a side effect this fixes a long-standing bug. Thanks to Luca Greco <luca.greco@alcacoop.it> for doing the investigation. Fixes #1157. R=rsc CC=golang-dev https://golang.org/cl/5278050
-
Adam Langley authored
tls.Conn.Close() didn't close the underlying connection and tried to do a handshake in order to send the close notify alert. http didn't look for errors from the TLS handshake. Fixes #2281. R=bradfitz CC=golang-dev https://golang.org/cl/5283045
-
Adam Langley authored
This change splits terminal handling from exp/ssh, as suggested several times in the ssh code review. shell.go and shell_test.go are copies from exp/ssh with minimal changes, so don't need another full review. A future CL will remove that code from exp/ssh. R=bradfitz, r, dave, rsc CC=golang-dev https://golang.org/cl/5278049
-
Dave Cheney authored
common.go: * simplify findAgreedAlgorithms. * add channelExtendedData support. messages.go: * add clientExtendedData. server.go: * use simplified findAgreedAlgorithms. server_shell.go: * fix shadowed err return value. transport.go: * introduce separate cipher, mac and compression for each direction. * added filteredConn and packetWriter interfaces. * newTransport requires a source of randomness. R=golang-dev, agl, rsc CC=golang-dev https://golang.org/cl/5285044
-
Robert Griesemer authored
Fixes #2380. R=rsc, rogpeppe CC=golang-dev https://golang.org/cl/5313041
-
Russ Cox authored
Revert workaround in compiler and revert test for compiler workaround. Tested that the 386 build continues to fail if the gc change is made without the reflect change. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5312041
-
Russ Cox authored
R=golang-dev, r, adg, r, cw CC=golang-dev https://golang.org/cl/5266045
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5286043
-
Russ Cox authored
The old m[x] = 0, false syntax will be deleted in a month or so, once people have had time to change their code (there is a gofix in a separate CL). R=ken2 CC=golang-dev https://golang.org/cl/5265048
-
Joe Poirier authored
A first run at fully automating the process. This CL supersedes https://golang.org/cl/4634114/ which I seemed to have lost. R=golang-dev, alex.brainman, adg CC=golang-dev https://golang.org/cl/5273041
-
Mikkel Krautz authored
The Windows signtool.exe thinks our binaries are 'invalid Win32 programs' unless the PE linker version field is 3.0 or greater. This minor change makes it possible to successfully sign gc-built binaries on Windows. R=golang-dev, alex.brainman, rsc CC=golang-dev https://golang.org/cl/5268045
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5299041
-
David Symonds authored
This should fix the 386 builds. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5298042
-
David Symonds authored
There's a problem that is manifesting on the 386 builders, but this test bug is masking it. R=adg CC=golang-dev https://golang.org/cl/5295042
-
David Symonds authored
This fixes the 386 builds. R=golang-dev, adg, r CC=golang-dev https://golang.org/cl/5293043
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5298041
-
- 17 Oct, 2011 17 commits
-
-
Anthony Martin authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5273045
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5267049
-
Robert Griesemer authored
scanner.Position is the position of the most recently scanned token. Make sure it is invalid if there is no token scanned and update corresponding comment. This is particularly important when reporting errors. Fixes #2371. R=r CC=golang-dev https://golang.org/cl/5294041
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5285042
-
Russ Cox authored
Had been allowing it for use by fmt, but it is too hard to lock down. Fix other packages not to depend on it. R=r, r CC=golang-dev https://golang.org/cl/5266054
-
Nigel Tao authored
Previously, Next would call either nextText or nextTag, but nextTag could also call nextText. Both nextText and nextTag were responsible for detecting "</a" end tags and "<!" comments. This change simplifies the call chain and puts that responsibility in a single place. R=andybalholm CC=golang-dev https://golang.org/cl/5263050
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5286049
-
Anthony Martin authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5266046
-
Robert Griesemer authored
Fixes #2377. R=r, rsc CC=golang-dev https://golang.org/cl/5267048
-
Robert Griesemer authored
R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/5272045
-
Dmitriy Vyukov authored
Fixes #2376 R=golang-dev, lvd, rsc CC=golang-dev https://golang.org/cl/5278048
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5284050
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5268048
-
Paul Borman authored
Address the issue coalescing two records together when TrimLeadingSpace is set to true. The input a,b, c,d,e Would result with a singled a,b,c,d,e record. With TrailingComma set to true it should give two records. With TrailingComma set to false it should be an error. Fixes #2366. R=golang-dev, go.peter.90, r CC=golang-dev https://golang.org/cl/5284046
-
Andrew Gerrand authored
Fixes #2375. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5279049
-
Esko Luontola authored
Uses a generic solution of renaming the tested package, instead of using cryptic names for all other imports, variables and methods in the generated _testmain.go file. Fixes #2346. R=golang-dev, r, adg CC=golang-dev, rsc https://golang.org/cl/5254061
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5275050
-
- 16 Oct, 2011 2 commits
-
-
Nigel Tao authored
R=andybalholm CC=golang-dev https://golang.org/cl/5284042
-
Dmitriy Vyukov authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5284044
-
- 15 Oct, 2011 4 commits
-
-
Anthony Martin authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5286047
-
Alex Brainman authored
New DLL and Proc types to manage and call dll functions. These were used to simplify syscall tests in runtime package. They were also used to implement LazyDLL and LazyProc. LazyProc, like Proc, now have Call function, that just a wrapper for SyscallN. It is not as efficient as Syscall, but easier to use. NewLazyDLL now supports non-ascii filenames. LazyDLL and LazyProc now have Load and Find methods. These can be used during runtime to discover if some dll functions are not present. All dll functions now return errors that fit os.Error interface. They also contain Windows error number. Some of these changes are suggested by jp. R=golang-dev, jp, rsc CC=golang-dev https://golang.org/cl/5272042
-
Andrew Balholm authored
R=nigeltao CC=golang-dev https://golang.org/cl/5279044
-
Brad Fitzpatrick authored
Previously, if an http.Handler didn't fully consume a Request.Body before returning and the request and the response from the handler indicated no reason to close the connection, the server would read an unbounded amount of the request's unread body to advance past the request message to find the next request's header. That was a potential DoS. With this CL there's a threshold under which we read (currently 256KB) in order to keep the connection in keep-alive mode, but once we hit that, we instead switch into a "Connection: close" response and don't read the request body. Fixes #2093 (along with number of earlier CLs) R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5268043
-