Commit graph

269 commits

Author SHA1 Message Date
Marten Seemann
ebc053dbe0
create interface for the ConnectionParametersManager 2016-12-08 18:39:14 +07:00
Marten Seemann
5af50c8fd0
correctly read MIDS and MSPC parameter
fixes #367
2016-12-08 16:15:31 +07:00
Marten Seemann
11d786fe28
log timestamp when packets are sent and received 2016-12-06 22:52:20 +07:00
Marten Seemann
32d89eee02
pass RTTStats to the FlowControllers
ref #106
2016-10-30 17:36:36 +07:00
Marten Seemann
c8b7246159
create congestion RTTstats in Session
ref #106
2016-10-30 17:27:21 +07:00
Lucas Clemente
2592b9a97c optimize window update generation, reducing profiler footprint by 8% 2016-09-15 09:12:44 +02:00
Lucas Clemente
d6e40cc3da use a different network timeout before the crypto handshake completes
ref #320
2016-09-08 13:48:26 +02:00
Lucas Clemente
3b66d2f35d add a timeout before crypto handshake completes 2016-09-08 13:37:44 +02:00
Lucas Clemente
a0fb14381e don't send more packets when there are too many unacked
fixes #249, fixes #322
2016-09-08 11:21:03 +02:00
Lucas Clemente
6f4955d2d0 use new packet receive timestamp in sentPacketHandler
fixes #150
2016-09-07 15:51:04 +02:00
Lucas Clemente
29be6301ee take packet rcv timestamp directly after receiving from network 2016-09-07 15:51:04 +02:00
Lucas Clemente
099545521f use *receivedPacket thoughout the session 2016-09-07 15:51:04 +02:00
Lucas Clemente
b93f4ec831 minor cleanup 2016-09-05 23:10:18 +02:00
Lucas Clemente
a4d4506f31 remove entropy from packet unpacker and session 2016-09-01 20:26:31 +02:00
Lucas Clemente
10d0190be1 remove some v33 mentions 2016-09-01 20:26:31 +02:00
Lucas Clemente
a8b3e1ef8e move ackhandler.Packet and PacketList shared types to new ackhandler 2016-09-01 20:26:31 +02:00
Lucas Clemente
05127e5c20 remove support for v33 from session 2016-09-01 20:26:31 +02:00
Lucas Clemente
d76d86a7e1 fix detection of only-ack packets
ref #315
2016-09-01 20:24:19 +02:00
Lucas Clemente
5cf829f1df use largest received packet number in packet number inflation
fixes #309
2016-08-30 20:47:36 +02:00
Lucas Clemente
906114450e ignore undecryptable packets after the handshake is complete
fixes #304
2016-08-25 20:02:39 +02:00
Lucas Clemente
d1d53beaa8 only update last packet number after decryption in session 2016-08-23 12:11:10 +02:00
Lucas Clemente
6d5a9b84e5 reject streams with even IDs opened by the client
fixes #267
2016-08-18 11:40:27 +02:00
Lucas Clemente
781fce5bd7 remove outdated comments 2016-08-18 10:31:41 +02:00
Marten Seemann
1d7cf74e48
always send a StopWaiting with a packet containing a retransmission
fixes #259
2016-08-18 15:02:18 +07:00
Marten Seemann
7d05640b24
change AckHandler interfaces to allow forcing a StopWaitingFrame
ref #259
2016-08-18 12:45:53 +07:00
Marten Seemann
d23cacaddf always dequeue a StopWaiting if a packet contains a retransmission 2016-08-16 12:21:31 +07:00
Lucas Clemente
5cb3c0a771 replace ProbablyHasPacketForRetransmission with a call to MaybeQueueRTOs
fixes #261
2016-08-15 10:33:50 +02:00
Lucas Clemente
805c21cb77 use LeastUnacked in packet number derivation
fixes #271
2016-08-10 13:32:36 +02:00
Lucas Clemente
8c5a3dabd6 set RemoteAddr in http request objects
fixes #266
2016-08-09 11:50:27 +02:00
Lucas Clemente
a1e2977f50 handle stream creation in streamsMap, remove streams mutex from session 2016-08-08 20:51:57 +02:00
Lucas Clemente
65663c3314 implement GetOrOpenStream in streamsMap 2016-08-08 20:51:57 +02:00
Marten Seemann
50d6ae205d change order of parameters in Stream constructor 2016-08-07 13:12:10 +07:00
Marten Seemann
143c3ea16b remove unused connectionParametersManager from Stream 2016-08-07 13:09:44 +07:00
Marten Seemann
60e38aef43 Revert "remove unneeded streamsMutex from Session"
This reverts commit 100f04f242.
2016-08-07 12:07:05 +07:00
Marten Seemann
100f04f242 remove unneeded streamsMutex from Session 2016-08-06 17:45:21 +07:00
Marten Seemann
1a30313ace only iterate over open Streams in StreamsMap
ref #256
2016-08-06 14:41:47 +07:00
Lucas Clemente
bf04a430ba improve debug messages 2016-08-05 15:07:13 +02:00
Marten Seemann
a796877b94 use StreamsMap in Session and StreamFramer
fixes #208
2016-08-05 19:30:28 +07:00
Marten Seemann
8b845fada9 make PublicHeader public 2016-08-04 15:45:11 +07:00
Lucas Clemente
328b02d0a4 remove unused error from session 2016-08-03 09:19:06 +02:00
Marten Seemann
7604f7927d send a StopWaiting with every ACK in QUIC 34
fixes #185
2016-07-29 18:02:43 +07:00
Marten Seemann
73a64fde5f remove StopWaitingManager from new AckHandler 2016-07-29 18:02:43 +07:00
Lucas Clemente
7ab2eb1b93 improve error message when closing a connection
fixes #228
2016-07-29 12:20:01 +02:00
Marten Seemann
2d48210fa0 run Session tests with new AckHandler, minor fixes
ref #55
2016-07-29 16:47:14 +07:00
Lucas Clemente
3a88a8cffa delete flow controllers for closed streams
fixes #177
2016-07-28 16:45:55 +02:00
Lucas Clemente
5a82b35ca8 put buffers back into the pool after reading packets 2016-07-26 18:44:01 +02:00
Lucas Clemente
daa328460f use in-place decryption when unpacking 2016-07-26 18:33:48 +02:00
Lucas Clemente
950e59fa3d add a sync.Pool of byte buffers with maximum packet size as cap
ref #217
2016-07-26 15:36:28 +02:00
Lucas Clemente
44acb8ca82 remove session.maybeSendPacket, restrict small frame detection to ACKs
ref #217
2016-07-26 13:44:07 +02:00
Lucas Clemente
d9a3980efc remove streamFramer.HasData()
ref #217
2016-07-26 13:43:18 +02:00