Marten Seemann
03ab56330b
Merge pull request #2145 from lucas-clemente/http3-no-server-bidi-streams
...
don't allow a HTTP/3 server to create bidirectional streams
2019-09-27 09:42:52 +07:00
Marten Seemann
cc90dfadaf
fix leaking request cancelation go routine in case an error occurred
2019-09-25 07:21:28 +07:00
Marten Seemann
c41b2e3cdd
don't allow the server to create bidirectional streams
2019-09-17 15:57:55 +07:00
Marten Seemann
b6330461d6
rework stream / connection erros for the client
2019-09-14 10:26:56 +07:00
Marten Seemann
917cfc0d39
rework stream / connection erros for the server
2019-09-14 10:16:43 +07:00
Marten Seemann
7b88d8fdb5
Merge pull request #2112 from lucas-clemente/update-h3-errors
...
update HTTP/3 errors
2019-09-05 15:01:58 +07:00
Marten Seemann
01bbb2b1df
Merge pull request #2122 from lucas-clemente/serve-multiple-conns
...
implement serving multiple connections at the same time
2019-09-05 15:01:20 +07:00
Marten Seemann
717e6d5c96
implement serving multiple connections at the same time
2019-09-05 13:10:26 +07:00
Marten Seemann
93b1ff8e2c
don't fake-implement the http.CloseNotifier interface
2019-09-05 11:47:46 +07:00
Marten Seemann
f9bbac8b04
update HTTP/3 errors
2019-09-04 12:06:17 +07:00
Marten Seemann
564bd6b7ba
document that closing a http3.Server created by Serve doesn't close conn
2019-09-01 11:15:01 +07:00
Marten Seemann
ab65e39c3b
Merge pull request #2091 from lucas-clemente/request-cancelation
...
implement HTTP request cancelations
2019-08-31 17:32:25 +07:00
Marten Seemann
328dd2c848
set the H3 ALPN on tls.Configs returned by GetConfigForClient
2019-08-24 15:23:37 +07:00
Marten Seemann
fd30146de5
replace the list of ALPN instead of appending to it in http3
2019-08-24 15:22:36 +07:00
Marten Seemann
f4621e280e
remove stray TODO in the HTTP/3 client
2019-08-24 10:41:41 +07:00
Marten Seemann
0a298f2aef
implement client-side request cancelations
2019-08-24 09:47:49 +07:00
Marten Seemann
f0a62c05df
Merge pull request #2085 from lucas-clemente/harden-http3
...
check the size of HTTP3 HEADERS frames before allocating
2019-08-23 23:18:54 +07:00
Marten Seemann
363de010ca
reject http3 responses that exceeded the header size limit
2019-08-22 12:08:02 +07:00
Marten Seemann
9294652ecc
reject http3 requests that exceeded the header size limit
2019-08-22 10:23:51 +07:00
Marten Seemann
39e29d8364
fix closing of http.Response and http.Request bodies
2019-08-21 16:30:02 +07:00
Marten Seemann
566c709548
update H3 ALPN to draft-22
2019-07-18 17:38:49 -04:00
Marten Seemann
2b8cece60a
add a context to Session.Open{Uni}StreamSync
2019-06-22 19:37:21 +08:00
Marten Seemann
5550ba2c3b
add a context to Session.Accept{Uni}Stream
2019-06-22 19:37:11 +08:00
Marten Seemann
12bce1caaa
add a context to Listener.Accept
2019-06-22 19:36:52 +08:00
Marten Seemann
1bf489b7af
open a control stream and send a SETTINGS frame as an H3 server
2019-05-21 15:28:38 +01:00
Marten Seemann
afa4615c4d
make sure the TLS config contains the H3 ALPN token in server and client
2019-05-20 17:55:59 +01:00
Rangel Ivanov
de2c1f9cb8
http3/request: Fix URL parsing of leading double slashes after authority
...
Use url.ParseRequestURI instead of url.Parse.
Otherwise it will be interpreted as a path without a scheme
which will result in '//some_path' parsed as url.Host:somepath and empty
url.Path
2019-05-14 10:09:34 +03:00
Marten Seemann
520696dd0d
Merge pull request #1900 from lucas-clemente/http3-request-tests
...
add tests for the HTTP/3 request
2019-05-13 16:06:32 +02:00
Marten Seemann
56111f31ac
add tests for the HTTP/3 request
2019-05-13 12:16:33 +02:00
Marten Seemann
0a86224858
pass a string, not an error, to Session.CloseWithError
2019-05-13 08:04:24 +02:00
Marten Seemann
7d701893a2
fix reading of the EOF in the HTTP/3 server
...
Read([]byte{}) returns immediately, whereas Read([]byte{0}) blocks until
the stream is actually closed. This make as difference if the STREAM
frame with the FIN is received after the HTTP handler returned.
2019-05-08 15:41:56 +09:00
Marten Seemann
de6ab88437
add support for gzipped HTTP/3 requests
2019-04-16 17:26:03 +09:00
Marten Seemann
fa96c1a9ec
fix flaky HTTP/3 server test
2019-04-16 12:41:07 +09:00
Marten Seemann
4f6d0e651a
implement HTTP/3
2019-04-11 09:06:10 +09:00
Marten Seemann
1325909ab7
implement the HTTP/3 error codes
2019-04-11 09:06:10 +09:00