Commit Graph

17 Commits

Author SHA1 Message Date
Marten Seemann
77f34a9207 set initial flow control window from handshake parameters
fixes #50
2016-05-05 11:29:12 +07:00
Marten Seemann
6700672440 handle remote errors in Stream Write 2016-05-03 16:34:46 +07:00
Marten Seemann
f240df6ea5 implement basic flow control
fixes #37
2016-05-03 12:07:01 +07:00
Marten Seemann
8339f210cb handle control frames and Stream frames separately in PacketPacker 2016-04-26 23:30:43 +07:00
Lucas Clemente
5db81d8874 make stream.Write() return remote errors 2016-04-26 14:41:02 +02: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
Lucas Clemente
ecbec2dcc6 add stream tests and fix bug with stream.ReadByte 2016-04-25 17:33:41 +02:00
Lucas Clemente
e253cbe02f remove closed streams from session 2016-04-25 16:56:07 +02:00
Lucas Clemente
284ffc6665 add support for closing streams, either with FinBit or remote error 2016-04-25 16:18:53 +02:00
Lucas Clemente
99ae512c51 add more stream tests 2016-04-20 12:20:30 +02:00
Lucas Clemente
1260faba4a handle stream offset properly when receiving data 2016-04-19 23:23:21 +02:00
Lucas Clemente
52268753e9 implement Stream.ReadByte 2016-04-18 11:00:26 +02:00
Lucas Clemente
4b71b14bd8 fix stream tests 2016-04-17 15:02:12 +02:00
Marten Seemann
3eabb4a46c use Stream object in the Session 2016-04-17 00:19:23 +07:00
Marten Seemann
3e59ede7a7 use channels to properly implement the Stream.Read function 2016-04-16 23:47:57 +07:00
Marten Seemann
1da9b86da0 add a Stream class 2016-04-16 22:12:27 +07:00