Commit Graph

19 Commits

Author SHA1 Message Date
Marten Seemann
8ef69143ba implement a context for the stream
The context is cancelled when the write-side of the stream is closed.
2017-08-02 11:28:17 +07:00
Marten Seemann
e09993403d add stream deadlines to the Stream interface 2017-07-15 23:46:15 +07:00
Marten Seemann
c122428cb6 simply the dialing in the h2quic client
Fixes #620.
Dialing is now done lazily, when a request is executed.
2017-06-04 09:41:51 +02:00
Marten Seemann
c1d57d6efe decode H2 HeadersFrame in h2quic responseWriter tests
fixes #455
2017-02-28 11:05:51 +07:00
Marten Seemann
a8bbe66d5c use a better mockStream in h2quic tests 2017-01-14 18:58:40 +07:00
Marten Seemann
64bc80339e reset streams that the request body is not read from
fixes #384
2017-01-09 23:47:01 +07:00
Marten Seemann
a86f31d789 implement a stream.Reset() method
ref #380
2017-01-09 09:49:44 +07:00
Marten Seemann
53d2290a59 only allow writing a response body for status codes that allow bodies
fixes #386
2017-01-07 09:49:22 +07:00
chestnutprog
02b50e2ffb fix writing of multiple headers with the same name 2016-10-05 11:52:06 +02:00
Lucas Clemente
e856c08645 write http headers in lower case
fixes #317
2016-09-04 11:38:10 +02:00
Lucas Clemente
29df400cc1 correctly handle panicking http.Handler
fixes #290
2016-08-17 18:06:57 +02:00
Lucas Clemente
a4dcf5efd7 send 200 status for requests with empty http.Handlers
fixes #286
2016-08-16 12:31:07 +02:00
Lucas Clemente
4b2ab55435 fix a race when multiple requests were handled at the same time
fixes #157
2016-05-31 19:05:33 +02:00
Lucas Clemente
3dc50821d6 close the rcv-end of a h2 stream when the HEADERS has END_STREAM set
fixes #109
2016-05-18 13:33:36 +02:00
Lucas Clemente
b185ea04e1 add CloseRemote method to stream
ref #109
2016-05-18 13:33:36 +02:00
Lucas Clemente
9f63cdbd91 add stream.StreamID() 2016-05-14 13:35:43 +02:00
Lucas Clemente
d1272650c3 add support for http client uploads
fixes #27
2016-05-13 13:01:45 +02:00
Lucas Clemente
15c2c725a3 add tests for h2quic.responseWriter.Write
fixes #53
2016-05-04 17:11:38 +02:00
Lucas Clemente
0781e1b1b0 add h2quic package with response writer 2016-05-03 14:26:50 +02:00