Commit graph

66 commits

Author SHA1 Message Date
Marten Seemann
aa16873794
prioritize crypto stream and header stream in streamsMap
fixes #151
2016-09-03 15:35:53 +07:00
Marten Seemann
416e3f9e2e garbage collect streams map
fixes #256
2016-08-24 16:26:30 +02:00
Marten Seemann
15352e9591 implement garbage collection of closed streams in streamsMap
ref #256
2016-08-24 16:26:30 +02:00
Marten Seemann
543ce21a5a prevent opening of new streams with very low StreamIDs
ref #256
2016-08-24 16:26:30 +02:00
Lucas Clemente
993dd2cd5f improve max dynamic streams calculation in streamsMap 2016-08-23 17:09:53 +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
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
8e7215aaeb only increase round-robin index when lambda returns true 2016-08-06 17:00:33 +07:00
Marten Seemann
1a30313ace only iterate over open Streams in StreamsMap
ref #256
2016-08-06 14:41:47 +07:00
Marten Seemann
b0d116ad5a implement a round-robin iterate function in StreamsMap
ref #207
2016-08-06 14:13:52 +07:00
Marten Seemann
64b0e03234 store StreamIDs of open Streams in a slice in the StreamsMap
ref #207
2016-08-05 23:38:43 +07:00
Marten Seemann
1f25ff5569 more explicit tests for counting the number of streams in StreamsMap 2016-08-05 20:33:35 +07:00
Marten Seemann
0cc42b8847 add an Iterate function to the StreamsMap 2016-08-05 19:27:06 +07:00
Marten Seemann
c3dcb649c7 return bool if stream exists in StreamsMap GetStream 2016-08-05 19:27:06 +07:00
Lucas Clemente
b3e76770de add a streamsMap class 2016-08-05 19:27:06 +07:00