Commit Graph

405 Commits

Author SHA1 Message Date
Lucas Clemente
8b1009d482 fix ack frame length calculation for version <32 2016-05-11 17:09:39 +02:00
Lucas Clemente
d17d597ebe implement certificate compression using common certificate sets
fixes #47
2016-05-11 16:30:04 +02:00
Lucas Clemente
ea83ca8950 implement cert compression with cached certificates 2016-05-11 16:30:04 +02:00
Marten Seemann
552efb57de fix StreamID validation
closes #78
2016-05-11 19:15:10 +07:00
Marten Seemann
e957ad6184 check that all new Streams initiated by the client have an odd StreamID
work towards #78
2016-05-11 18:47:06 +07:00
Lucas Clemente
8cdf832aa0 add support for sending intermediate certificate
fixes #76
2016-05-11 12:23:09 +02:00
Lucas Clemente
7c1e1cde56 rename GetCertCompressed to GetCertsCompressed 2016-05-11 11:41:44 +02:00
Lucas Clemente
20655bac5a rename GetCertUncompressed to GetLeafCert 2016-05-11 11:40:20 +02:00
Marten Seemann
b1731773cf only send Data length field in StreamFrames when necessary
fixes #77
2016-05-11 13:25:51 +07:00
Marten Seemann
41fa096480 add option to write StreamFrames without Data length field
work towards #77
2016-05-11 10:32:18 +07:00
Marten Seemann
bdf53744ac code cleanup in StreamFrame writing 2016-05-11 10:09:29 +07:00
Marten Seemann
4c087c48e4 send shorter offsets in StreamFrames
fixes #75
2016-05-11 10:01:26 +07:00
Marten Seemann
9a99df48a6 send shorter StreamIDs
fixes #74
2016-05-11 01:00:28 +07:00
Marten Seemann
e345270e84 use ByteCount type for Frame, Packet and PublicHeader lengths 2016-05-10 23:40:22 +07:00
Marten Seemann
174095d5aa make use of shorter PublicHeaders when packing a packet
fixes #67
2016-05-10 23:17:04 +07:00
Marten Seemann
b05b52a2a8 determine the length of the PublicHeader
work towards #67
2016-05-10 21:33:05 +07:00
Lucas Clemente
a26c42c4a4 add support for multiple udp connections per server 2016-05-10 15:34:54 +02:00
Marten Seemann
7169584ff9 implement sending of shortened packet numbers 2016-05-10 17:25:52 +07:00
Lucas Clemente
7609246b45 re-add support for version 30
fixes #72
2016-05-10 11:05:52 +02:00
Lucas Clemente
a4cdc97fb1 update version support in readme 2016-05-09 19:58:24 +02:00
Lucas Clemente
a3d77bae33 add support for FEC acks in version 31
fixes #68
2016-05-09 19:57:26 +02:00
Lucas Clemente
14b16a429c add version number to Frame.Write 2016-05-09 19:50:15 +02:00
Lucas Clemente
a219b72968 improve flaky goroutine tests
hopefully fixes #65
2016-05-09 19:21:39 +02: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
Marten Seemann
e8ba73f275 introduce PacketNumberLen type 2016-05-09 17:31:12 +07:00
Lucas Clemente
a141c31c69 add usage instructions to readme 2016-05-09 10:59:38 +02:00
Lucas Clemente
f4ac8ff949 read SNI from crypto handshake
fixes #48
2016-05-08 23:06:18 +02:00
Lucas Clemente
88c6311ab8 read tls.Config data properly in RSA proof implementation
ref #48
2016-05-08 22:57:53 +02:00
Lucas Clemente
85c39721ec change Signer interface to return errors 2016-05-08 22:46:59 +02:00
Lucas Clemente
32cf5e4129 read tls.Config properly in RSA signer 2016-05-08 22:42:11 +02:00
Lucas Clemente
6738f0eadf add sni to crypto.Signer interface 2016-05-08 22:23:36 +02:00
Lucas Clemente
4d545d96ca disable flaky tests for now 2016-05-08 22:12:25 +02:00
Lucas Clemente
c6fb85be22 add handshake message logging 2016-05-08 22:09:02 +02:00
Lucas Clemente
933b57bc42 improve and update README 2016-05-08 21:57:00 +02:00
Lucas Clemente
c3ff781f08 use cubic for congestion control
fixes #23
2016-05-08 18:29:08 +02:00
Lucas Clemente
c3f51af850 reset retransmissionTimeout after sentPacketHandler tests 2016-05-08 18:29:08 +02:00
Lucas Clemente
db5e8f507e introduce separate congestion debug interface to simplify mocking 2016-05-08 18:29:08 +02:00
Marten Seemann
dbcf5b8cce send retransmission in the right order
fixes #62
2016-05-08 23:04:41 +07:00
Marten Seemann
833475a2ed ensure that StopWaitingManager only gives StopWaitingFrames with increasing LeastUnacked
fixes #49
2016-05-08 22:37:25 +07:00
Lucas Clemente
924bf4a999 don't read timestamps in truncated acks
fixes #59
2016-05-08 14:24:35 +02:00
Lucas Clemente
cacc972e56 increase sleeps in server test 2016-05-07 17:55:38 +02:00
Lucas Clemente
ea63fe6205 add test asserting ICSL has a default value 2016-05-07 17:41:23 +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
16b12328fc make sent packet handler return acked and lost packets for congestion 2016-05-07 00:46:00 +02:00
Lucas Clemente
afa3047ce3 treat retransmission logging as debug info 2016-05-06 21:13:41 +02:00
Lucas Clemente
4167442032 add support for receiving truncated acks
fixes #57
2016-05-06 21:06:29 +02:00
Marten Seemann
bb807fa5bd implement sending of truncated ConnectionIDs 2016-05-06 21:53:21 +07:00