Commit Graph

2464 Commits

Author SHA1 Message Date
Marten Seemann
d58b7bb4fd reenable the version negotiation integration tests 2018-02-26 14:43:23 +08:00
Marten Seemann
624ac61412 reject unknown versions in the quic.Config 2018-02-26 11:07:06 +08:00
Marten Seemann
cd01b55090 Merge pull request #1207 from lucas-clemente/fix-1206
don't send greased version numbers for gQUIC
2018-02-26 08:46:07 +08:00
Marten Seemann
2ab2baf4bc don't send greased version numbers for gQUIC 2018-02-25 23:19:52 +08:00
Marten Seemann
e26c1f09de Merge pull request #1205 from lucas-clemente/update-mint
update mint
2018-02-25 19:41:39 +08:00
Marten Seemann
fd7007db50 Merge pull request #1203 from lucas-clemente/remove-duplicate-proxy-log
remove duplicate log statement in the proxy
2018-02-25 19:41:17 +08:00
Marten Seemann
d1ccef51a7 update mint 2018-02-25 11:58:35 +08:00
Marten Seemann
03171bc725 remove duplicate log statement in the proxy 2018-02-24 10:19:53 +08:00
Marten Seemann
6ca44459e5 Merge pull request #1158 from lucas-clemente/uni-stream-integration-test
add integration tests using many unidirectional streams
2018-02-24 09:31:39 +08:00
Marten Seemann
f3323c21f9 add integration tests using many unidirectional streams 2018-02-24 09:17:10 +08:00
Marten Seemann
189c1060bd Merge pull request #1202 from lucas-clemente/gofmt
run gofmt -s
2018-02-24 00:57:40 +08:00
Marten Seemann
86e57706df run gofmt -s 2018-02-23 23:38:08 +08:00
Marten Seemann
598d023802 Merge pull request #1199 from lucas-clemente/gometalinter
use gometalinter to run code quality checks
2018-02-23 23:06:01 +08:00
Marten Seemann
81974d30d6 run gosimple in gometalinter 2018-02-23 22:42:32 +08:00
Marten Seemann
286a51bcc0 run staticcheck in gometalinter 2018-02-23 22:42:32 +08:00
Marten Seemann
b6470311ea run unused in gometalinter 2018-02-23 22:42:32 +08:00
Marten Seemann
c3ec497a2e run unconvert in gometalinter 2018-02-23 22:42:22 +08:00
Marten Seemann
a9797d9341 run structcheck in gometalinter 2018-02-23 22:39:08 +08:00
Marten Seemann
6555907162 run goimports in gometalinter 2018-02-23 22:39:08 +08:00
Marten Seemann
11af98e338 run misspell in gometalinter 2018-02-23 22:39:08 +08:00
Marten Seemann
b6c41464c6 run varcheck in gometalinter 2018-02-23 22:39:08 +08:00
Marten Seemann
cda87e5db2 run deadcode in gometalinter 2018-02-23 22:39:08 +08:00
Marten Seemann
37aa577560 run ineffassign in gometalinter 2018-02-23 22:39:08 +08:00
Marten Seemann
548916e902 run gometalinter with go vet 2018-02-23 22:39:08 +08:00
Marten Seemann
2f157769c0 Merge pull request #1197 from lucas-clemente/fix-523
make the number of incoming streams configurable
2018-02-23 22:37:25 +08:00
Marten Seemann
119d5b2e8a Merge pull request #1200 from lucas-clemente/fix-1174
delete handshake packets from history when receiving a forward-secure packet
2018-02-23 22:29:10 +08:00
Marten Seemann
245af2c596 make the number of incoming streams configurable, for gQUIC 2018-02-23 22:15:31 +08:00
Marten Seemann
58b20c6009 make the number of incoming streams configurable, for IETF QUIC 2018-02-23 22:15:31 +08:00
Marten Seemann
8fd7219bfc delete handshake packets from history when receiving a forward-secure packet 2018-02-23 22:15:10 +08:00
Marten Seemann
ecad36a65b Merge pull request #1193 from lucas-clemente/fix-1129
implement the recent key schedule changes
2018-02-23 22:10:03 +08:00
Marten Seemann
b623600dfc Merge pull request #1201 from lucas-clemente/congestion-golint
make golint happy about the congestion tests
2018-02-23 21:45:40 +08:00
Marten Seemann
dcd2659925 implement the recent key schedule changes 2018-02-23 21:43:19 +08:00
Marten Seemann
6fcdcdbea1 make golint happy about the congestion tests 2018-02-23 20:56:07 +08:00
Marten Seemann
c65b1aca4e Merge pull request #1187 from lucas-clemente/buffer-pool-pointer
use pointer to byte slices in the buffer pool
2018-02-23 20:50:24 +08:00
Marten Seemann
7f3799e070 Merge pull request #1198 from lucas-clemente/fix-1168
don't retransmit Initial packets after receiving the first packet
2018-02-23 20:42:15 +08:00
Marten Seemann
4ae811e2d6 Merge pull request #1196 from lucas-clemente/fix-1195
fix IETF Version Negotiation Packet, it doesn't have a packet number
2018-02-23 20:14:06 +08:00
Marten Seemann
07b8821ef7 use pointer to byte slices in the buffer pool
https://staticcheck.io/docs/staticcheck#SA6002 suggests to use pointers
to objects in the sync.Pool.
2018-02-23 18:57:12 +08:00
Marten Seemann
26013b8d64 don't retransmit Initial packets after receiving the first packet 2018-02-23 17:57:42 +08:00
Marten Seemann
d16dea09cc Merge pull request #1166 from lucas-clemente/fix-1163
retransmit Initial packets as Initial packets
2018-02-23 17:25:22 +08:00
Marten Seemann
88da8e2e0a retransmit Initial packets as Initial packets 2018-02-23 15:58:24 +08:00
Marten Seemann
a4bc7362e0 fix IETF Version Negotiation Packet, it doesn't have a packet number 2018-02-23 14:20:47 +08:00
Marten Seemann
4e20ae142c Merge pull request #1190 from lucas-clemente/proxy-closing
properly close the UDP proxy used in the integration tests
2018-02-22 19:59:13 +08:00
Marten Seemann
ab72765a79 Merge pull request #1189 from lucas-clemente/fix-1188
fix race conditions in new streams maps
2018-02-22 19:25:53 +08:00
Marten Seemann
b1095d0661 properly close the UDP proxy used in the integration tests 2018-02-22 19:13:07 +08:00
Marten Seemann
8bf38c9b21 Merge pull request #1192 from lucas-clemente/proxy-logging
add some debug logging for the proxy
2018-02-22 19:12:25 +08:00
Marten Seemann
4fa68b0788 fix race condition in GetStream in outgoing streams map 2018-02-22 18:48:53 +08:00
Marten Seemann
e181f92917 add some debug logging for the proxy 2018-02-22 17:55:48 +08:00
Marten Seemann
77a4bf17ca fix race condition in GetOrOpenStream in incoming streams map 2018-02-22 09:21:31 +08:00
Marten Seemann
6322412eb8 Merge pull request #1153 from lucas-clemente/expose-uni-streams
expose methods for opening and accepting unidirectional streams
2018-02-21 22:46:52 +08:00
Marten Seemann
da49295b52 expose methods for opening and accepting unidirectional streams 2018-02-21 22:19:37 +08:00