Marten Seemann
4e0ef58bab
allow stream.Read for streams that a RST was received for
...
and a lot of code improvements
fixes #385
2017-01-09 09:49:43 +07:00
Marten Seemann
c12508c3c9
use a mock ConnectionParametersManager in quic tests
2016-12-08 21:50:10 +07:00
Marten Seemann
5af50c8fd0
correctly read MIDS and MSPC parameter
...
fixes #367
2016-12-08 16:15:31 +07:00
Marten Seemann
a8f45d7959
don't send BlockedFrames after sending the FinBit for a stream
...
fixes #333
2016-10-27 17:56:02 +07:00
Lucas Clemente
d837cd96b2
disable FIN-packing optimization, increasing transfer rate by 5%
2016-09-05 00:51:05 +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
Lucas Clemente
73c8967302
bundle FINs into stream frames (sometimes)
...
fixes #279
2016-08-17 23:12:37 +02:00
Lucas Clemente
f14f291032
add a test for sending FIN-only frames when flow control blocked
...
fixes #206
2016-08-17 18:40:41 +02:00
Marten Seemann
f1da2239ca
don't split off empty StreamFrames in streamFramer
...
fixes #284
2016-08-17 18:04:33 +07:00
Lucas Clemente
02c28c3a59
remove unneeded streamsMap.{Put,Get}Stream
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
71dcad29b5
use round-robin scheduling in StreamFramer
...
fixes #207
2016-08-06 17:01:28 +07:00
Marten Seemann
a796877b94
use StreamsMap in Session and StreamFramer
...
fixes #208
2016-08-05 19:30:28 +07:00
Lucas Clemente
f6b6566c65
add a test that the framer does not emit empty frames
...
fixes #202
2016-07-28 17:02:06 +02:00
Lucas Clemente
5f774c8e03
change fcm.SendWindowSize to include conn window to simplify framer
2016-07-26 17:06:54 +02:00
Lucas Clemente
804287bd5c
remove streamFramer.EstimatedDataLen
...
ref #217
2016-07-26 13:44:09 +02:00
Lucas Clemente
d9a3980efc
remove streamFramer.HasData()
...
ref #217
2016-07-26 13:43:18 +02:00
Lucas Clemente
7adf760fa4
change streamFramer to pop as many stream frames as possible at once
...
ref #217
2016-07-26 13:42:30 +02:00
Lucas Clemente
bdbf8d3ebe
add BLOCKED frame management to streamFramer
...
ref #211
2016-07-09 14:29:56 +02:00
Lucas Clemente
f43c4c7f1a
respect flow control in streamFramer estimated length and HasData()
...
ref #83
2016-07-08 18:21:45 +02:00
Lucas Clemente
f8130288a3
fix early garbage collection of streams
...
ref #83
2016-07-08 18:21:45 +02:00
Lucas Clemente
3cbf16b66f
add flow control to streamFramer
...
ref #83
2016-07-08 18:21:45 +02:00
Lucas Clemente
d1e3b541d3
replace streamFrameQueue with just-in-time framing of written data
...
This commits replaces the stream frame queue with a framer which
requests data from the streams just when a frame is needed by the
packet packer. This simplifies a lot of things and allows some other
refactorings, see issue #83 .
There are a few pending tests which will be fixed soon.
2016-07-08 18:21:44 +02:00