-
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 |
---|---|---|
.. | ||
buffer.go | ||
buffer_test.go | ||
bytes.go | ||
bytes.s | ||
bytes_decl.go | ||
bytes_test.go | ||
compare_test.go | ||
equal_test.go | ||
example_test.go | ||
export_test.go | ||
reader.go | ||
reader_test.go |