vyzo
4ff2d36c67
add hole punching support ( #194 )
3 years ago
Marten Seemann
3ebc3ba681
Merge pull request #207 from libp2p/quic-v1
update quic-go, enable QUIC v1 (RFC 9000)
3 years ago
Marten Seemann
8e713b4ea3
update quic-go, enable QUIC v1 (RFC 9000)
When dialing connections, we still use draft-29, but QUIC v1 is now enabled
on the server side. Once a large enough fraction of the network has upgraded,
we can switch to v1 for dialing as well.
3 years ago
Marten Seemann
6e91b4a7cf
Merge pull request #206 from libp2p/update-quic-go
update quic-go to v0.21.0-rc2
4 years ago
Marten Seemann
cc611a6881
update quic-go to v0.21.0-rc2
4 years ago
Marten Seemann
359210ed18
Merge pull request #204 from libp2p/fix-flaky-windows-test
increase test timeout to reduce flakiness of test on Windows
4 years ago
Marten Seemann
4ccc8a5c03
Merge pull request #205 from libp2p/fix-version-negotiation-metrics
correctly export version negotiation failures to Prometheus
4 years ago
Marten Seemann
282be49060
correctly export version negotiation failures to Prometheus
4 years ago
Marten Seemann
f1cfac9df2
increase test timeout to reduce flakiness of test on Windows
4 years ago
Steven Allen
c69ab03c7c
Merge pull request #201 from libp2p/update-quic-go
update quic-go to v0.20.1
4 years ago
Marten Seemann
e262838650
update quic-go to v0.20.1
4 years ago
Marten Seemann
3d8dde6a90
Merge pull request #200 from libp2p/prometheus
expose some Prometheus metrics
4 years ago
Marten Seemann
84acfa12b6
rename metrics to adhere to naming conventions
4 years ago
Marten Seemann
26f5509e94
expose some Prometheus metrics
4 years ago
Marten Seemann
e1361bb73d
Merge pull request #198 from libp2p/update-quic-go
update quic-go to v0.20.0
4 years ago
Marten Seemann
781356a858
update quic-go to v0.20.0
4 years ago
Marten Seemann
870bb163b3
Merge pull request #195 from libp2p/zstd-window-size
reduce the zstd window size from 8 MB to 32 KB
4 years ago
Marten Seemann
6f26698586
reduce the zstd window size from 8 MB to 32 KB
Benchmarks using sample qlog files show that this achieves in improvement in
both compression efficiency and compression speed.
More importantly, it prevents us from allocating a 8 MB every time a QUIC
connection is closed.
4 years ago
Marten Seemann
3fcebc84b2
Merge pull request #193 from libp2p/deferred-qlog-compression
compress qlogs when the QUIC connection is closed
4 years ago
Marten Seemann
593727b654
use defers to close files
4 years ago
Marten Seemann
e888974d0e
compress qlogs when the QUIC connection is closed
4 years ago
Marten Seemann
8eb8796a73
Merge pull request #190 from libp2p/zstd
switch from gzip to zstd for qlog compression
4 years ago
Marten Seemann
89dffadb02
switch from gzip to zstd for qlog compression
4 years ago
Marten Seemann
3d1dc75b9b
Merge pull request #189 from libp2p/open-stream-context
change OpenStream to accept a context
4 years ago
Marten Seemann
ee958afaf3
change OpenStream to accept a context
4 years ago
Marten Seemann
85c681bf59
Merge pull request #182 from libp2p/update-quic-go
update quic-go to v0.19.1
4 years ago
Marten Seemann
728d351233
update quic-go to v0.19.0
4 years ago
Marten Seemann
9c1f625691
Merge pull request #180 from libp2p/remove-intercept-accept-blackhole
pass a conn that can be type asserted to a net.UDPConn to quic-go
4 years ago
Marten Seemann
f9838545ca
don't call InterceptAccept when dialing
4 years ago
Marten Seemann
773d8f0108
pass a conn that can be type asserted to a net.UDPConn to quic-go
4 years ago
Marten Seemann
81afd82a00
fix reuseConn counting when creating the quic.Listener errors
4 years ago
Marten Seemann
f3091f346a
don't blackhole packets when gating via InterceptAccept
4 years ago
Marten Seemann
73961f0e83
use GoMock to generate a mock connection gater
4 years ago
Marten Seemann
3b88f7bbcc
use a dedicated error code when a connection is gated
0x47415445 is GATE in ASCII.
4 years ago
Marten Seemann
979147aed6
always close the connection in the cmd client
4 years ago
Marten Seemann
442ab6d380
Merge pull request #174 from libp2p/feat/rw-close
Implement CloseRead/CloseWrite
4 years ago
Steven Allen
0b57bca69f
Implement CloseRead/CloseWrite
This:
* Changes `Close` to behave like the unix `close` (sends an EOF, ignores future
inbound data).
* Adds a `CloseWrite` to replace the current `Close`.
* Adds a `CloseRead` to close the read side, while leaving the write side open.
See https://github.com/libp2p/go-libp2p-core/pull/166 .
4 years ago
Marten Seemann
fbda35cc95
Merge pull request #172 from libp2p/metrics
enable quic-go metrics collection
4 years ago
Marten Seemann
b5e3105057
enable metrics
4 years ago
Marten Seemann
ec4007ae1f
update quic-go to v0.18.0 ( #171 )
4 years ago
Steven Allen
92bb96893e
Merge pull request #162 from libp2p/update-quic-go
update quic-go to v0.16.1
4 years ago
Marten Seemann
f56ac0c0b0
update quic-go to v0.16.1
4 years ago
Raúl Kripalani
094d042339
Revert "fix a potential nil-pointer panic." ( #159 )
5 years ago
Raúl Kripalani
029459e4c9
fix a potential nil-pointer panic. ( #158 )
5 years ago
Steven Allen
255be8c372
Merge pull request #157 from libp2p/close-when-gated
close the connection when it is refused by InterceptSecured
5 years ago
Marten Seemann
9f966ee16c
close the connection when it is refused by InterceptSecured
5 years ago
Aarsh Shah
4df1224724
gate QUIC connections via new ConnectionGater ( #152 )
5 years ago
Marten Seemann
edf29175a5
Merge pull request #139 from libp2p/cmd-utilities
add command line client and server
5 years ago
Marten Seemann
82c90ce038
apply @Stebalien's suggestions from code review
Co-Authored-By: Steven Allen <steven@stebalien.com>
5 years ago
Marten Seemann
9b04f0ff28
add command line client and server
5 years ago