Commit a870f35
committed
http2: support Server.ReadTimeout
Return an error when reading from the request body in a server
handler after Server.ReadTimeout expires.
Tested by net/http CL 446255.
For golang/go#49837
Change-Id: Idcc3d92209f944bd7fead832525fd563b50bcebc
Reviewed-on: https://go-review.googlesource.com/c/net/+/446256
Reviewed-by: Brad Fitzpatrick <[email protected]>
Reviewed-by: Bryan Mills <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
Run-TryBot: Damien Neil <[email protected]>1 parent d7f77dc commit a870f35
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
| 625 | + | |
625 | 626 | | |
626 | 627 | | |
627 | 628 | | |
| |||
1579 | 1580 | | |
1580 | 1581 | | |
1581 | 1582 | | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
1582 | 1586 | | |
1583 | 1587 | | |
1584 | 1588 | | |
| |||
1842 | 1846 | | |
1843 | 1847 | | |
1844 | 1848 | | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
1845 | 1857 | | |
1846 | 1858 | | |
1847 | 1859 | | |
| |||
1953 | 1965 | | |
1954 | 1966 | | |
1955 | 1967 | | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
1956 | 1971 | | |
1957 | 1972 | | |
1958 | 1973 | | |
| |||
0 commit comments