Damien Neil 547e7edf38 http2: avoid referencing ResponseWrite.Write parameter after returning
When writing data frames, encode the frame on the serve goroutine
rather than in writeFrameAsync to avoid referencing stream data
(originating from a ResponseWriter.Write call) after the Write
has returned.

Fixes golang/go#58446

Change-Id: I866a7351c90ef122e506b333151f98a455a64953
Reviewed-on: https://go-review.googlesource.com/c/net/+/467355
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Damien Neil <dneil@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
2023-02-13 18:55:50 +00:00
2022-09-09 16:43:09 +00:00
2023-02-10 18:21:14 +00:00
2023-02-07 17:08:46 +00:00
2022-04-12 02:06:05 +00:00
2023-02-07 17:08:46 +00:00
2023-02-07 17:08:46 +00:00
2023-02-07 17:08:46 +00:00
2023-02-07 17:08:46 +00:00
2022-08-09 01:22:01 +00:00
2023-02-08 14:49:55 +00:00
2023-02-07 17:08:46 +00:00
2023-02-07 17:08:46 +00:00
2020-12-07 22:46:15 +00:00

Go Networking

Go Reference

This repository holds supplementary Go networking libraries.

Download/Install

The easiest way to install is to run go get -u golang.org/x/net. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with "x/net:" in the subject line, so it is easy to find.

Description
[mirror] Go supplementary network libraries
Readme BSD-3-Clause 13 MiB
Languages
Go 99.9%