[mirror] Go supplementary network libraries
Перейти к файлу
Damien Neil efda1ce189 http2: return os.ErrDeadlineExceeded from timed-out response body writes
When a server handler writes to a response body after Server.WriteTimeout
has expired, return an error matching os.ErrDeadlineExceeded rather than
"http2: stream closed".

Tested by net/http CL 446255.

For golang/go#56478

Change-Id: I94494cc7e7f8f9a01a663de09fd5b73acc8ea4e4
Reviewed-on: https://go-review.googlesource.com/c/net/+/446257
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
2022-11-04 20:05:49 +00:00
bpf all: remove redundant type conversion 2022-09-09 16:43:09 +00:00
context all: remove redundant type conversion 2022-09-09 16:43:09 +00:00
dict all: fix a few function names on comments 2022-10-12 13:50:44 +00:00
dns/dnsmessage dns/dnsmessage: remove unnecessary []byte conversions 2022-09-19 22:52:25 +00:00
html html: properly handle exclamation marks in comments 2022-10-20 16:40:45 +00:00
http http/httpproxy: remove comment on https proxy precedance 2022-09-07 13:56:53 +00:00
http2 http2: return os.ErrDeadlineExceeded from timed-out response body writes 2022-11-04 20:05:49 +00:00
icmp all: gofmt 2022-04-12 02:06:05 +00:00
idna all: gofmt 2022-04-12 02:06:05 +00:00
internal internal/socket: add support for openbsd/ppc64 2022-10-19 02:42:06 +00:00
ipv4 all: add FreeBSD riscv64 support 2022-08-09 01:22:01 +00:00
ipv6 all: add FreeBSD riscv64 support 2022-08-09 01:22:01 +00:00
lif lif: import syscall rather than golang.org/x/sys/unix 2022-08-05 01:12:31 +00:00
nettest nettest: fix Unix socket test on macOS 2022-08-12 17:41:16 +00:00
netutil netutil: in TestLimitListenerSaturation, allow some connections to fail to dial 2022-01-21 21:01:41 +00:00
proxy proxy: fix TestDial failures on wasm/js 2019-06-28 18:53:45 +00:00
publicsuffix publicsuffix: change node table entry size to 40 bits 2022-10-04 15:45:28 +00:00
route all: add FreeBSD riscv64 support 2022-08-09 01:22:01 +00:00
trace all: use time.Since instead of time.Now().Sub 2022-10-02 02:25:38 +00:00
webdav webdav: ignore path and perm errors in PROPFIND 2022-10-14 08:14:12 +00:00
websocket all: gofmt 2022-04-12 02:06:05 +00:00
xsrftoken xsrftoken: add custom timeout support for valid func 2020-10-08 22:28:04 +00:00
.gitattributes net: add .gitattributes (fixes windows build) 2014-12-23 17:05:08 +11:00
.gitignore gitignore: remove obsolete reference to .hgignore in comment 2020-03-20 18:12:08 +00:00
CONTRIBUTING.md CONTRIBUTING.md: remove note about not accepting Pull Requests 2018-03-14 18:02:42 +00:00
LICENSE LICENSE: add 2012-03-17 15:20:00 +11:00
PATENTS go.net: add PATENTS file to the subrepo. 2012-04-16 11:24:46 +10:00
README.md README.md: add badge to pkg.go.dev 2020-12-07 22:46:15 +00:00
codereview.cfg net: add codereview.cfg 2015-03-18 17:04:12 +00:00
go.mod go.mod: update golang.org/x dependencies 2022-10-19 15:28:41 +00:00
go.sum go.mod: update golang.org/x dependencies 2022-10-19 15:28:41 +00:00

README.md

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.