Commit Graph

24 Commits

Author SHA1 Message Date
Marten Seemann
91543322f6 define a new Method for 0-RTT GET requests on the http.Request 2020-01-29 11:34:06 +07:00
Marten Seemann
af1e8f4c78 handle request cancelations while waiting for handshake completion 2020-01-29 11:25:29 +07:00
Marten Seemann
1372e5dd5e use 0-RTT to open the H3 client's control stream 2020-01-29 11:06:44 +07:00
Marten Seemann
2bac900862 Merge pull request #2319 from lucas-clemente/fix-stream-open-request-cancelation
use the HTTP request context when opening the request stream
2020-01-29 00:08:43 +07:00
Marten Seemann
a5120204cc use H3_NO_ERROR when closing the http3.Client 2020-01-26 17:37:22 +07:00
Marten Seemann
d2209ba553 use the HTTP request context when opening the request stream 2020-01-26 11:33:22 +07:00
Marten Seemann
fe6cda98eb close the connection on unexpected frames when reading a HTTP/3 body 2019-10-25 09:39:40 +07:00
Marten Seemann
ea0050e2a2 update HTTP/3 errors
* rename HTTP_UNEXPECTED_FRAME to HTTP_FRAME_UNEXPECTED
* remove the HTTP_WRONG_STREAM error
* rename errors from HTTP_ to H3_
2019-10-23 09:43:47 +07:00
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
ab65e39c3b Merge pull request #2091 from lucas-clemente/request-cancelation
implement HTTP request cancelations
2019-08-31 17:32:25 +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
39e29d8364 fix closing of http.Response and http.Request bodies 2019-08-21 16:30:02 +07:00
Marten Seemann
2b8cece60a add a context to Session.Open{Uni}StreamSync 2019-06-22 19:37:21 +08: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
Marten Seemann
0a86224858 pass a string, not an error, to Session.CloseWithError 2019-05-13 08:04:24 +02:00
Marten Seemann
de6ab88437 add support for gzipped HTTP/3 requests 2019-04-16 17:26:03 +09:00
Marten Seemann
4f6d0e651a implement HTTP/3 2019-04-11 09:06:10 +09:00