- 21 Jul, 2010 13 commits
-
-
Andrey Mirtchovski authored
R=adg, rsc CC=golang-dev https://golang.org/cl/1886042
-
Ian Lance Taylor authored
Goroutine 1: Call Read on read half of pipe, entering pipeHalf.rw. Check ioclosed field, which is false. Send data to p.c1 Wait for response on p.c2. Goroutine 2: Call Close on read half of pipe, entering pipeHalf.close. Set closed field. Send error to p.cclose. Set ioclosed field. Send 1 to p.done. Return and exit goroutine. Goroutine 3: This is the goroutine running pipe.run, and for some reason it has started late. Read error from p.rclose; set rerr and continue. Read 1 from p.done; increment ndone and continue. Read data from r1 (sent by goroutine 1); set r1 = nil and continue Now goroutine 1 is waiting for a response, and goroutine 3 is waiting for something else to happen. This patch fixes the race by having the runner check whether the read half is closed when it is asked for read data, and similarly for the corresponding race on the write half. This patch also fixes the similar race in which ndone gets bumped up to 2 while there is a reader or writer waiting. There is still another race to fix. It is possible for the read half and the write half to both be closed, and for the runner goroutine to exit, all before the runner goroutine sees the request from a reader. E.g., in the above, have goroutine 2 also close the write half, and have goroutine 3 see both done messages before it sees the request from goroutine 1. R=rsc CC=golang-dev https://golang.org/cl/1862045
-
Peter Mundy authored
For the Windows version of syscall Errstr, set the FORMAT_MESSAGE_IGNORE_INSERTS value of the FormatMessage Flags argument when there are no values to insert. R=rsc, brainman CC=golang-dev https://golang.org/cl/1868043
-
Adam Langley authored
SNI (Server Name Indication) is a way for a TLS client to indicate to the server which name it knows the server by. This allows the server to have several names and return the correct certificate for each (virtual hosting). PeerCertificates returns the list of certificates presented by server. R=r CC=golang-dev https://golang.org/cl/1741053
-
Adam Langley authored
OCSP is the preferred X.509 revocation mechanism. X.509 certificates can contain a URL from which can be fetched a signed response saying "this certificate is valid until $x" (where $x is usually 7 days in the future). These are called OCSP responses and they can also be included in the TLS handshake itself ("OCSP stapling") R=rsc, r CC=golang-dev https://golang.org/cl/1875043
-
Kai Backman authored
R=rsc CC=golang-dev https://golang.org/cl/1888041
-
Kai Backman authored
R=rsc CC=golang-dev https://golang.org/cl/1866044
-
Kai Backman authored
R=rsc CC=golang-dev https://golang.org/cl/1697053
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/1870042
-
Alex Brainman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/1848045
-
Russ Cox authored
Fixes #935. Fixes #936. Fixes #941. R=ken2 CC=golang-dev https://golang.org/cl/1867042
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/1872042
-
Rob Pike authored
Fixes #934. R=rsc CC=golang-dev https://golang.org/cl/1869043
-
- 20 Jul, 2010 5 commits
-
-
Robert Griesemer authored
- don't lose empty lines after labels - canonicalize number of line breaks - gofmt src misc, fixes a couple of irregular breaks R=rsc CC=golang-dev https://golang.org/cl/1843044
-
Kai Backman authored
R=rsc CC=golang-dev https://golang.org/cl/1742048
-
Kai Backman authored
but with less precision than hardware counterparts. fixed a number of tests to output BUG when they failed. changed the runner to distinghuish between output and output containing ^BUG R=rsc CC=dho, golang-dev https://golang.org/cl/1778041
-
Vinu Rajashekhar authored
R=iant, r CC=gofrontend-dev, golang-dev, joel.sherrill https://golang.org/cl/1846047
-
Rob Pike authored
strings.ToTitle converts all characters to title case, which for consistency with the other To* functions it should continue to do. This CL adds string.Title, which does a proper title-casing of the string. A similar function for package bytes will follow once this is settled. Fixes #933. R=rsc CC=golang-dev https://golang.org/cl/1869042
-
- 19 Jul, 2010 7 commits
-
-
Ken Thompson authored
from word-oriented to bit-oriented. this will increase fp literal precision by up to a full word. R=rsc CC=golang-dev https://golang.org/cl/1859044
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/1857043
-
Adam Langley authored
Add support for ASN.1 ENUMERATED types. Add a magic type, asn1.Flag, for the cases where the presence of an empty explicit tag is semantically meaningful. Add support for GeneralizedTime. R=rsc CC=golang-dev https://golang.org/cl/1684055
-
Adam Langley authored
R=r CC=golang-dev https://golang.org/cl/1830041
-
Kai Backman authored
R=dho CC=golang-dev https://golang.org/cl/1777041
-
James Whitehead authored
R=PeterGo, adg CC=golang-dev, jnw https://golang.org/cl/1699046
-
James Whitehead authored
Fixes #923. R=adg, rsc CC=golang-dev https://golang.org/cl/1846043
-
- 17 Jul, 2010 5 commits
-
-
Russ Cox authored
Fixes #465. R=iant CC=golang-dev https://golang.org/cl/1665051
-
Peter Mundy authored
(on Windows, syscall depends on utf16) R=rsc CC=golang-dev https://golang.org/cl/1664053
-
Ken Thompson authored
out of floating constant multiply 2. added rounding code to "const fix=float" to allow up to 29 (Mpscale) bits of slop and still get an exact fixed constant. fixes #931 R=rsc CC=golang-dev https://golang.org/cl/1692055
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/1872041
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/1841044
-
- 16 Jul, 2010 7 commits
-
-
Russ Cox authored
Fixes #925. Fixes #926. Fixes #927. Fixes #928. Fixes #929. Fixes #930. R=r CC=golang-dev https://golang.org/cl/1752044
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/1862044
-
Ken Thompson authored
//line number file to //line file:number R=rsc CC=golang-dev https://golang.org/cl/1868041
-
Russ Cox authored
R=gri CC=golang-dev https://golang.org/cl/1752043
-
Ian Lance Taylor authored
R=rsc CC=golang-dev https://golang.org/cl/1686054
-
Ian Lance Taylor authored
R=rsc CC=golang-dev https://golang.org/cl/1842042
-
Ken Thompson authored
//line 10 units.y which is equiv to c #line 10 units.y the purpose is to generate diagnostics that correctly point to preprocessed source. R=rsc CC=golang-dev https://golang.org/cl/1863042
-
- 15 Jul, 2010 3 commits
-
-
Russ Cox authored
R=gri CC=golang-dev https://golang.org/cl/1678054
-
Russ Cox authored
Fixes #800. R=ken2 CC=golang-dev https://golang.org/cl/1855043
-
Russ Cox authored
Fixes #846. R=ken2 CC=golang-dev https://golang.org/cl/1862042
-