Commit graph

367 commits

Author SHA1 Message Date
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
Marten Seemann
06b51871b1 close session when receiving a ConnectionCloseFrame
fixes #28
2016-04-30 10:04:45 +07:00
Lucas Clemente
480d339f9a implement public reset sending in session
fixes #14, #33
2016-04-29 16:50:09 +02:00
Lucas Clemente
c07ad6ab76 implement reading and writing of ACK delay time 2016-04-28 18:08:43 +02:00
Lucas Clemente
607ab843d6 close session when crypto stream errors 2016-04-27 12:49:55 +02:00
Lucas Clemente
729505738b add session tests 2016-04-26 22:11:27 +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
Lucas Clemente
43a16a8fce add session test for closing with errors 2016-04-26 16:49:11 +02:00
Lucas Clemente
83df3be65e close streams when Session.Close() is called 2016-04-26 15:37:52 +02:00
Lucas Clemente
6f38ae3da2 implement handling of RST_STREAM frames
fixes #15
2016-04-26 14:57:34 +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
f9c90382a4 make some session fields private 2016-04-25 17:40:55 +02:00
Lucas Clemente
e253cbe02f remove closed streams from session 2016-04-25 16:56:07 +02:00
Lucas Clemente
f8b804d2c1 add some session tests 2016-04-25 16:38:53 +02:00