Commit Graph

1098 Commits

Author SHA1 Message Date
Marten Seemann
3c7872c7b3 ignore delayed packets with a version mismatched
fixes #359
2016-12-02 13:48:48 +07:00
Marten Seemann
21c6a015de create ServerConfigs with random OBIT value
fixes #356
2016-11-28 19:52:23 +07:00
Marten Seemann
6602101288 verify OBIT value in client nonce
fixes #350
2016-11-28 19:26:46 +07:00
Marten Seemann
bbbc24c431 improve logging of StopWaitingFrames 2016-11-28 11:27:54 +07:00
Marten Seemann
cedbc819d3 only start new session if the client sends a version in the PublicHeader
fixes #349
2016-11-27 22:54:38 +07:00
Marten Seemann
2ae196761b reject CHLOs with wrong length client nonces
fixes #352
2016-11-27 21:18:14 +07:00
Lucas Clemente
6d6e8f941a Merge pull request #340 from lucas-clemente/fix-106
implement receive flow control window auto tuning
2016-11-18 22:10:39 +01:00
Marten Seemann
0d6356d9d8 rename PublicHeader.WritePublicHeader to PublicHeader.Write 2016-11-06 22:34:16 +07:00
Marten Seemann
877f62505f fix race condition in updConn
fixes #345
2016-11-02 20:03:19 +07:00
Marten Seemann
ca80df28d8 remove unnecessary mutex from receivedPacketHistory
fixes #335
2016-11-02 17:21:03 +07:00
Marten Seemann
9fba032637 set empty tls.ConnectionState in HTTP request
fixes #342
2016-11-02 16:48:17 +07:00
Marten Seemann
a2362f8575 fix flaky integration test suite setup 2016-11-02 13:30:08 +07:00
Marten Seemann
76cf0a2345 concatenate Cookie HPACK headers for the HTTP request
fixes #338
2016-11-01 19:54:14 +02:00
Marten Seemann
b7a9fcf85f implement auto-tuning of receive flow control windows
fixes #106
2016-10-31 12:51:26 +07:00
Marten Seemann
32d89eee02 pass RTTStats to the FlowControllers
ref #106
2016-10-30 17:36:36 +07:00
Marten Seemann
c8b7246159 create congestion RTTstats in Session
ref #106
2016-10-30 17:27:21 +07:00
Marten Seemann
bb24be8281 set http.Request.ContentLength from HPACK headers
fixes #337
2016-10-29 16:12:35 +07:00
Marten Seemann
29fe5cac76 only save timestamp of largest observed packet in ReceivedPacketHandler
fixes #336
2016-10-29 02:36:48 +07:00
Marten Seemann
867b1f6015 remove unused largestInOrderObserved from ReceivedPacketHandler 2016-10-29 01:48:54 +07:00
Marten Seemann
5163ae1f61 move duplicate detection to receivedPacketHistory 2016-10-29 01:29:01 +07:00
Marten Seemann
5fa4ea73e5 fix typo 2016-10-28 12:30:52 +07:00
Marten Seemann
2c11335de4 limit number of ACK ranges in ReceivedPacketHistory
fixes #195
2016-10-28 12:17:41 +07:00
Marten Seemann
6551a150e3 update go to 1.7.3 for CIs 2016-10-27 23:48:59 +07:00
Marten Seemann
7cf68d50db fix DOS against ReceivedPacketHandler garbage collector
fixes #334
2016-10-27 23:34:39 +07:00
Marten Seemann
2e7fb25672 remove variable type from congestion server parameters 2016-10-27 22:11:16 +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
ef977ee059 make h2quic.responseWriter implement http.Flusher as NOP
fixes #330
2016-10-14 11:35:10 +02:00
Lucas Clemente
81c8430adb disable bench tests on windows 2016-10-14 11:32:39 +02:00
Lucas Clemente
29c3259e42 add (disabled) profiling instrumentation to example server 2016-10-13 09:13:32 +01:00
Lucas Clemente
a919eead0b move streams map mutex to top of struct 2016-10-13 09:13:06 +01:00
Lucas Clemente
a46651e502 Merge pull request #329 from lucas-clemente/fix-327
Fix 327
2016-10-09 23:02:54 +02:00
Lucas Clemente
e81425dc71 add a -tcp flag to the example server that activates parallel TCP 2016-10-09 10:24:48 +02:00
Lucas Clemente
a6652deb2b add a h2quic.ListenAndServe method that listens on TCP in parallel
fixes #327
2016-10-09 10:23:59 +02:00
Lucas Clemente
5c43a55f5d fix a bug in h2server where tls config could be ignored 2016-10-09 10:14:38 +02:00
Lucas Clemente
b6850407e9 Merge pull request #328 from chestnutprog/master
fix writing of multiple headers with the same name
2016-10-05 12:06:00 +02:00
chestnutprog
02b50e2ffb fix writing of multiple headers with the same name 2016-10-05 11:52:06 +02:00
Lucas Clemente
06f09e9a1e update cert for tests 2016-10-02 15:22:31 +02:00
Lucas Clemente
f511eb0001 Merge pull request #326 from lucas-clemente/fix-287
add an integration uploading a lot of small files
2016-09-30 16:18:22 +02:00
Marten Seemann
78e42f1bf9 add an integration test for uploading many files at once
fixes #287
2016-09-28 13:16:46 +07:00
Marten Seemann
457f3f2027 add handlers to support uploading multiple files in integration tests
ref #287
2016-09-28 12:30:45 +07:00
Lucas Clemente
8f7a96dfaf retransmit two outstanding packets on RTO
fixes #324
2016-09-20 11:09:14 +02:00
Lucas Clemente
9e5bba7937 fix inchoate CHLO detection with missing STKs
This fixes a STK-bypass security issue discovered by Alessandro Ghedini.
2016-09-17 16:49:58 +02:00
Lucas Clemente
638f6ae5e5 remove unnecessary flow control manager call 2016-09-17 13:40:51 +02:00
Lucas Clemente
751150fd53 optimize flow control manager mutexes 2016-09-17 13:40:51 +02:00
Lucas Clemente
e8ef0de5b4 exit framer loop early if no space is left in packet 2016-09-17 13:40:51 +02:00
Lucas Clemente
2970ee3ac5 fix public header write error handling 2016-09-16 21:01:00 +02:00
Lucas Clemente
2592b9a97c optimize window update generation, reducing profiler footprint by 8% 2016-09-15 09:12:44 +02:00
Marten Seemann
7bd4d0852c update go to 1.7.1 for CIs 2016-09-15 14:10:53 +07:00
Lucas Clemente
9b2127018d add exponential backoff to RTO calculation
fixes #112
2016-09-09 00:26:18 +02:00
Lucas Clemente
5d0399bfe3 use LRU cache for cached certificates
fixes #268
2016-09-08 23:08:57 +02:00