Marten Seemann
0b7efe10d1
trace congestion state changes
2020-07-23 11:53:59 +07:00
Marten Seemann
741dc28d74
move the RTTStats to the utils package
...
The RTTStats are used by the logging package. In order to instrument the
congestion package, the RTTStats can't be part of that package any more
(to avoid an import loop).
2020-07-23 11:53:08 +07:00
Marten Seemann
ce16603a24
use untyped constants for RTT calculations
2020-07-23 11:52:37 +07:00
Marten Seemann
734aaa6cf3
Merge pull request #2682 from lucas-clemente/remove-reno-n-connection-simulation
...
remove the N connection simulation from the Reno code
2020-07-23 09:39:28 +07:00
Marten Seemann
6328acffd7
remove the N connection simulation from the Reno code
2020-07-23 08:43:32 +07:00
Marten Seemann
df2998de4f
Merge pull request #2680 from lucas-clemente/remove-sslr-experiment
...
remove the SSLR (slow start large reduction) experiment
2020-07-23 08:41:35 +07:00
Marten Seemann
2db579fdc8
remove the SSLR (slow start large reduction) experiment
...
We apparently copied that code over from Chromium's Cubic
implementation, but we certainly don't need it.
2020-07-22 22:30:03 +07:00
Marten Seemann
bc8b37cd14
Merge pull request #2683 from lucas-clemente/remove-reno-congestion-stats
...
remove unused connectionStats counters from the Reno implementation
2020-07-22 22:16:00 +07:00
Marten Seemann
f7ec9da9d9
Merge pull request #2679 from lucas-clemente/tracer-integration-test
...
add an integration test that randomly sets tracers
2020-07-22 19:39:09 +07:00
Marten Seemann
106cb887ae
Merge pull request #2681 from lucas-clemente/private-congestion-methods
...
privatize some methods in the congestion controller package
2020-07-22 19:27:02 +07:00
Marten Seemann
19ab01c064
add an integration test that randomly sets tracers
2020-07-22 19:22:49 +07:00
Marten Seemann
5d5eb0f937
Merge pull request #2678 from lucas-clemente/fix-out-of-bounds-multiplexed-tracer
...
fix out-of-bounds read when creating a multiplexed tracer
2020-07-22 19:21:39 +07:00
Marten Seemann
8c27da9932
Merge pull request #2677 from lucas-clemente/integration-tests-with-qlog-and-metrics
...
run integration tests with qlog and metrics on CircleCI
2020-07-22 19:19:15 +07:00
Marten Seemann
74e32d6762
remove unused connectionStats counters from the Reno implementation
2020-07-22 14:35:58 +07:00
Marten Seemann
e79e45e3a2
privatize some methods in the congestion controller package
2020-07-22 13:42:18 +07:00
Marten Seemann
c8255cbaf5
Merge pull request #2676 from lucas-clemente/conn-close-metric
...
add a metric for closed connections
2020-07-20 12:36:48 +07:00
Marten Seemann
bd2b4e3e71
fix out-of-bounds read when creating a multiplexed tracer
2020-07-20 12:16:48 +07:00
Marten Seemann
1c1c24545f
run integration tests with qlog and metrics on CircleCI
2020-07-20 11:31:33 +07:00
Marten Seemann
8a21cf7489
add a metric for closed connections
2020-07-20 11:13:59 +07:00
Marten Seemann
4e4c71c1b9
Merge pull request #2675 from lucas-clemente/trace-non-conn-sent-packets
...
trace packets that are sent outside of a connection
2020-07-16 19:25:51 +07:00
Marten Seemann
0c551c893c
trace packets that are sent outside of a connection
2020-07-16 08:20:36 +07:00
Marten Seemann
f10894a1ce
Merge pull request #2670 from lucas-clemente/trace-dropped-packets
...
trace dropped packets that are dropped before they are passed to any session
2020-07-15 21:30:12 +07:00
Marten Seemann
48e15aed92
trace dropped packets in the packet handler map
2020-07-15 20:45:38 +07:00
Marten Seemann
2f63bc0731
pass a logging.Tracer to the packet handler map
2020-07-15 20:45:36 +07:00
Marten Seemann
dc245ca6a3
trace dropped packets in the server
2020-07-15 20:33:58 +07:00
Marten Seemann
0d4aa4b34f
introduce a function receivedPacket.Size()
2020-07-15 19:30:10 +07:00
Marten Seemann
bff880b038
Merge pull request #2673 from lucas-clemente/trace-sent-packets
...
add a metric for sent packets
2020-07-15 19:28:20 +07:00
Marten Seemann
f5f6665a19
add a metric for sent packets
2020-07-15 18:49:32 +07:00
Marten Seemann
a5479374a0
Merge pull request #2672 from lucas-clemente/trace-lost-packets
...
add a metric for lost packets
2020-07-15 18:48:58 +07:00
Marten Seemann
60570dc3e5
add a metric for lost packets
2020-07-13 10:41:36 +07:00
Marten Seemann
15e1857f54
Merge pull request #2671 from lucas-clemente/simplify-tracer-interface
...
simplify the Tracer interface by combining the TracerFor... methods
2020-07-12 20:31:37 +07:00
Marten Seemann
ee24d3899e
simplify the Tracer interface by combining the TracerFor... methods
2020-07-11 13:22:52 +07:00
Marten Seemann
ece3592544
Merge pull request #2646 from lucas-clemente/metrics
...
add a metrics package using OpenCensus, trace connections
2020-07-11 10:35:23 +07:00
Marten Seemann
50adf3a260
Merge pull request #2665 from lucas-clemente/logging-multiplexer
...
add a multiplexer for the tracer
2020-07-11 10:31:28 +07:00
Marten Seemann
c8d434305c
add a multiplexer for the logging.Tracer
2020-07-11 09:48:26 +07:00
Marten Seemann
2d4eca1dd6
add a multiplexer for the logging.ConnectionTracer
2020-07-11 09:45:46 +07:00
Marten Seemann
f9eb10d942
add a metrics package using OpenCensus, trace connections
2020-07-11 09:39:36 +07:00
Marten Seemann
2f5cba0856
Merge pull request #2668 from lucas-clemente/stateless-reset-type
...
introduce a type for stateless reset tokens
2020-07-11 08:40:23 +07:00
Marten Seemann
a1bb39d6ab
introduce a protocol.StatelessResetToken
2020-07-10 19:55:20 +07:00
Marten Seemann
a4679bc02e
also pass the stateless reset token by value to the tracer
2020-07-10 19:48:53 +07:00
Marten Seemann
0ef1b2f92e
pass around the stateless reset token directly, not pointers to it
...
Benchmarks show that it's actually faster to make a copy of this 16 byte
array than passing around a pointer to it.
2020-07-10 19:44:57 +07:00
Marten Seemann
1f676c2a6c
use an errors.As comparison to detect stateless resets in the session
2020-07-10 19:43:54 +07:00
Marten Seemann
e7fa420e26
Merge pull request #2669 from lucas-clemente/better-close-reason
...
log all reasons why a connection is closed
2020-07-10 19:36:56 +07:00
Marten Seemann
f93708aca8
introduce a logging.CloseReason to log the reason a session was closed
...
This also allows us to get rid of the ReceivedStatelessReset() method.
2020-07-10 19:23:32 +07:00
Marten Seemann
7d6ce4ea45
rename the logging.CloseReason to TimeoutReason
2020-07-10 19:17:21 +07:00
Marten Seemann
53856bda60
Merge pull request #2663 from lucas-clemente/faulty-packet-conn-integration-test
...
add integration tests using faulty packet conns
2020-07-10 19:13:43 +07:00
Marten Seemann
1a0b642ac1
add integration tests using faulty packet conns
2020-07-10 18:27:41 +07:00
Marten Seemann
3dbba004f9
Merge pull request #2656 from ltucker/shutdown_deadlock
...
don't block sendQueue.Send() if the runloop already exited.
2020-07-10 18:26:43 +07:00
Marten Seemann
f16d474e7c
Merge pull request #2664 from lucas-clemente/move-versions-out-of-the-header
...
move the SupportedVersions slice out of the wire.Header
2020-07-10 18:24:46 +07:00
Marten Seemann
8c66ccf0d6
Merge pull request #2660 from lucas-clemente/retire-bug-backwards-compatilibity-bug
...
add a flag to disable conn ID generation and the check for retired conn IDs
2020-07-10 18:22:04 +07:00