Marten Seemann
08191fc5d9
check if the data stream is already closed after parsing an HTTP request
...
fixes #414
2017-02-10 18:35:44 +07:00
Marten Seemann
b455f3ee6a
fix flaky h2quic server test
2017-02-02 15:34:46 +07:00
Marten Seemann
7e0cb8072b
don’t panic if a request handler replaces the request.Body
...
fixes #405
2017-01-28 23:00:34 +09:00
Marten Seemann
dfa0137bd6
close the connection when encountering an error on the header stream
...
fixes #403
2017-01-26 14:12:50 +09:00
Marten Seemann
a8bbe66d5c
use a better mockStream in h2quic tests
2017-01-14 18:58:40 +07:00
Marten Seemann
cc153463b5
fix flaky h2quic server test
...
fixes #396
2017-01-14 18:38:04 +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
0fc42896e0
remove stray println in test
2016-12-22 14:37:55 +07:00
Lucas Clemente
facaab7ff7
properly handle non-header h2 frames on stream 3
...
fixes #370
2016-12-14 11:54:26 +01:00
Carlos Martín Nieto
327856e31c
Don't rely on GOPATH to load the certificates or error codes
...
GOPATH is a list of paths, similar to PATH. If someone does have a list
set, the tests will try to use the full list as a path prefix to load
the certificates, which won't work.
But even handling GOPATH as a list does not solve the issue of what
certificate or error_codes.go file to load, since the code might not be
under the first one it finds.
Instead, use the runtime functionality to get the filename of the path
of the project at compilation time and perform the lookups relative to
that, which guarantees that we're loading the files from the path of the
code that is running.
2016-12-02 13:52:12 +01:00
Lucas Clemente
5ffc2f539d
add support for version 36
...
fixes #312
2016-09-04 23:33:31 +02:00
Lucas Clemente
8184ce050f
remove v33 from supported versions
2016-09-01 20:26:31 +02:00
Marten Seemann
ad91d02cbd
remove version 32 from SupportedVersions
2016-09-01 12:20:18 +02:00
Lucas Clemente
888a35c2fd
enable support for version 35
...
fixes #281
2016-08-23 17:09:53 +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
3b5f975e37
remove two incorrect h2quic tests
...
fixes #276
2016-08-11 12:35:13 +02:00
Lucas Clemente
081807215a
fix flaky h2quic tests
...
fixes #272
2016-08-10 18:47:25 +02:00
Lucas Clemente
8c5a3dabd6
set RemoteAddr in http request objects
...
fixes #266
2016-08-09 11:50:27 +02:00
Lucas Clemente
3e42d1da0f
fix flaky h2quic tests
...
fixes #260
2016-08-06 17:27:16 +02:00
Lucas Clemente
c46e93c752
drop support for v31
...
fixes #214
2016-07-29 15:22:56 +02:00
Lucas Clemente
1712a7388f
drop support for v30
...
fixes #213
2016-07-29 15:22:56 +02:00
Marten Seemann
8aad920aa9
enable support for QUIC 34
...
fixes #55
2016-07-29 19:00:20 +07:00
Marten Seemann
459080a6dc
fix flaky tests on Travis
2016-06-11 13:24:28 +07:00
Marten Seemann
1491bc20f4
fix flaky tests on AppVeyor
2016-06-09 12:24:25 +07:00
Marten Seemann
0f9e15e2c9
fix h2quic syscall test assertion on windows
2016-06-08 20:17:10 +07:00
Lucas Clemente
3b5b4c1557
add h2quic.Server.Serve(*net.UDPConn) and improve server tests
2016-06-03 13:30:19 +02:00
Lucas Clemente
556bf2fe4b
add a test for h2quic.ListenAndServeQUIC
...
fixes #160
2016-06-03 10:12:34 +02:00
Lucas Clemente
bd228ffe27
fix race conditions in h2quic.Server
2016-06-02 21:19:43 +02:00
Lucas Clemente
cdff2e5531
add more tests for h2quic.Server
...
ref #160
2016-06-02 21:11:11 +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
a7afffe700
add a SetQuicHeaders function to h2quic.Server
...
fixes #156
2016-05-31 16:02:39 +02:00
Lucas Clemente
33edcc5e88
make h2quic.Server.Serve panic
...
ref #124
2016-05-30 17:18:10 +02:00
Lucas Clemente
bf3d89c795
improve public quic and h2 APIs, embedding http.Server in h2quic.Server
...
ref #124
2016-05-30 14:19:25 +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
68b529a54c
refactor session to remove second Close parameter
...
fixes #102
2016-05-17 14:56:33 +02:00
Lucas Clemente
d469a19b62
rename {New,GetOrCreate}Stream stream to {,GetOr}OpenStream
2016-05-15 18:51:23 +02:00
Lucas Clemente
73a1def2bd
add private option to close h2 connections after first request
...
fixes #92
2016-05-14 14:16:26 +02:00
Lucas Clemente
06e824c14c
ignore streams with id != 3 in h2quic server
...
fixes #89
2016-05-14 13:36:16 +02:00
Lucas Clemente
d1272650c3
add support for http client uploads
...
fixes #27
2016-05-13 13:01:45 +02:00
Lucas Clemente
475a2ea955
use explicit IP addresses in tests to fix flaky tests in travis
2016-05-07 01:04:23 +02:00
Lucas Clemente
c068cbcb8f
replace certificate path with tls.Config instance throughout the server
...
The example server now reads the certificate and key data itself. Tests
use the new testdata package, where the sample key & cert are stored.
Fixes #24
2016-05-03 16:41:25 +02:00
Lucas Clemente
745f1d8ed2
add some h2quic server tests
...
fixes #44
2016-05-03 15:14:24 +02:00
Lucas Clemente
e3a4d75fc1
move h2 server stuff from main to h2quic package
2016-05-03 14:26:50 +02:00