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
|
7e0d59a5e6
|
make session timeout according to ICSL
fixes #54
|
2016-05-05 23:16:49 +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
|
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
|
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 |
|
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 |
|
Marten Seemann
|
f240df6ea5
|
implement basic flow control
fixes #37
|
2016-05-03 12:07:01 +07:00 |
|
Lucas Clemente
|
6178ef83fe
|
discard undecryptable packets
hopefully fixes issue #33, the workaround is tracked in #38
|
2016-05-02 16:45:26 +02:00 |
|
Lucas Clemente
|
6b4f01b1b9
|
use hex for connectionID in log messages
|
2016-05-02 15:13:29 +02:00 |
|
Marten Seemann
|
f3e7fd438e
|
include StreamFrames in debug output
|
2016-04-30 14:23:31 +07:00 |
|
Marten Seemann
|
8a3b667c38
|
better debug output for retransmissions
|
2016-04-30 10:57:10 +07:00 |
|
Marten Seemann
|
06b51871b1
|
close session when receiving a ConnectionCloseFrame
fixes #28
|
2016-04-30 10:04:45 +07:00 |
|
Marten Seemann
|
f1537c4e1b
|
improve debug output
|
2016-04-30 09:55:18 +07:00 |
|
Lucas Clemente
|
8cb546d3eb
|
temporary workaround for server handing when session chan is full
#35
|
2016-04-29 16:50:39 +02:00 |
|
Lucas Clemente
|
480d339f9a
|
implement public reset sending in session
fixes #14, #33
|
2016-04-29 16:50:09 +02:00 |
|
Lucas Clemente
|
a38735f8fc
|
improve debug log
|
2016-04-29 12:35:18 +02:00 |
|
Lucas Clemente
|
64b5567eaa
|
calculate RTT in session
fixes #32
|
2016-04-29 12:19:07 +02:00 |
|
Marten Seemann
|
74f7576391
|
implement a StopWaitingManager
fixes #30
|
2016-04-29 16:58:30 +07:00 |
|
Lucas Clemente
|
1535663fc5
|
add bytes-in-flight calculation to SentPacketHandler
|
2016-04-28 22:30:03 +02:00 |
|
Lucas Clemente
|
ac1affb940
|
make SentPacketHandler compute the delta between sent and ack time
|
2016-04-28 18:52:12 +02:00 |
|
Marten Seemann
|
6a7f331269
|
implement a StreamFrame Queue to handle high priority StreamFrames for retransmission
fixes #21
|
2016-04-27 21:05:58 +07:00 |
|
Marten Seemann
|
6eeccfd123
|
retransmit lost packets, send StopWaiting frames
|
2016-04-27 18:56:21 +07:00 |
|
Lucas Clemente
|
bd67f537c9
|
add support for receiving BLOCKED frames
|
2016-04-27 13:02:00 +02:00 |
|
Lucas Clemente
|
0d6642464d
|
remove some debug messages
|
2016-04-27 12:52:06 +02:00 |
|
Lucas Clemente
|
607ab843d6
|
close session when crypto stream errors
|
2016-04-27 12:49:55 +02:00 |
|
Marten Seemann
|
160db13bdb
|
close the connection on an MapAccess error in SentPacketHandler
|
2016-04-27 11:34:35 +07:00 |
|
Marten Seemann
|
6db8ea285a
|
handle SentPacketHandler errors when sending packets
|
2016-04-27 09:33:52 +07:00 |
|
Lucas Clemente
|
c5197bf42e
|
fix server test
|
2016-04-26 19:13:26 +02:00 |
|
Lucas Clemente
|
5d8293716e
|
add includeStreamFrames option to PacketPacker
|
2016-04-26 19:04:42 +02:00 |
|
Lucas Clemente
|
270b2f0f99
|
stop session go-routine on Close()
|
2016-04-26 18:30:51 +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 |
|
Marten Seemann
|
a962c63642
|
don't queue ACK frames
|
2016-04-26 22:46:39 +07:00 |
|
Lucas Clemente
|
83df3be65e
|
close streams when Session.Close() is called
|
2016-04-26 15:37:52 +02:00 |
|
Marten Seemann
|
4659bf7acb
|
store the payload of sent packets as a slice of Frames
|
2016-04-26 20:35:30 +07:00 |
|
Lucas Clemente
|
6f38ae3da2
|
implement handling of RST_STREAM frames
fixes #15
|
2016-04-26 14:57:34 +02:00 |
|
Lucas Clemente
|
b9f37f9618
|
accept truncated packet numbers
|
2016-04-26 12:13:23 +02:00 |
|
Lucas Clemente
|
8f221e6eab
|
improve error handling in session
|
2016-04-26 10:27:11 +02:00 |
|
Marten Seemann
|
7e9f185f79
|
close connection if the entropy of a received ACK is incorrect
|
2016-04-26 11:17:16 +07:00 |
|
Marten Seemann
|
c8f48fe5bc
|
ignore duplicate ACK and out-of-order ACK errors in Session
|
2016-04-26 10:48:14 +07:00 |
|
Marten Seemann
|
b4fae00880
|
rename IncomingPacketAckHandler to ReceivedPacketHandler
|
2016-04-26 10:17:18 +07:00 |
|
Marten Seemann
|
0088636798
|
rename OutgoingPacketAckHandler to SentPacketHandler
|
2016-04-26 10:07:00 +07:00 |
|
Lucas Clemente
|
ccc6d23a7d
|
fix a number of races and bugs with stream closing
|
2016-04-25 22:19:02 +02:00 |
|
Lucas Clemente
|
23a1e08e90
|
make stream private
|
2016-04-25 17:54:00 +02:00 |
|