FAQ
Change 0e888189a5e2 broke the netbsd-386-bsiegert build:
http://build.golang.org/log/a9df5db0e6118c5af64b421d0e98e926c86a0876

net/http: fix text for ErrBodyReadAfterClose

Can happen in both request and response.
Also use it in one place that wasn't.

Fixes issue 3997.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/6903057

http://code.google.com/p/go/source/detail?r=0e888189a5e2

$ tail -200 < log
crypto/sha512
database/sql/driver
database/sql
debug/gosym
encoding/ascii85
encoding/base32
encoding/csv
exp/cookiejar
exp/ebnf
exp/ebnflint
exp/types
exp/gotype
exp/html/atom
exp/html
exp/norm
exp/locale/collate
hash/fnv
exp/locale/collate/build
exp/locale/collate/tools/colcmp
exp/utf8string
hash/crc64
image/color
image
image/draw
image/gif
image/jpeg
image/png
log/syslog
math/cmplx
net/http/cgi
net/http/fcgi
net/http/httptest
net/http/httputil
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
old/netchan
os/signal
os/user
runtime/debug
testing
testing/iotest
testing/quick

# Testing packages.
ok cmd/api 0.236s
? cmd/cgo [no test files]
ok cmd/fix 26.971s
ok cmd/go 0.242s
? cmd/godoc [no test files]
ok cmd/gofmt 0.589s
? cmd/vet [no test files]
? cmd/yacc [no test files]
ok archive/tar 1.726s
ok archive/zip 0.697s
ok bufio 0.356s
ok bytes 1.571s
ok compress/bzip2 2.827s
ok compress/flate 7.757s
ok compress/gzip 0.231s
ok compress/lzw 2.221s
ok compress/zlib 41.843s
ok container/heap 0.118s
ok container/list 0.117s
ok container/ring 0.236s
? crypto [no test files]
ok crypto/aes 0.361s
ok crypto/cipher 0.121s
ok crypto/des 0.479s
ok crypto/dsa 0.578s
ok crypto/ecdsa 1.656s
ok crypto/elliptic 0.353s
ok crypto/hmac 0.107s
ok crypto/md5 0.119s
ok crypto/rand 0.347s
ok crypto/rc4 0.118s
ok crypto/rsa 1.675s
ok crypto/sha1 0.106s
ok crypto/sha256 0.120s
ok crypto/sha512 0.231s
ok crypto/subtle 0.114s
ok crypto/tls 4.733s
ok crypto/x509 18.399s
? crypto/x509/pkix [no test files]
ok database/sql 0.223s
ok database/sql/driver 0.118s
ok debug/dwarf 0.123s
ok debug/elf 0.126s
ok debug/gosym 0.119s
ok debug/macho 0.354s
ok debug/pe 0.953s
ok encoding/ascii85 0.119s
ok encoding/asn1 0.121s
ok encoding/base32 0.120s
ok encoding/base64 0.108s
ok encoding/binary 0.119s
ok encoding/csv 0.107s
ok encoding/gob 0.362s
ok encoding/hex 0.011s
ok encoding/json 0.668s
ok encoding/pem 0.109s
ok encoding/xml 0.020s
ok errors 0.010s
ok exp/cookiejar 0.017s
ok exp/ebnf 0.009s
ok exp/ebnflint 0.015s
ok exp/gotype 2.877s
ok exp/html 0.146s
ok exp/html/atom 0.010s
ok exp/locale/collate 0.244s
ok exp/locale/collate/build 0.470s
? exp/locale/collate/tools/colcmp [no test files]
ok exp/norm 11.057s
ok exp/types 4.502s
ok exp/utf8string 0.120s
ok expvar 0.118s
ok flag 0.118s
ok fmt 0.586s
ok go/ast 0.113s
ok go/build 1.767s
ok go/doc 0.590s
ok go/format 0.235s
ok go/parser 0.711s
ok go/printer 7.820s
ok go/scanner 0.236s
ok go/token 1.283s
? hash [no test files]
ok hash/adler32 0.240s
ok hash/crc32 0.118s
ok hash/crc64 0.009s
ok hash/fnv 0.118s
ok html 0.118s
ok html/template 0.586s
ok image 1.524s
ok image/color 0.223s
ok image/draw 0.350s
? image/gif [no test files]
ok image/jpeg 1.671s
ok image/png 0.798s
ok index/suffixarray 0.125s
ok io 0.359s
ok io/ioutil 0.107s
ok log 0.120s
--- FAIL: TestWrite (0.49 seconds)
syslog_test.go:154: s.Info() = '""', didn't match '"<11>1 %s %s
syslog_test[%d]: write test 2\n"'
FAIL
FAIL log/syslog 0.717s
ok math 0.122s
ok math/big 3.647s
ok math/cmplx 0.011s
ok math/rand 0.056s
ok mime 0.013s
ok mime/multipart 0.191s
ok net 1.849s
ok net/http 49.330s
ok net/http/cgi 1.129s
ok net/http/fcgi 0.237s
ok net/http/httptest 0.128s
ok net/http/httputil 0.703s
? net/http/pprof [no test files]
ok net/mail 0.110s
ok net/rpc 1.043s
ok net/rpc/jsonrpc 0.131s
ok net/smtp 0.222s
ok net/textproto 0.111s
ok net/url 0.107s
ok old/netchan 0.350s
ok os 0.273s
ok os/exec 8.615s
ok os/signal 0.010s
ok os/user 0.120s
ok path 0.108s
ok path/filepath 2.720s
ok reflect 0.471s
ok regexp 0.951s
ok regexp/syntax 10.517s
ok runtime 35.870s
? runtime/cgo [no test files]
ok runtime/debug 0.118s
ok runtime/pprof 4.186s
ok sort 0.952s
ok strconv 6.825s
ok strings 0.130s
ok sync 0.053s
ok sync/atomic 0.022s
? syscall [no test files]
? testing [no test files]
? testing/iotest [no test files]
ok testing/quick 0.034s
ok text/scanner 0.012s
ok text/tabwriter 0.011s
ok text/template 0.027s
ok text/template/parse 0.018s
ok time 59.218s
ok unicode 0.107s
ok unicode/utf16 0.118s
ok unicode/utf8 2.954s
? unsafe [no test files]

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedDec 10, '12 at 7:38a
activeDec 10, '12 at 7:38a
posts1
users1
websitegolang.org

1 user in discussion

Builder: 1 post

People

Translate

site design / logo © 2022 Grokbase