* Bump go-multiaddr dep
* Add support for http-path
* Support redirects
* Don't split at p2p, split at P_HTTP_PATH
* fixup
* Fill in host if missing
* mod tidy
* Fix test
* Add MultiaddrURIRedirect
* Only alloc err once
This change has some history. Originally there was v1.5.0, then the
project stalled and eventually the repo got archived. Some new
maintainers stepped up and released v1.5.1. That version had some
controversial changes including excessive logging (see
https://github.com/gorilla/websocket/issues/880). This caused us to
downgrade this dep back to v1.5.0 (see #2762). The change was short
lived as I bumped this dep back up to v1.5.1 without remembering this
context.
Since then the maintainers of gorilla/websocket have released a new
version v1.5.3 that brings the project back to the state of when it got
archived (minus a README edit). Bumping to this version should solve our
issues with v1.5.1 without having to downgrade back down to v1.5.0.
* Update github.com/quic-go/quic-go dependency
* Revert some dependency updates
* Revert more changes
* Update dependencies in examples and test-plans
* Revert "Update dependencies in examples and test-plans"
This reverts commit e03cb1d36c.
* mod tidy in test-plans
Tidy in test-plans because we want to test the head for interop
---------
Co-authored-by: Marco Munizaga <git@marcopolo.io>
* chore: bump go.mod to Go 1.20 and run go fix
* chore: bump go.mod to Go 1.20 and run go fix
* chore: bump go.mod to Go 1.20 and run go fix
* chore: bump go.mod to Go 1.20 and run go fix
* chore: bump go.mod to Go 1.20 and run go fix
* fix: stop using the deprecated io/ioutil package
* chore: bump go.mod to Go 1.20 and run go fix
* chore: revert go fixes to go generated files
* chore: add or force update .github/workflows/go-test.yml
* chore: add or force update .github/workflows/go-check.yml
* chore: add or force update .github/workflows/releaser.yml
* chore: add or force update .github/workflows/release-check.yml
* chore: add or force update .github/workflows/tagpush.yml
* chore: restore modifications introduced during review
---------
Co-authored-by: galargh <piotr.galar@gmail.com>
* Small changes for new quic-go API
* Update quic-go dependency
* Manually bump Go version in go-test
* Don't run examples in Go 1.21 yet
Revert this commit when we release a new go-libp2p version compatible
with Go 1.21
* update quic-go to v0.37.5
---------
Co-authored-by: Marco Munizaga <git@marcopolo.io>
* Update go.mod files
* Update to new quic-go API
* More renaming
* Add test back in
* Workaround quic-go#3947
* Fix transitive dep
* Use own pointer to packetConn
* Update to quic-go v0.36.2
* Remove workaround
* Embed quic.Transport
* Downgrade qtls-go1-20
* Rename ConnManager.metricsTracer to mt
* Close transport after test ends
* Close conn when transport closes
* Return better error
* Avoid conflicts with parallel tests
* Skip conn assert on windows
* Add metrics tracer back in
* Don't use tracers here
* Add comment to WriteTo
* Finish renaming conn -> transport where appropriate
* Back out unrelated change
* One more rename
* Revert "websocket: don't set a WSS multiaddr for accepted unencrypted conns (#2199)"
This reverts commit eeb685f68f.
* Revert "websocket: Don't limit message sizes in the websocket reader (#2193)"
This reverts commit 2fe6600ca4.
* Revert "websocket: Replace gorilla websocket transport with nhooyr websocket transport (#1982)"
* websocket: don't set a WSS multiaddr for accepted unencrypted conns