Commit Graph

364 Commits

Author SHA1 Message Date
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
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
7adafb4c5f add protocol tests 2016-05-03 16:38:31 +02:00
Lucas Clemente
49a4920aae add some protocol constants for congestion 2016-05-03 15:14:48 +02:00
Lucas Clemente
745f1d8ed2 add some h2quic server tests
fixes #44
2016-05-03 15:14:24 +02:00
Lucas Clemente
e3a4d75fc1 move h2 server stuff from main to h2quic package 2016-05-03 14:26:50 +02:00
Lucas Clemente
c3da72d498 add debug.test (dvelve output) to gitignore 2016-05-03 14:26:50 +02:00
Lucas Clemente
a959804ed6 add request filling to h2quic 2016-05-03 14:26:50 +02:00
Lucas Clemente
0781e1b1b0 add h2quic package with response writer 2016-05-03 14:26:50 +02:00
Marten Seemann
08d96d2a69 calculate NACK ranges in the correct order expected by the ACK frame writer
fixes #43
2016-05-03 18:31:02 +07:00
Marten Seemann
6700672440 handle remote errors in Stream Write 2016-05-03 16:34:46 +07:00
Lucas Clemente
ef71186402 add gopher-logo 2016-05-03 10:27:59 +02:00
Marten Seemann
a19933d51f don't send packets containing only a StopWaitingFrame
fixes #41
2016-05-03 14:40:45 +07:00
Marten Seemann
ce01b5ed30 implement BlockedFrame writing 2016-05-03 14:04:01 +07:00
Marten Seemann
f240df6ea5 implement basic flow control
fixes #37
2016-05-03 12:07:01 +07:00