Commit graph

289 commits

Author SHA1 Message Date
Marten Seemann
5ec7ee7f01 remove support for version 32 from PublicHeader
ref #215
2016-09-01 12:20:18 +02:00
Marten Seemann
ad91d02cbd remove version 32 from SupportedVersions 2016-09-01 12:20:18 +02:00
Marten Seemann
8b845fada9 make PublicHeader public 2016-08-04 15:45:11 +07:00
Lucas Clemente
0e05534909 improve main package test coverage
ref #241
2016-08-02 11:49:25 +02:00
Lucas Clemente
d5255a4075 update AEADs to allow in-place encryption and decryption
ref #217
2016-07-26 15:13:15 +02:00
Lucas Clemente
6f657c02e4 fix some linter warnings 2016-07-26 13:42:30 +02:00
Lucas Clemente
a47a04d16d add server.Serve() API and improve server tests by listening on port 0 2016-06-03 13:10:04 +02:00
Lucas Clemente
cdff2e5531 add more tests for h2quic.Server
ref #160
2016-06-02 21:11:11 +02:00
Lucas Clemente
7ee5f96efd implement h2quic.Server.Close()
fixes #155
2016-06-01 15:35:08 +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
a10d58c8ca privatize session.run
ref #60
2016-05-15 18:49:09 +02:00
Lucas Clemente
028615b8f0 privatize session.handlePacket
ref #60
2016-05-15 18:48:11 +02:00
Lucas Clemente
ce1f7b2aaf privatize closeCallback
ref #60
2016-05-15 15:58:35 +02:00
Lucas Clemente
9cc4bb3ccf privatize publicHeader
ref #60
2016-05-15 15:44:14 +02:00
Lucas Clemente
caec66b927 fix linter warning in server test 2016-05-15 15:38:43 +02:00
Lucas Clemente
b558bb8a75 privatize packetHandler
ref #60
2016-05-15 15:32:41 +02:00
Lucas Clemente
c7126137d1 queue undecryptable packets for later decryption & possibly send PRST
fixes #38, fixes #69, fixes #73
2016-05-12 16:46:18 +02:00
Marten Seemann
7169584ff9 implement sending of shortened packet numbers 2016-05-10 17:25:52 +07:00
Lucas Clemente
b42bad8481 fix flaky server tests
ref #65
2016-05-09 17:57:20 +02:00
Marten Seemann
476acc2966 fix PublicHeader of VersionNegotiation and PublicReset packets
fixes #71
2016-05-09 22:27:55 +07:00
Marten Seemann
7bf94df817 Revert "fix FlagByte in PublicHeader"
This reverts commit 44e19787f3.
2016-05-09 21:28:00 +07:00
Marten Seemann
44e19787f3 fix FlagByte in PublicHeader 2016-05-09 18:25:12 +07:00
Lucas Clemente
4d545d96ca disable flaky tests for now 2016-05-08 22:12:25 +02:00
Lucas Clemente
cacc972e56 increase sleeps in server test 2016-05-07 17:55:38 +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
d1d4dbde2c update public header parsing to version 33
refs #51
2016-05-05 00:54:29 +02:00
Lucas Clemente
ef6e8cf1b4 make server delete sessions when they are closed
fixes #46
2016-05-04 16:34:08 +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
c5197bf42e fix server test 2016-04-26 19:13:26 +02:00
Lucas Clemente
a5a06a25c2 remove udp references from session to simplify testing 2016-04-26 18:30:51 +02:00
Marten Seemann
8339f210cb handle control frames and Stream frames separately in PacketPacker 2016-04-26 23:30:43 +07:00
Lucas Clemente
8f221e6eab improve error handling in session 2016-04-26 10:27:11 +02:00
Lucas Clemente
a126e0e606 refactor session to support very basic packet pacing 2016-04-25 14:59:26 +02:00
Lucas Clemente
5cdcaad226 enable server test 2016-04-21 17:03:29 +02:00
Lucas Clemente
b17d9a7e55 change public header to correctly state 48bit packet numbers 2016-04-21 17:02:15 +02:00
Lucas Clemente
f513a702fa add more (pending) server tests 2016-04-21 13:48:43 +02:00
Lucas Clemente
71580780d6 add some server tests 2016-04-21 13:48:42 +02:00
Lucas Clemente
fd28921bdd test version negotiation packet 2016-04-21 13:48:42 +02:00