-
Brad Fitzpatrick authored
I fixed this data race regression in two ways: in net/http itself, and also partially reverting the change from https://golang.org/cl/77580046 . Previously a Read from a strings.Reader or bytes.Reader returning 0 bytes would not be a memory write. After 77580046 it was. This reverts that back in case others depended on that. Also adds tests. Fixes #7856 LGTM=ruiu, iant R=iant, ruiu CC=golang-codereviews, gri https://golang.org/cl/94740044
13ea1fd2
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
example_test.go | ||
export_test.go | ||
reader.go | ||
reader_test.go | ||
replace.go | ||
replace_test.go | ||
search.go | ||
search_test.go | ||
strings.go | ||
strings.s | ||
strings_decl.go | ||
strings_test.go |