http2: fix Server race with ResponseWriter.curWrite re-use
Kill off that field and simplify the code. Also update some docs. Thanks to Totoro W for the diagnosis in https://golang.org/cl/16465 Sadly this race was never detected due to golang/go#13097 Fixes golang/go#13089 Change-Id: Ia5400ea6733c7824e872affc3c6720bd436911fe Reviewed-on: https://go-review.googlesource.com/16490Reviewed-by: Blake Mizerany <blake.mizerany@gmail.com>
Showing
Please
register
or
sign in
to comment