Commit Graph

1067 Commits

Author SHA1 Message Date
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
Lucas Clemente
75e15e03f7 add a timeout for the benchmark test 2016-09-08 14:28:30 +02:00
Lucas Clemente
8d2ae833f0 Merge pull request #323 from lucas-clemente/timeouts
Improve timeouts
2016-09-08 14:26:39 +02:00
Lucas Clemente
d6e40cc3da use a different network timeout before the crypto handshake completes
ref #320
2016-09-08 13:48:26 +02:00
Lucas Clemente
3b66d2f35d add a timeout before crypto handshake completes 2016-09-08 13:37:44 +02:00
Lucas Clemente
634a0eb78c add new timeout consts
ref #320
2016-09-08 13:28:44 +02:00
Lucas Clemente
a0fb14381e don't send more packets when there are too many unacked
fixes #249, fixes #322
2016-09-08 11:21:03 +02:00
Lucas Clemente
2ca0fb7d21 Merge pull request #321 from lucas-clemente/fix-150
Fix 150
2016-09-07 18:29:43 +02:00
Lucas Clemente
6f4955d2d0 use new packet receive timestamp in sentPacketHandler
fixes #150
2016-09-07 15:51:04 +02:00
Lucas Clemente
29be6301ee take packet rcv timestamp directly after receiving from network 2016-09-07 15:51:04 +02:00
Lucas Clemente
099545521f use *receivedPacket thoughout the session 2016-09-07 15:51:04 +02:00
Lucas Clemente
e3c90c181a only consider novel packages for RTT 2016-09-07 15:51:04 +02:00
Lucas Clemente
aa645301c6 improve alignment of some structs 2016-09-07 15:45:33 +02:00
Lucas Clemente
809ea02511 use packetPacker.controlFrames as stack, decreasing allocs 2016-09-07 15:20:26 +02:00
Lucas Clemente
0911f0aae4 slightly improve utils.Write* performance by using slices 2016-09-05 23:38:40 +02:00
Lucas Clemente
53ae201fd2 remove stream.ReadByte 2016-09-05 23:22:49 +02:00
Lucas Clemente
bc54c50b7e replace CachingReader with io.TeeReader 2016-09-05 23:21:17 +02:00
Lucas Clemente
e3b8c413a5 simplify ParseHandshakeMessage signature 2016-09-05 23:19:46 +02:00
Lucas Clemente
b93f4ec831 minor cleanup 2016-09-05 23:10:18 +02:00
Lucas Clemente
8c6eb61850 set max tracked packets to max cwnd * 2 2016-09-05 13:35:10 +02:00
Lucas Clemente
3b1231db81 remove unused congestion const 2016-09-05 13:35:09 +02:00
Lucas Clemente
57cce4ebae increase max congestion window to 1k packets
ref #150, #289
2016-09-05 13:35:09 +02:00
Lucas Clemente
c0e043d931 improve benchmark tests again :) 2016-09-05 12:29:31 +02:00
Lucas Clemente
90fab5801e fix a memory leak in benchmark tests 2016-09-05 12:29:17 +02:00
Lucas Clemente
5b0a7f6ca3 Revert "improve benchmark test"
This reverts commit 934fc5b6a0.
2016-09-05 01:07:32 +02:00
Lucas Clemente
d837cd96b2 disable FIN-packing optimization, increasing transfer rate by 5% 2016-09-05 00:51:05 +02:00
Lucas Clemente
934fc5b6a0 improve benchmark test 2016-09-05 00:41:21 +02:00
Lucas Clemente
313dd5b2fa improve reading of stream frames, increasing transfer speed by ~10% 2016-09-05 00:36:33 +02:00
Lucas Clemente
d6b8f34c9c Merge pull request #316 from lucas-clemente/version-36
Add support for version 36
2016-09-05 00:00:59 +02:00
Lucas Clemente
5ffc2f539d add support for version 36
fixes #312
2016-09-04 23:33:31 +02:00
Lucas Clemente
8a0b9b3b9e use chrome dev in integration tests for testing v36 2016-09-04 23:33:31 +02:00
Lucas Clemente
e856c08645 write http headers in lower case
fixes #317
2016-09-04 11:38:10 +02:00