Marten Seemann
bb7fb42e3f
add AppVeyor badge
...
fixes #174
2016-06-09 12:56:53 +07:00
Marten Seemann
e2d2a43a7f
add note about Windows timer resolution with Go 1.6
2016-06-09 12:46:25 +07:00
Marten Seemann
1491bc20f4
fix flaky tests on AppVeyor
2016-06-09 12:24:25 +07:00
Marten Seemann
ec7512d0e6
use AppVeyor for running tests on Windows
...
ref #174
2016-06-09 11:40:46 +07:00
Marten Seemann
0f9e15e2c9
fix h2quic syscall test assertion on windows
2016-06-08 20:17:10 +07:00
Marten Seemann
6d652cca4d
run unit and integration tests separately, only generate coverage reports for unit tests
2016-06-08 15:14:36 +07:00
Marten Seemann
c15fb86425
cleanup drop test
2016-06-08 13:43:06 +07:00
Marten Seemann
ed2024a13d
run ginkgo with the recommended flags
2016-06-08 12:45:10 +07:00
Marten Seemann
68e3c8e552
queue RTO retransmissions before checking for congestion window size
2016-06-08 12:08:38 +07:00
Marten Seemann
3c2b59d20d
implement basic integration tests with dropped packages
...
ref #167
2016-06-08 11:22:24 +07:00
Lucas Clemente
d7937f8774
add tiles to example server and move /echo into /demo scope
2016-06-07 09:16:53 +02:00
Lucas Clemente
0371f45a69
enable tiles integration test
...
fixes #162
2016-06-07 09:16:53 +02:00
Marten Seemann
13513097ce
log StreamID of data stream for H2 requests in debug mode
2016-06-07 14:03:56 +07:00
Marten Seemann
995c020b39
fix StreamID len in StreamFrame TypeByte if len was calculated by MinLength
...
fixes #166
2016-06-07 13:47:38 +07:00
Marten Seemann
4f49a242ff
fix race condition in BlockedManager
2016-06-07 10:42:30 +07:00
Lucas Clemente
0d6dbfe746
log stream GC
2016-06-06 23:37:10 +02:00
Lucas Clemente
6475a5bb3e
fix a race condition in session.handleWindowUpdateFrame
2016-06-06 23:36:48 +02:00
Lucas Clemente
ed43ee7bd7
add a (pending) integration test for loading many files over one session
2016-06-06 22:36:29 +02:00
Lucas Clemente
e9f1126c13
minor integration test improvements
2016-06-06 22:06:39 +02:00
Lucas Clemente
6cc5440240
ensure session is closed when TooManyStreams occurs
2016-06-06 22:05:51 +02:00
Lucas Clemente
531fc718b5
properly close h2 streams fin bit in h2 header set
2016-06-06 22:05:51 +02:00
Marten Seemann
3ef33d7cd4
exclude autogenerated file from code coverage reports
2016-06-07 01:18:32 +07:00
Lucas Clemente
0e3d7ab60d
fix flaky udp proxy test
...
fixes #169
2016-06-06 19:47:30 +02:00
Marten Seemann
b1e12531bc
add code coverage badge
2016-06-07 00:11:39 +07:00
Marten Seemann
fb583fea1b
generate code coverage reports with codecov
2016-06-06 23:58:04 +07:00
Marten Seemann
3963e7eb03
change tests such that they are covered by coverage reports
2016-06-06 23:52:12 +07:00
Marten Seemann
c4c7b78288
correctly parse ACK frames with multiple NACK ranges for version 31
2016-06-06 20:23:41 +07:00
Lucas Clemente
6d58618279
properly ignore errors in session
...
ref #170
2016-06-06 15:05:38 +02:00
Lucas Clemente
76f7a7d153
use spaces instead of \x00 in handshake message string serialization
2016-06-06 15:00:30 +02:00
Marten Seemann
c0d21ad070
log correct size of received packets
...
fixes #171
2016-06-06 19:32:37 +07:00
Lucas Clemente
4d5ff5d61e
call OnCongestionEvent when packets are retransmitted due to an RTO
...
fixes #168
2016-06-06 11:56:32 +02:00
Lucas Clemente
d5aced6e03
small linter & typo fixes
2016-06-06 09:37:17 +02:00
Marten Seemann
3f86e0f198
dequeue all retransmission when sending a packet
2016-06-06 12:04:02 +07:00
Marten Seemann
6b6fea94ec
add packet drop callback to UDP proxy
...
ref #167
2016-06-05 21:30:13 +07:00
Lucas Clemente
e2f5d72301
add an integration test using a dockered chrome via selenium
...
this commit also moves the {Before,After}Suite functions from the
integration_test.go file into the integrationtests_suite_test.go file,
and adds the docker-specific hooks.
ref #162
2016-06-05 15:57:24 +02:00
Marten Seemann
f34890e608
add a simple UDP proxy for integration tests
...
ref #167
2016-06-05 17:22:30 +07:00
Lucas Clemente
981b465287
fix a race condition of openStreamsCount in session
2016-06-05 12:17:10 +02:00
Marten Seemann
d2c1f0c71a
move integration tests to separate package
2016-06-05 17:04:15 +07:00
Lucas Clemente
6a46465092
reduce calls to Debugf when not debugging to reduce slice allocs
...
ref #129
2016-06-04 15:13:46 +02:00
Lucas Clemente
0f941214b4
fix linter
2016-06-03 21:03:46 +02:00
Lucas Clemente
cc3a94f6b4
handle errors in integration test http.Handlers
2016-06-03 21:02:57 +02:00
Lucas Clemente
68478ed3f1
fix a race condition with stream creation
...
fixes #164 , ref #163
2016-06-03 21:01:02 +02:00
Lucas Clemente
ffacf2f328
fix a possible deadlock in flow controller
...
ref #164
2016-06-03 18:21:26 +02:00
Lucas Clemente
f6be8716b5
kill client after timeout in integration tests
...
this should fix the hang-issue of #163
2016-06-03 15:16:32 +02:00
Lucas Clemente
c7324bbfe9
improve integration tests with new server.Serve API
...
this probably fixes the refused connections issue in #163
2016-06-03 13:31:15 +02:00
Lucas Clemente
3b5b4c1557
add h2quic.Server.Serve(*net.UDPConn) and improve server tests
2016-06-03 13:30:19 +02:00
Lucas Clemente
a47a04d16d
add server.Serve() API and improve server tests by listening on port 0
2016-06-03 13:10:04 +02:00
Lucas Clemente
c0b73c4beb
fix a potential race in server.Close()
2016-06-03 12:13:07 +02:00
Lucas Clemente
240946dfde
replace version number literals with constants to make grepping easier
2016-06-03 11:09:48 +02:00
Lucas Clemente
556bf2fe4b
add a test for h2quic.ListenAndServeQUIC
...
fixes #160
2016-06-03 10:12:34 +02:00