Commit Graph

2394 Commits

Author SHA1 Message Date
Marten Seemann
cd4bcda458 read and write the stream id limits sent in the TLS handshake 2018-02-06 08:30:57 +08:00
Marten Seemann
8b04cd2bde Merge pull request #1151 from lucas-clemente/uni-streams
implement a streams map for handling unidirectional and bidirectional streams
2018-02-06 08:27:51 +08:00
Marten Seemann
c33c4bf91e Merge pull request #1157 from lucas-clemente/stream-ietf-integration-tests
run the integration tests using many streams with IETF QUIC
2018-02-06 08:22:36 +08:00
Marten Seemann
02949853f7 use the new stream maps for the IETF QUIC streams map 2018-02-06 07:53:34 +08:00
Marten Seemann
be6493eff8 implement a map for incoming streams 2018-02-06 07:49:10 +08:00
Marten Seemann
035799a326 implement a map for outgoing streams 2018-02-06 07:49:10 +08:00
Marten Seemann
d0ffeac801 also run the integration tests using many streams with IETF QUIC 2018-02-06 07:42:31 +08:00
Marten Seemann
dadd8071f1 Merge pull request #1156 from lucas-clemente/fix-1155
correctly handle IETF STREAM frames
2018-02-06 07:40:19 +08:00
Marten Seemann
80969de93f fix splitting of STREAM frames for IETF QUIC
Move splitting of STREAM frames from the quic package to the wire
package.
2018-02-05 12:02:58 +08:00
Marten Seemann
5974c6c113 correctly determine the length of STREAM frames for IETF QUIC
The length of the data has an influence on the length of the frame (if
it contains the data length), and the length can either consume 1 or 2
bytes due to variable length encoding.
2018-02-05 12:02:49 +08:00
Marten Seemann
38c420a35b include the packet size in the error when packing a too large packet 2018-02-05 09:17:30 +08:00
Marten Seemann
30851b9a3b Merge pull request #1139 from lucas-clemente/milestone-0.7
release 0.7.0
v0.7.0
2018-02-03 17:52:57 +08:00
Marten Seemann
c76e63239f release 0.7.0 2018-02-03 17:17:55 +08:00
Marten Seemann
187747daf0 Merge pull request #1144 from lucas-clemente/streams-map-put-stream-error
return the putStream error in the streamsMap
2018-02-02 20:59:42 +08:00
Marten Seemann
9f10ecff05 Merge pull request #1146 from lucas-clemente/fix-1145
stop handling a packet after sending a Version Negotiation Packet
2018-02-02 20:59:27 +08:00
Marten Seemann
abca408e54 Merge pull request #1143 from lucas-clemente/mint-verify-peer-certificate
copy VerifyPeerCertificate from the tls.Config to the mint.Config
2018-02-02 20:42:28 +08:00
Marten Seemann
4def9c1758 Merge pull request #1148 from lucas-clemente/fix-1147
pass the version to the receiveStream constructor
2018-02-02 20:41:25 +08:00
Marten Seemann
c2c46c176b Merge pull request #1142 from lucas-clemente/fix-1141
fix flaky pacing test on CIs
2018-02-02 20:40:00 +08:00
Marten Seemann
827b3c6f5d fix flaky pacing test on CIs 2018-02-02 17:49:14 +08:00
Marten Seemann
5d45bb046b pass the version to the receiveStream constructor 2018-02-02 15:01:03 +08:00
Marten Seemann
2ca4796864 stop handling a packet after sending a Version Negotiation Packet 2018-02-02 13:57:10 +08:00
Marten Seemann
25b8052985 return the putStream error in the streamsMap 2018-02-02 12:01:04 +08:00
Marten Seemann
e16131b391 copy VerifyPeerCertificate from the tls.Config to the mint.Config 2018-02-02 11:01:34 +08:00
Marten Seemann
d0a394430f Merge pull request #1138 from lucas-clemente/internalize-ackhandler-and-congestion
internalize ackhandler and congestion
2018-02-02 09:27:12 +08:00
Marten Seemann
f3a338e3e4 Merge pull request #1131 from lucas-clemente/insecure-skip-verify
enable InsecureSkipVerify with mint
2018-02-02 09:03:24 +08:00
Marten Seemann
3b82628dbe internalize ackhandler and congestion 2018-02-02 08:40:56 +08:00
Marten Seemann
94c98861d5 Merge pull request #1123 from lucas-clemente/fix-965
ignore the delay in an ACK if it results in an RTT less than minRTT
2018-02-02 08:40:21 +08:00
Marten Seemann
706a828e16 copy InsecureSkipVerify from the tls.Config to the mint.Config
mint now supports InsecureSkipVerify.
2018-02-02 08:32:22 +08:00
Marten Seemann
97413c5281 Merge pull request #1130 from lucas-clemente/update-mint
update recent mint changes
2018-02-02 08:31:47 +08:00
Marten Seemann
def3700fd1 ignore the delay in an ACK if it results in an RTT less than minRTT 2018-02-02 08:18:50 +08:00
Marten Seemann
d671cf134c don't force clients to use tls.Config.InsecureSkipVerify when using mint
mint recently implemented certificate verification.
This reverts commit d76f5a839c.
2018-02-02 08:18:29 +08:00
Marten Seemann
1cc209e4fb update mint, and adapt to the new use of the extension handler 2018-02-02 08:18:29 +08:00
Marten Seemann
65eaf8131d Merge pull request #1134 from lucas-clemente/optimize-packet-history-cleanup
optimize deleting packets from the packet history
2018-02-02 07:58:59 +08:00
Marten Seemann
94e812df12 optimize deleting packets from the packet history
DeleteBelow is often called with the same value, so we can improve the
performance by introducing a short path for this case.
2018-02-01 23:51:57 +08:00
Marten Seemann
29307c5067 Merge pull request #1132 from lucas-clemente/perspective-stringer
add a string representation for the perspective
2018-02-01 23:51:29 +08:00
Marten Seemann
8e5ee7c3e0 Merge pull request #1140 from lucas-clemente/fix-1136
make the h2quic client test less racy
2018-02-01 23:50:28 +08:00
Marten Seemann
7c9b18ea67 make the h2quic client test less racy 2018-02-01 22:35:53 +08:00
Marten Seemann
1ed8cc0c06 Merge pull request #1137 from lucas-clemente/fix-1135
make sure that at least every 20th ACK is retransmittable
2018-02-01 22:35:31 +08:00
Marten Seemann
fbeba1f73a make sure that at least every 20th ACK is retransmittable
This is important because we need to make sure that we can remove old
ACK ranges from the received packet history. The logic we implemented
before was not correct, since we only made sure that every 20th packet
would be retransmittable, but we didn't have any guarantee that this
packet would also contain an ACK frame.
2018-02-01 17:11:05 +08:00
Marten Seemann
2ec147ccfa add a string representation for the perspective 2018-02-01 12:59:24 +08:00
Marten Seemann
d9d384b6ed Merge pull request #1128 from lucas-clemente/go1.9.3
update CIs to Go 1.9.3 and Go 1.10rc1
2018-02-01 10:05:56 +07:00
Marten Seemann
c36532cff4 Merge pull request #1127 from lucas-clemente/less-acks
only send one ACK for every 10 retransmittable packets
2018-01-30 15:01:53 +07:00
Marten Seemann
9984a179dd Merge pull request #1120 from lucas-clemente/fix-747
implement a Dial function for the h2quic.RoundTripper
2018-01-30 15:00:27 +07:00
Marten Seemann
c41eb92b98 update CIs to Go 1.9.3 and Go 1.10rc1 2018-01-30 14:57:28 +07:00
Marten Seemann
fc5f54824a only send one ACK for every 10 retransmittable packets 2018-01-28 17:59:37 +07:00
Marten Seemann
96a31a51e5 Merge pull request #1126 from lucas-clemente/mint-is-insecure
force clients to set tls.Config.InsecureSkipVerify when using mint
2018-01-26 21:50:55 +11:00
Marten Seemann
d76f5a839c force clients to set tls.Config.InsecureSkipVerify when using mint
mint doesn't verify the certificate chain. This change forces users of
quic-go to acknowledge mint's insecure behavior by explicitely setting
InsecureSkipVerify.
2018-01-26 21:31:44 +11:00
Marten Seemann
db0a3d105e Merge pull request #1125 from lucas-clemente/pacing-changelog
add a Changelog entry for packet pacing
2018-01-23 22:02:36 +11:00
Marten Seemann
19cd13a48a add a Changelog entry for packet pacing 2018-01-23 13:41:40 +11:00
Marten Seemann
f3654900cd Merge pull request #1122 from lucas-clemente/fix-1121
correctly handle completed streams when popping frames
2018-01-23 09:47:13 +11:00