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
Marten Seemann
d0897fa0b3
ignore HTTP2 PRIORITY frames in the server
2018-06-05 12:30:30 +02:00
Marten Seemann
bc2163777f
properly initialise the random number generator in the integration tests
2018-06-03 10:56:16 +08:00
Marten Seemann
1fc6c5a14c
Merge pull request #1372 from lucas-clemente/quic-42
...
add support for QUIC 42
2018-06-02 20:41:18 +08:00
Marten Seemann
f1b49c2280
add a CircleCI badge to the README
2018-06-02 20:26:06 +08:00
Marten Seemann
ba0bf6be76
Merge pull request #1382 from lucas-clemente/fix-1364
...
fix deadlock between onStreamCompleted and Session.Close
2018-06-02 20:23:10 +08:00
Marten Seemann
3370f9fa58
add support for QUIC 42
...
QUIC 42 accepts overlapping stream data. We've been doing this for some
time already, so we don't need any additional changes.
2018-06-02 19:49:28 +08:00
Marten Seemann
2a4eb9c132
use the correct QUIC version in the Chrome integration tests
...
Because the version variable was set in the loop, we would always start
a QUIC server with the lowest support QUIC version.
2018-06-02 19:49:28 +08:00
Marten Seemann
a3821af65a
don't run Chrome integration tests on Travis
2018-06-02 19:39:11 +08:00
Marten Seemann
4b82db4d6d
fix working directory in CircleCI config
2018-06-02 18:56:02 +08:00
Lucas Clemente
9be3ba1be0
Merge pull request #1383 from lucas-clemente/circle
...
run integration tests on CircleCI
2018-06-01 13:20:20 +01:00
Marten Seemann
cdee407331
Merge pull request #1360 from nogoegst/request-host-fix
...
Use http.Request.Host only for authority header and not for dialing
2018-06-01 18:28:11 +08:00
Marten Seemann
d4a1e75ae1
run integration tests on CircleCI, disable Chrome tests on Travis
2018-06-01 14:32:18 +08:00