Commit graph

265 commits

Author SHA1 Message Date
Marten Seemann
841421ef7a
remove ineffective check for too large packets
closes #468
2017-03-15 09:30:06 +07:00
Marten Seemann
34b688b3b9
add a LocalAddr to the Session 2017-03-10 00:07:27 +07:00
Marten Seemann
1f01904270
read packets with the maximum packet size
fixes #467
2017-03-06 13:02:46 +07:00
Marten Seemann
21d39c13e4
add more server tests 2017-02-25 12:03:35 +07:00
Marten Seemann
c1c0fac0b4
validate minimum packet size before sending a version negotiation packet
fixes #429
2017-02-25 11:28:33 +07:00
Marten Seemann
8282760847
fix concurrent map access in server test 2017-02-24 10:14:19 +07:00
Marten Seemann
e7ce35b455
fix flaky server ConnStateCallback tests 2017-02-24 10:03:12 +07:00
Marten Seemann
820eb2e6ee
call the ConnStateCallback in the server for encryption level changes
ref #439
2017-02-24 08:42:49 +07:00
Marten Seemann
48dee2708e
implement a Serve method for the Listener 2017-02-22 23:03:09 +07:00
Marten Seemann
cd465ae0b5
move utils.Stream to quic.Stream 2017-02-22 23:03:09 +07:00
Marten Seemann
592ef45fdf
add OpenStreamSync() method to Session interface 2017-02-22 23:03:09 +07:00
Marten Seemann
824f122a79
remove unused StreamCallback 2017-02-22 23:03:08 +07:00
Marten Seemann
5029ab0934
implement a quic.Listener, privatize the Server 2017-02-22 23:03:07 +07:00
Marten Seemann
e924f0ecb3
use the net.PacketConn everywhere in the server 2017-02-22 23:03:07 +07:00
Marten Seemann
ca863a86bb
add an Addr method to the Server 2017-02-22 23:03:06 +07:00
Marten Seemann
f47142eaac
remove stream ID from OpenStream() method 2017-02-22 23:03:05 +07:00
Marten Seemann
00ef1249ce
fix flaky server test 2017-02-08 12:21:20 +07:00
Marten Seemann
3458514744
add a method to open new Streams to the client 2017-01-14 18:58:43 +07:00
Marten Seemann
1ad3a85f5c
fix flaky client tests 2017-01-14 18:52:24 +07:00
Marten Seemann
4b112c325a
add tests for the Client 2017-01-14 18:52:23 +07:00
Marten Seemann
54ec7f2fc6
fix flaky server test on AppVeyor
fixes #393
2017-01-10 17:14:05 +07:00
Marten Seemann
72e9994c9c
allow reuse of connection IDs
fixes #347
2017-01-07 19:21:18 +07:00
Marten Seemann
bf615659d6
ignore public reset packets, and log them
ref #34
2017-01-07 14:56:24 +07:00
Marten Seemann
3c7872c7b3
ignore delayed packets with a version mismatched
fixes #359
2016-12-02 13:48:48 +07:00
Marten Seemann
cedbc819d3
only start new session if the client sends a version in the PublicHeader
fixes #349
2016-11-27 22:54:38 +07:00
Lucas Clemente
099545521f use *receivedPacket thoughout the session 2016-09-07 15:51:04 +02:00
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