Commit Graph

468 Commits

Author SHA1 Message Date
Marten Seemann
565f4c9fda support largest observed packet number missing in ACK frames
fixes #63
2016-05-16 21:50:58 +07:00
Marten Seemann
d5c7a62066 don't send internal error messages to the client
fixes #107
2016-05-16 19:14:11 +07:00
Marten Seemann
712e682d21 improve errors in SentPacketHandler 2016-05-16 18:44:11 +07:00
Marten Seemann
fb6d90b813 cosmetic changes in tests 2016-05-16 18:32:08 +07:00
Marten Seemann
0d4dd8869d detect stream flow control violations
fixes #97
2016-05-16 18:15:40 +07:00
Marten Seemann
4de41d0737 set offset in WindowUpdates based on read position and window increment
fixes #105
2016-05-16 17:00:06 +07:00
Marten Seemann
de871f0a4f ignore WindowUpdate frames for already closed streams
fixes #104
2016-05-16 13:36:35 +07:00
Lucas Clemente
93c52a3414 fix support for version 30
fixes #101, ref #70
2016-05-15 19:58:34 +02:00
Lucas Clemente
d469a19b62 rename {New,GetOrCreate}Stream stream to {,GetOr}OpenStream 2016-05-15 18:51:23 +02:00
Lucas Clemente
af522c1538 privatize session.updateReceiveFlowControlWindow
ref #60
2016-05-15 18:50:04 +02:00
Lucas Clemente
a10d58c8ca privatize session.run
ref #60
2016-05-15 18:49:09 +02:00
Lucas Clemente
2fb42afc8a privatize session.queueStreamFrame
ref #60
2016-05-15 18:49:01 +02:00
Lucas Clemente
028615b8f0 privatize session.handlePacket
ref #60
2016-05-15 18:48:11 +02:00
Lucas Clemente
ce1f7b2aaf privatize closeCallback
ref #60
2016-05-15 15:58:35 +02:00
Lucas Clemente
0cb0ce8ad8 privatize parsePublicHeader
ref #60
2016-05-15 15:44:50 +02:00
Lucas Clemente
9cc4bb3ccf privatize publicHeader
ref #60
2016-05-15 15:44:14 +02:00
Lucas Clemente
caec66b927 fix linter warning in server test 2016-05-15 15:38:43 +02:00
Lucas Clemente
f79f7f7724 privatize newSession
ref #60
2016-05-15 15:33:36 +02:00
Lucas Clemente
b558bb8a75 privatize packetHandler
ref #60
2016-05-15 15:32:41 +02:00
Lucas Clemente
5fab9b5326 privatize windowUpdateManager
ref #60
2016-05-15 15:29:21 +02:00
Lucas Clemente
864105271e privatize streamFrameQueue
ref #60
2016-05-15 15:27:39 +02:00
Lucas Clemente
283cab4e0d improve crypto tests 2016-05-15 15:23:46 +02:00
Lucas Clemente
d4de18c472 only delete streams once we are done reading AND writing
fixes #98
2016-05-15 15:03:02 +02:00
Lucas Clemente
d78b2f4d57 fix some linter warnings 2016-05-15 14:46:10 +02:00
Lucas Clemente
de660dbfc5 run gofmt -s on main and server config 2016-05-15 14:42:56 +02:00
Lucas Clemente
c12a12518e run gofmt -s on tests 2016-05-15 14:42:34 +02:00
Lucas Clemente
0743c0824f add version number to server log 2016-05-15 14:39:36 +02:00
Lucas Clemente
916f244cc6 fix a go vet warning 2016-05-15 14:39:28 +02:00
Marten Seemann
089582dd9f improve sending of WindowUpdate frames
fixes #96
2016-05-15 18:05:15 +07:00
Marten Seemann
a3ff4dd891 send WindowUpdate frames
fixes #19
2016-05-15 16:48:42 +07:00
Marten Seemann
540941117e cosmetic changes in tests 2016-05-15 13:08:56 +07:00
Marten Seemann
0d29bdc499 pack WindowUpdate frames into two packets if they don't fit into one
work towards #96
2016-05-15 11:41:07 +07:00
Marten Seemann
13f15c8c23 add method to PacketPacker to send WindowUpdate frames
work towards #19
2016-05-15 09:52:31 +07:00
Lucas Clemente
01edd2c395 sync logging properly 2016-05-14 14:28:54 +02:00
Lucas Clemente
73a1def2bd add private option to close h2 connections after first request
fixes #92
2016-05-14 14:16:26 +02:00
Lucas Clemente
06e824c14c ignore streams with id != 3 in h2quic server
fixes #89
2016-05-14 13:36:16 +02:00
Lucas Clemente
9f63cdbd91 add stream.StreamID() 2016-05-14 13:35:43 +02:00
Lucas Clemente
967a5c401c merge protocol.MinMax into utils.MinMax 2016-05-14 13:28:18 +02:00
Lucas Clemente
40acb8e9b5 minor protocol test fixes 2016-05-14 13:24:38 +02:00
Lucas Clemente
55e32b9d96 update roadmap in readme 2016-05-14 13:13:13 +02:00
Marten Seemann
561acc08e4 pack control frames into separate packets if they don't fit into one 2016-05-14 18:07:24 +07:00
Marten Seemann
2ac53843ed improve error handling in ConnectionParametersManager 2016-05-14 17:30:36 +07:00
Marten Seemann
878d6a7140 negotiate maximum number of streams per connection
fixes #20
2016-05-14 17:10:49 +07:00
Marten Seemann
16bd559d9a negotiate idle connection state lifetime
work towards #20
2016-05-14 16:48:19 +07:00
Marten Seemann
43621c9c25 keep separate flow control windows for sending and receiving in ConnectionParametersManager
work towards #19, #20, #39
2016-05-14 15:29:15 +07:00
Marten Seemann
ea22fa6346 split protocol constants into protocol and server parameters 2016-05-14 15:15:52 +07:00
Lucas Clemente
9abda1c91f cleanup and improve tests of utils package 2016-05-13 14:55:42 +02:00
Lucas Clemente
d1272650c3 add support for http client uploads
fixes #27
2016-05-13 13:01:45 +02:00
Lucas Clemente
c0c7650431 improve debug log 2016-05-13 12:14:52 +02:00
Marten Seemann
ba799cef01 delay transmission of small packets to wait for new data
fixes #9, fixes #61
2016-05-13 17:06:30 +07:00