Commit Graph

4001 Commits

Author SHA1 Message Date
Marten Seemann
6bc304570b fix logging of the PTO packet number space 2019-11-23 14:58:11 +07:00
Marten Seemann
92b898e811 Merge pull request #2218 from lucas-clemente/pto-per-pn-space
change PTO to be per packet number space
2019-11-22 18:35:05 +08:00
Marten Seemann
0552e7e1c5 Merge pull request #2222 from lucas-clemente/fix-stop-sending-frame
fix encoding of the error code in the STOP_SENDING frame
2019-11-20 10:36:58 +08:00
Marten Seemann
c972af77d5 Merge pull request #2205 from lucas-clemente/update-key-update-label
update the label used for the key updates for draft-24
2019-11-20 10:36:33 +08:00
Marten Seemann
aed2c86ae0 Merge pull request #2224 from lucas-clemente/fix-quic-trace
fix recording of sent and lost frames for quic-trace
2019-11-19 10:54:28 +08:00
Marten Seemann
8fb86568bf use the receive time of a packet for tracing 2019-11-19 10:10:23 +08:00
Marten Seemann
45b1913a6e Merge pull request #2223 from lucas-clemente/godoc-nolint
remove nolint commands that show up in GoDoc
2019-11-19 10:08:57 +08:00
Marten Seemann
da996f8066 fix recording of sent and lost frames for quic-trace 2019-11-18 12:50:16 +08:00
Marten Seemann
b69e2a805f remove nolint commands that show up in GoDoc 2019-11-16 18:52:25 +08:00
Marten Seemann
d6add122d8 update the label used for the key update derivation 2019-11-16 17:51:35 +08:00
Marten Seemann
8e7a462007 fix encoding of the error code in the STOP_SENDING frame 2019-11-16 15:03:19 +08:00
Marten Seemann
f3e3def599 don't send application data probe packets before the handshake completes 2019-11-12 14:12:24 +07:00
Marten Seemann
9c3b553e47 change PTO to be per packet number space 2019-11-12 11:29:51 +07:00
Marten Seemann
fbbe225719 implement a function to pack probe packets 2019-11-12 11:27:30 +07:00
Marten Seemann
5f14b03135 refactor packet packer 2019-11-12 11:27:30 +07:00
Marten Seemann
3db60534cf use a sentinel error when a sealer is not yet available 2019-11-12 11:27:30 +07:00
Marten Seemann
d00828b762 make it possible to get the PTO with and without max_ack_delay 2019-11-12 11:27:30 +07:00
Marten Seemann
c5b76e4f86 Merge pull request #2216 from lucas-clemente/max-keep-alive-interval
send keep alive PINGs at least every 20 seconds
2019-11-12 09:12:19 +07:00
Marten Seemann
bd94f21ab0 send keep alive PINGs at least every 20 seconds 2019-11-10 11:06:38 +07:00
Marten Seemann
a50b174703 Merge pull request #2215 from lucas-clemente/fix-h3-alpn-in-get-config-for-client
don't replace the ALPN in the tls.Config returned by GetConfigForClient
2019-11-09 17:47:53 +07:00
Marten Seemann
b444ca613c don't replace the ALPN in the tls.Config returned by GetConfigForClient 2019-11-09 17:26:52 +07:00
Marten Seemann
a3663a049d Merge pull request #2213 from lucas-clemente/stream-completed-fixes
only call the onStreamCompleted callback once in the receiveStream
2019-11-09 17:17:10 +07:00
Marten Seemann
437eff587f Merge pull request #2211 from lucas-clemente/frame-type-errors
use the frame type in CONNECTION_CLOSE frames for frame parsing errors
2019-11-09 12:57:00 +07:00
Marten Seemann
312fb638be send the frame type in CONNECTION_CLOSE frames 2019-11-09 11:39:35 +07:00
Marten Seemann
dbdccfa70a include the frame type in the error returned by the frame parser 2019-11-09 11:39:35 +07:00
Marten Seemann
76c742a43d include the frame type in the QuicError error message 2019-11-09 11:39:35 +07:00
Marten Seemann
2c2b5da612 Merge pull request #2209 from lucas-clemente/stream-count-errors
throw FRAME_ENCODING_ERRORs when MAX_STREAMs and STREAMS_BLOCKED frame exceed the maximum stream count
2019-11-09 11:37:23 +07:00
Marten Seemann
5af9d82de8 Merge pull request #2210 from lucas-clemente/application-error-codes
use the application-specific variant of CONNECTION_CLOSE
2019-11-09 11:36:52 +07:00
Marten Seemann
529e14d0cc simplify onStreamCompleted in the receiveStream 2019-11-09 11:36:09 +07:00
Marten Seemann
dc66c8a4e4 fix handling of RESET_STREAM frames after receiving the final offset 2019-11-09 11:36:09 +07:00
Marten Seemann
63585d1b5e fix handling of duplicate FIN bits after a stream was canceled 2019-11-09 11:35:58 +07:00
Marten Seemann
e6e343fc39 Merge pull request #2208 from lucas-clemente/fix-stream-deletion-errors
fix error message for stream deletion errors
2019-11-08 17:56:10 +07:00
Marten Seemann
ef2e0309f3 Merge pull request #2206 from lucas-clemente/ignore-reordered-ncid-frames
retire reordered NEW_CONNECTION_IDs that were already retired
2019-11-08 17:06:08 +07:00
Marten Seemann
23c5bfb306 Merge pull request #2207 from lucas-clemente/fix-cert-check-in-example-client
fix certificate check in the example client
2019-11-08 17:05:36 +07:00
Marten Seemann
6a9a591a10 use application-specific CONNECTION_CLOSE for normal termination 2019-11-08 14:22:50 +07:00
Marten Seemann
a472ac4731 use application-specific CONNECTION_CLOSE for application errors 2019-11-08 13:52:15 +07:00
Marten Seemann
5d54a11e04 add an overflow check to the STREAMS_BLOCKED frame parser 2019-11-08 11:50:22 +07:00
Marten Seemann
1e7c7842b9 move overflow check in MAX_STREAMS frame to frame parser 2019-11-08 11:44:56 +07:00
Marten Seemann
9f5df74bd1 add a test that protocol.MaxStreamCount has the correct value 2019-11-08 11:42:24 +07:00
Marten Seemann
4b58bc0d07 make the stream deletion error message more specific 2019-11-08 11:09:54 +07:00
Marten Seemann
394ff04fb1 fix error message for stream deletion errors 2019-11-08 11:00:43 +07:00
Marten Seemann
4febf95c0b fix certificate check in the example client 2019-11-07 10:29:55 +07:00
Marten Seemann
63aa38eefa retire reordered NEW_CONNECTION_IDs that were already retired 2019-11-06 17:37:23 +07:00
Marten Seemann
914193cc9d Merge pull request #2203 from lucas-clemente/randomize-conn-id-change
randomize the number of packets sent with the same connection ID
2019-11-06 15:46:47 +07:00
Marten Seemann
2a8b038ca6 randomize the number of packets sent with the same connection ID 2019-11-05 16:16:58 +07:00
Marten Seemann
8e3921ca3e Merge pull request #2199 from lucas-clemente/version-negotiation-interop-test
add support for the version negotiation interop test
2019-11-05 11:25:03 +07:00
Marten Seemann
2f9b429254 Merge pull request #2196 from lucas-clemente/new-conn-ids
issue and use new connection IDs
2019-11-05 11:24:41 +07:00
Marten Seemann
04105625ae issue new connection IDs 2019-11-05 11:00:07 +07:00
Marten Seemann
5d0d0d0679 implement replacing with a closed session for all active connection IDs 2019-11-05 11:00:07 +07:00
Marten Seemann
f948165824 implement removing of all active connection IDs 2019-11-05 11:00:07 +07:00