Commit Graph

528 Commits

Author SHA1 Message Date
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
Marten Seemann
965addac79 better tests for PublicHeader 2016-05-06 21:15:57 +07:00
Lucas Clemente
a1f6289587 cleanup logs 2016-05-06 14:31:54 +02:00
Lucas Clemente
3cfc9b66a8 add verbose flag to example server 2016-05-06 13:29:30 +02:00
Lucas Clemente
02ab3480ff keep bytesInFlight as protocol.ByteCount 2016-05-06 12:59:32 +02:00
Lucas Clemente
aa46fa06a0 add very basic congestion window implementation
fixes #22
2016-05-06 12:05:04 +02:00
Lucas Clemente
bfe7117329 only take specific values from the params map 2016-05-06 11:43:39 +02:00
Lucas Clemente
f7d3da74b7 connection parameter manager docs 2016-05-05 23:36:41 +02:00
Lucas Clemente
7e0d59a5e6 make session timeout according to ICSL
fixes #54
2016-05-05 23:16:49 +02:00
Lucas Clemente
b239b71bb4 add GetIdleConnectionStateLifetime to connection params 2016-05-05 22:58:59 +02:00
Lucas Clemente
76d279ed8f make connectionparameters return its map in GetSHLOMap 2016-05-05 22:58:52 +02:00
Lucas Clemente
b5a27d3aa2 move to chacha20poly1305 fork 2016-05-05 15:19:54 +02:00
Marten Seemann
6556e2f695 use protocol.ByteCount in frames, streams and session 2016-05-05 11:53:10 +07:00
Marten Seemann
77f34a9207 set initial flow control window from handshake parameters
fixes #50
2016-05-05 11:29:12 +07:00
Lucas Clemente
d178a02ad8 change congestion to use protocol.ByteCount
fixes #52
2016-05-05 01:41:34 +02:00
Lucas Clemente
321370e2f3 introduce protocol.ByteCount 2016-05-05 01:41:26 +02:00
Lucas Clemente
d1d4dbde2c update public header parsing to version 33
refs #51
2016-05-05 00:54:29 +02:00
Lucas Clemente
df2e6e32eb move fnv128a implementation to separate package 2016-05-04 17:26:44 +02:00
Lucas Clemente
15c2c725a3 add tests for h2quic.responseWriter.Write
fixes #53
2016-05-04 17:11:38 +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
150795d702 make session send packets immediately 2016-05-04 15:23:59 +02:00
Lucas Clemente
e9ff0768ea add packetParse.Empty() 2016-05-04 15:22:57 +02:00
Lucas Clemente
df5143d561 remove newlines from log messages 2016-05-04 14:24:36 +02:00
Lucas Clemente
09fb894fb2 add custom logger
fixes #45
2016-05-04 13:20:24 +02:00
Lucas Clemente
40ee20c02b use a ephermal curve25519 for forward secure key exchange
fixes #17
2016-05-04 12:45:25 +02:00
Marten Seemann
d07baef91b manage connection parameters in a separate class 2016-05-04 17:20:36 +07:00
Marten Seemann
01c5d91acc implement PingFrame 2016-05-04 10:16:00 +07:00
Marten Seemann
b183b0edb3 improve debug output 2016-05-03 23:34:01 +07:00