Change information
Commit message:
internal/http3: fix Write in Server Handler returning the wrong value
When changing the approach used in go.dev/cl/746760 (i.e. adjusting
slices, rather than keeping track of active part of the slices in
Write), the return value was unfortunately not updated properly.
This CL fixes the problem and modifies the test to also verify that
Write returns the correct value.
For golang/go#70914
Change-Id: Ic7dda43d47a85c74c03cf02208a0cd461b58dcf2
Files:
- M internal/http3/server.go
- M internal/http3/server_test.go
Change size: S
Delta: 2 files changed, 11 insertions(+), 4 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Damien Neil, +1 by Nicholas Husin
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI