Commit Graph

2757 Commits

Author SHA1 Message Date
Marten Seemann
1f4335ffce fix buffer size for version negotiation packets 2018-07-01 14:06:35 +07:00
Marten Seemann
3f9212b5f7 Merge pull request #1354 from lucas-clemente/milestone-0.8.0
release 0.8.0
2018-06-27 09:56:43 +07:00
Marten Seemann
5cae625199 release 0.8.0 2018-06-26 16:38:01 +07:00
Marten Seemann
3aa6c99943 Merge pull request #1417 from lucas-clemente/remove-omit-conn-id
remove the OmitConnectionID field from the Header
2018-06-25 20:05:42 +07:00
Marten Seemann
7b96d158d2 remove the OmitConnectionID field from the Header struct
Instead, just look at the length of the destination connection ID.
2018-06-24 17:21:41 +07:00
Marten Seemann
fc57bf6c35 only set the destination connection ID for the Public Header 2018-06-24 16:47:59 +07:00
Marten Seemann
c9a9b57030 Merge pull request #1409 from lucas-clemente/multiplex-tests
add an integration test multiplexing multiple clients on one packet conn
2018-06-23 12:15:34 +07:00
Marten Seemann
e07411ebe6 add an integration test multiplexing two downloads on one connection 2018-06-23 11:33:56 +07:00
Marten Seemann
0b2e0c3146 Merge pull request #1407 from lucas-clemente/client-session-handling
multiplex multiple clients on one packet conn
2018-06-23 11:07:39 +07:00
Marten Seemann
8295a6b67c Merge pull request #1404 from lucas-clemente/self-rtt-integration-test
add a self integration test with different roundtrip times
2018-06-23 10:02:13 +07:00
Marten Seemann
2c05dbff07 multiplex multiple clients on one packet conn 2018-06-23 08:35:11 +07:00
Marten Seemann
2c9322c68f add a self integration test with different roundtrip times 2018-06-23 08:33:45 +07:00
Marten Seemann
dacc94ccba rename the sessionMap to packetHandlerMap 2018-06-23 08:20:29 +07:00
Marten Seemann
97e734e973 refactor packet handling functions in the client 2018-06-23 08:20:27 +07:00
Marten Seemann
b3fd768a61 use a smaller packetHandler interface
The packetHandler interface just needs two methods: one for handling
packets, and one for closing.
2018-06-23 08:16:51 +07:00
Marten Seemann
ef34d9e85f start running TLS server session directly when creating them 2018-06-23 08:16:51 +07:00
Marten Seemann
e98228df9d Merge pull request #1416 from lucas-clemente/reduce-drop-rate
reduce the drop rate in the self drop tests from 1/4 to 1/5
2018-06-21 22:31:44 +07:00
Marten Seemann
44cd1f1813 reduce the drop rate in the self drop tests from 1/4 to 1/5 2018-06-20 23:14:17 +07:00
Marten Seemann
5081ea5eb5 Merge pull request #1403 from lucas-clemente/only-accept-one-retry
only accept a single Retry packet for a connection
2018-06-20 22:14:09 +07:00
Marten Seemann
b28615125d only accept authenticated Retry packets 2018-06-19 22:06:38 +07:00
Marten Seemann
3601f06aed only accept a single Retry packet for a connection 2018-06-19 21:49:59 +07:00
Marten Seemann
7e6921b29e Merge pull request #1414 from lucas-clemente/remove-stray-debug
remove stray debug statement when handling packets in the client
2018-06-19 20:57:34 +07:00
Marten Seemann
c1d6433d9b Merge pull request #1411 from lucas-clemente/min-initial-connid-len
drop Initial packets that have a too short Destination Connection ID
2018-06-19 20:53:25 +07:00
Marten Seemann
77b418ac68 Merge pull request #1413 from lucas-clemente/fix-1412
only set the loss detection alarm if packets are outstanding
2018-06-19 20:48:05 +07:00
Marten Seemann
54d0a0e7e9 remove stray debug statement when handling packets in the client 2018-06-18 13:29:19 +07:00
Marten Seemann
4633acd7bf only set the loss detection alarm if packets are outstanding 2018-06-18 10:42:45 +07:00
Marten Seemann
f7e05c3158 drop Initial packets that have a too short Destination Connection ID 2018-06-16 21:15:46 +07:00
Marten Seemann
a737aca658 Merge pull request #1408 from lucas-clemente/update-go-on-cis
update Go to 1.9.7 and 1.10.3 on the CIs
2018-06-16 14:01:27 +07:00
Marten Seemann
c0dba2e990 update Go to 1.9.7 and 1.10.3 on the CIs 2018-06-16 13:37:06 +07:00
Marten Seemann
6835f5d74c Merge pull request #1406 from lucas-clemente/dial-context
implement dial functions that use a context
2018-06-15 05:43:58 +07:00
Marten Seemann
f26a68d45c implement dial functions that use a context 2018-06-14 16:15:32 +07:00
Marten Seemann
7356fc05d5 Merge pull request #1398 from lucas-clemente/remove-script
remove leftover CircleCI script
2018-06-13 15:43:09 +02:00
Marten Seemann
d777c6be56 remove leftover CircleCI script 2018-06-13 14:38:18 +02:00
Marten Seemann
570cd864fd Merge pull request #1400 from lucas-clemente/ignore-wrong-src-connid
drop packets with different source connection IDs
2018-06-12 20:20:17 +02:00
Marten Seemann
e5746e0881 drop packets with different source connection IDs
The server can change the connection ID with the first Handshake packet.
Afterwards, packets with different source connection IDs have to be
ignored. Otherwise, for example the retransmission of the Initial packet
might create two sessions on the server with different source connection
IDs on the server side, but the same connection ID on the client side.
2018-06-11 21:37:56 +02:00
Marten Seemann
7431602a89 Merge pull request #1399 from lucas-clemente/remove-hol-experiment
remove FHL2 experiment
2018-06-11 11:15:20 +02:00
Marten Seemann
d32665af9d remove FHL2 experiment
FHL2 was an experiment in Chrome, run in Q036, which introduced HOL
blocking. This experiment is over, so we can remove the code to send a
PUBLIC_RESET when a peer initiates this experiment.
2018-06-10 17:02:06 +02:00
Marten Seemann
2814e580b1 Merge pull request #1397 from lucas-clemente/certs
update certs
2018-06-09 16:54:25 +02:00
Lucas Clemente
7a566d9f28 Update certs 2018-06-09 11:27:13 +02:00
Marten Seemann
48ef98f641 Merge pull request #1388 from lucas-clemente/varint-packet-numbers
use varint packet numbers in IETF QUIC headers
2018-06-06 16:26:49 +02:00
Marten Seemann
3e03055a7d use varint packet numbers in IETF QUIC headers 2018-06-06 16:07:47 +02:00
Marten Seemann
61d7fa5c85 Merge pull request #1393 from lucas-clemente/change-tls-extension-codepoint
change the TLS extension code point
2018-06-06 15:04:18 +02:00
Marten Seemann
fd8ff0265f Merge pull request #1395 from lucas-clemente/fix-1392
fix flaky session test
2018-06-06 14:58:47 +02:00
Marten Seemann
4616f06996 fix flaky session test 2018-06-06 12:01:16 +02:00
Marten Seemann
bd6fd979a4 implement parsing and writing of varint packet numbers 2018-06-05 22:18:35 +02:00
Marten Seemann
63195fcb68 change the TLS extension code point 2018-06-05 15:11:49 +02:00
Marten Seemann
e53b611961 Merge pull request #1373 from lucas-clemente/quic-43
add support for QUIC 43
2018-06-05 13:43:06 +02:00
Marten Seemann
530170430a add support for QUIC 43 2018-06-05 12:41:56 +02:00
Marten Seemann
2e66aeeb66 Merge pull request #1387 from lucas-clemente/init-random-in-integrationtests
properly initialise the random number generator in the integration tests
2018-06-05 12:33:41 +02:00
Marten Seemann
7f1a15169e Merge pull request #1386 from lucas-clemente/circleci-badge
add a CircleCI badge to the README
2018-06-05 12:33:23 +02:00