Commit Graph

61 Commits

Author SHA1 Message Date
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
2097509d16 fix go vet warning 2016-08-06 14:45:11 +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
Lucas Clemente
7ab2eb1b93 improve error message when closing a connection
fixes #228
2016-07-29 12:20:01 +02: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
Marten Seemann
13513097ce log StreamID of data stream for H2 requests in debug mode 2016-06-07 14:03:56 +07:00
Lucas Clemente
531fc718b5 properly close h2 streams fin bit in h2 header set 2016-06-06 22:05:51 +02:00
Lucas Clemente
d5aced6e03 small linter & typo fixes 2016-06-06 09:37:17 +02:00
Marten Seemann
d2c1f0c71a move integration tests to separate package 2016-06-05 17:04:15 +07:00
Lucas Clemente
cc3a94f6b4 handle errors in integration test http.Handlers 2016-06-03 21:02:57 +02:00
Lucas Clemente
f6be8716b5 kill client after timeout in integration tests
this should fix the hang-issue of #163
2016-06-03 15:16:32 +02:00
Lucas Clemente
c7324bbfe9 improve integration tests with new server.Serve API
this probably fixes the refused connections issue in #163
2016-06-03 13:31:15 +02: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
60611a0176 increase timeout in integration tests 2016-06-02 15:56:30 +02:00
Lucas Clemente
64b34b52a8 add integration tests for loading larger files
ref #152
2016-06-02 13:38:05 +02:00
Lucas Clemente
252e884076 add an integration test for POSTing data
ref #152
2016-06-02 12:05:51 +02:00
Lucas Clemente
93629bc595 test all supported quic versions in integration tests
ref #152
2016-06-02 12:05:24 +02:00
Lucas Clemente
0900b5ba73 add a first integration test
ref #152
2016-06-02 11:51:38 +02:00
Lucas Clemente
7ee5f96efd implement h2quic.Server.Close()
fixes #155
2016-06-01 15:35:08 +02:00
Lucas Clemente
a6c62d1a26 add a stub for CloseGracefully to h2quic.Server
ref #153, #124
2016-06-01 12:07:06 +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
ae778fc042 add mock close method to h2quic.Server 2016-05-31 14:13:03 +02:00
Lucas Clemente
33edcc5e88 make h2quic.Server.Serve panic
ref #124
2016-05-30 17:18:10 +02:00
Lucas Clemente
25c34723a3 implement h2quic.Server.ListenAndServeTLS
ref #124
2016-05-30 17:14:59 +02:00
Lucas Clemente
6b1669c116 add ListenAndServeQUIC convenience function 2016-05-30 14:41:21 +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
7a97f34fac don't panic 🤓
fixes #93
2016-05-18 18:29:42 +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
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
c12a12518e run gofmt -s on tests 2016-05-15 14:42:34 +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
9f63cdbd91 add stream.StreamID() 2016-05-14 13:35:43 +02:00