Commit Graph

1914 Commits

Author SHA1 Message Date
Marten Seemann
039edc1ccd add an integration test for version negotiation 2017-09-15 17:28:03 +07:00
Marten Seemann
7003450d2b fix version negotiation 2017-09-15 17:28:03 +07:00
Marten Seemann
9029d6e7d7 Merge pull request #821 from lucas-clemente/benchmark-fixes
various small fixes for the benchmark test
2017-09-15 17:10:46 +07:00
Marten Seemann
7addb1f9fe Merge pull request #822 from lucas-clemente/remove-is-duplicate
remove unused duplicate packet detection in the ackHandler
2017-09-15 17:09:43 +07:00
Marten Seemann
31ada37e22 enable logging via command line flag in benchmark tests
using the same package used in the integration tests
2017-09-15 16:54:49 +07:00
Marten Seemann
222d34655a fix transfer rate calculation 2017-09-15 16:54:33 +07:00
Marten Seemann
d9b9d83458 remove unused duplicate packet detection in the ackHandler 2017-09-14 17:55:55 +07:00
Marten Seemann
a3e37aa400 actually run the benchmark tests with the selected version 2017-09-14 12:45:25 +07:00
Marten Seemann
fb294e841a remove unneeded optimization in the benchmark test
It's not needed anymore since github.com/onsi/gomega/pull/225
was merged.
2017-09-14 12:32:38 +07:00
Marten Seemann
34996e2a29 Merge pull request #820 from lucas-clemente/fix-392
add an integration test with dropped packets during the handshake
2017-09-12 11:05:52 +02:00
Marten Seemann
0c26a6eaf2 add an integration test for dropped packets during the handshake 2017-09-12 15:39:59 +07:00
Marten Seemann
1993ce7228 add drop tests with stochastically dropped packets 2017-09-12 15:36:49 +07:00
Marten Seemann
142abb08b3 refactor drop tests, add test with dropped packets in both directions 2017-09-12 15:36:49 +07:00
Marten Seemann
792047a2c5 Merge pull request #819 from lucas-clemente/server-tests-quic-versions
run integration tests with the quic_server with all supported versions
2017-09-12 10:31:29 +02:00
Marten Seemann
ad4bdb993c Merge pull request #818 from lucas-clemente/stk-type-alias
use a type alias for the STK
2017-09-12 10:29:22 +02:00
Marten Seemann
b7d8d33645 Merge pull request #817 from lucas-clemente/improve-proxy
improve the QUIC proxy
2017-09-12 10:25:38 +02:00
Marten Seemann
3cc34a3ae7 don't parse the Public Header in the proxy 2017-09-12 14:42:27 +07:00
Marten Seemann
7ba9fb0f8b use a kernel determined server address in proxy tests
Now we can execute the proxy tests in parallel without running into
"address already in use" errors.
2017-09-12 14:38:37 +07:00
Marten Seemann
4da08c9710 use a type alias for the STK 2017-09-11 18:38:24 +02:00
Marten Seemann
99f4a923cd run integration tests with the quic_server with all supported versions 2017-09-11 15:55:39 +02:00
Marten Seemann
71f7ab1326 Merge pull request #812 from lucas-clemente/travis-chrome-quic39
activate Chrome tests with QUIC 39 on Travis
2017-09-11 11:35:20 +02:00
Marten Seemann
7ea4e6d9ae Merge pull request #815 from lucas-clemente/fix-proxy
fix Public Header parsing in the proxy
2017-09-11 12:12:23 +03:00
Marten Seemann
11a31cfdac fix version dependent Public Header parsing in the proxy 2017-09-10 23:26:14 +02:00
Marten Seemann
5c7f104b6d activate Chrome tests with QUIC 39 on Travis
The Chrome installed on Travis now supports QUIC 39.
2017-09-09 12:37:29 +03:00
Marten Seemann
2c4a17e406 Merge pull request #810 from lucas-clemente/tls
implement a very basic TLS 1.3 handshake
2017-09-08 20:47:58 +03:00
Marten Seemann
866f209834 move all mint-related methods into one interface 2017-09-08 12:04:45 +03:00
Marten Seemann
91b7404182 implement a very basic TLS 1.3 handshake 2017-09-08 12:04:45 +03:00
Marten Seemann
82db032a05 implement the TLS key derivation 2017-09-08 12:04:45 +03:00
Marten Seemann
8bcabe0ba9 correctly pack packets with sealers with different overheads 2017-09-08 12:04:45 +03:00
Marten Seemann
7cbef3cb1b implement the Overhead method for the AEADs 2017-09-08 12:04:45 +03:00
Marten Seemann
6931edaf6b implement the AES-GCM AEAD needed for the IETF draft 2017-09-08 12:04:38 +03:00
Marten Seemann
8df2cb3b1d rename the current key derivation function
TLS will use a completely different key derivation function.
2017-09-07 20:08:24 +03:00
Marten Seemann
fd780e3eab move the nonce generation to the AEAD implementations
The AES AEAD used by IETF QUIC uses a different nonce format.
2017-09-07 20:08:24 +03:00
Marten Seemann
23f3432b9d select the right null AEAD algorithm depending on the version 2017-09-07 20:07:54 +03:00
Marten Seemann
15e9e3658a implement the FNV64a nullAEAD
It is not used yet.
2017-09-07 18:16:20 +03:00
Marten Seemann
03f16814ec Merge pull request #811 from lucas-clemente/remove-orig-file
remove accidentally committed merge backup file
2017-09-05 23:36:34 +02:00
Marten Seemann
ebf0b9a379 Merge pull request #794 from lucas-clemente/fix-558
make the integration tests race free
2017-09-05 21:18:18 +02:00
Marten Seemann
17a0541edb use the quic.Config to set the QUIC version in the Chrome tests 2017-09-05 19:30:14 +02:00
Marten Seemann
5751b599ee use atomics in the Chrome test HTTP handlers
This fixes a race condition in these tests.
2017-09-05 19:30:14 +02:00
Marten Seemann
7d446253c4 use the quic.Config to set the QUIC version in client integration tests
This fixes a race condition in that test.
2017-09-05 19:30:14 +02:00
Marten Seemann
682d8b1c7a fix race condition in the handshake RTT tests 2017-09-05 19:30:14 +02:00
Marten Seemann
e513cb7ad2 fix multiple race conditions in the proxy tests 2017-09-05 19:30:14 +02:00
Marten Seemann
508586ea7e fix a race condition in server integration test setup 2017-09-05 19:30:14 +02:00
Marten Seemann
bf64c86916 remove accidentally committed merge backup file 2017-09-05 19:27:46 +02:00
Marten Seemann
03de09b236 Merge pull request #809 from lucas-clemente/fix-808
fix go routine leaks in client tests
2017-08-31 18:32:22 +07:00
Marten Seemann
500eb0d50d Merge pull request #804 from lucas-clemente/delete-empty-test-files
delete empty files in the integration tests folder
2017-08-31 18:16:57 +07:00
Marten Seemann
fa2ecefa31 fix go routine leaks in client tests 2017-08-31 17:55:48 +07:00
Marten Seemann
f5abd5d858 delete empty files in the integration tests folder
These empty files were necessary in Go 1.8, but are obsolete now.
2017-08-31 17:18:40 +07:00
Marten Seemann
e7d1d225dc Merge pull request #807 from lucas-clemente/type-aliases
use type aliases to clean up the API
2017-08-31 17:06:46 +07:00
Marten Seemann
60f5c660c6 export flow control window sizes as uint64 in quic.Config 2017-08-31 16:37:03 +07:00