go/src/pkg
Russ Cox 902f8d9ca0 net/http/httptest: fix deadlock in TestIssue7264
I am seeing deadlocks waiting on <-inHandler.
It seems to me that there is no guarantee that the
handler actually runs, if the client does

        write header
        close connection

fast enough. The server might see the EOF on the
connection before it manages to invoke the handler.

This change fixes the deadlock, but it may make
the test not actually test anything. Not sure.

LGTM=bradfitz
R=bradfitz, dvyukov
CC=golang-codereviews
https://golang.org/cl/140970043
2014-09-07 20:13:35 -04:00
..
archive archive/zip: add Writer.Flush 2014-08-31 21:32:13 -07:00
bufio bufio: fix rot13Reader bug in test 2014-07-29 17:56:28 -07:00
builtin
bytes strings, bytes: document behavior of Replace when old is empty 2014-08-25 14:42:27 -07:00
compress compress/flate: use go generate to create fixedhuff.go 2014-08-28 15:04:03 -07:00
container container/heap: update example code 2014-05-15 13:58:13 -07:00
crypto crypto/tls: print unexpected error in test 2014-09-07 09:07:19 -04:00
database/sql database/sql: Avoid re-preparing statements when all connections are busy 2014-09-02 09:08:41 -07:00
debug cmd/ld: diagnose Go calling C 2014-08-31 22:49:14 -04:00
encoding encoding/json: make ,string work when encoding pointer fields 2014-08-25 10:32:46 -07:00
errors
expvar all: spelling tweaks, A-G 2014-04-29 12:44:40 -04:00
flag flag: mention -h in docs 2014-08-08 08:57:18 +10:00
fmt fmt: print byte stringers correctly 2014-08-19 08:52:52 +10:00
go go/parser: fix "zero day" parse error 2014-09-04 15:18:32 -07:00
hash all: copy cmd/ld/textflag.h into pkg/GOOS_GOARCH 2014-08-12 17:04:45 -07:00
html text/template: add back pointer to Nodes for better error generation 2014-08-29 09:54:00 -07:00
image image/png: make the CompressionLevel constants negative, reserving 2014-09-01 10:02:52 +10:00
index/suffixarray index/suffixarray: reduce size of a benchmark 2014-06-24 20:37:28 -07:00
internal/syscall internal/syscall: add support for getrandom on arm 2014-08-18 11:19:05 -07:00
io io: document that Readers and Writers must not retain buffers 2014-08-25 21:38:39 -07:00
log src, misc: applied gofmt -s -w 2014-07-16 16:29:51 -07:00
math all: copy cmd/ld/textflag.h into pkg/GOOS_GOARCH 2014-08-12 17:04:45 -07:00
mime mime: style, perf, and test updates to case-insensitive lookups 2014-08-28 11:07:46 -07:00
net net/http/httptest: fix deadlock in TestIssue7264 2014-09-07 20:13:35 -04:00
os os: make SameFile handle paths like c:a.txt properly 2014-08-19 14:59:56 +10:00
path path, path/filepath: remove dead code 2014-08-22 22:21:41 +10:00
reflect runtime: fix panic/wrapper/recover math 2014-09-06 13:19:08 -04:00
regexp regexp: fix imports in the middle of the license header 2014-08-25 16:42:15 -07:00
runtime runtime: save g to TLS more aggressively 2014-09-07 19:47:40 -04:00
sort std lib: fix various typos in comments 2014-05-02 13:17:55 -07:00
strconv strconv: use go generate to create isprint.go 2014-08-28 14:55:02 -07:00
strings strings: use Rabin-Karp algorithm for LastIndex. 2014-09-01 17:47:57 +10:00
sync runtime/race: better handling of atomic operations 2014-09-01 08:04:33 -04:00
syscall runtime, syscall: rewrite syscall_solaris.goc in Go 2014-09-06 19:35:46 +02:00
testing testing: add Coverage function 2014-07-22 22:56:35 -04:00
text text/template: 0xef is an integer, not a floating-point value. 2014-09-03 15:57:03 -07:00
time runtime: convert netpoll to Go 2014-09-04 10:04:04 +04:00
unicode unicode: use go generate instead of make to create tables.go 2014-08-26 14:43:03 -07:00
unsafe