- Update dependencies.
- Update
libp2p-swarm
. - Implement
std::error::Error
forInboundFailure
andOutboundFailure
PR 2033.
-
Update
libp2p-swarm
. -
Close stream even when no response has been sent. PR 1987.
-
Update dependencies.
-
Make
is_pending_outbound
return true on pending connection. PR 1928. -
Update dependencies.
-
Update dependencies.
-
Re-export
throttled
-specific response channel. PR 1902.
-
Update
libp2p-swarm
andlibp2p-core
. -
Emit
InboundFailure::ConnectionClosed
for inbound requests that failed due to the underlying connection closing. PR 1886. -
Derive Clone for
InboundFailure
andOutbound}Failure
. PR 1891
- Refine emitted events for inbound requests, introducing
the
ResponseSent
event and theResponseOmission
inbound failures. This effectively removes previous support for one-way protocols without responses. PR 1867.
- Update
libp2p-swarm
andlibp2p-core
.
- Update dependencies.
- Update dependencies.
-
Add support for opt-in request-based flow-control to any request-response protocol via
RequestResponse::throttled()
. PR 1726. -
Update
libp2p-swarm
andlibp2p-core
.
- Fixed connection keep-alive, permitting connections to close due to inactivity.
- Bump
libp2p-core
andlibp2p-swarm
dependencies.
- Always properly
close()
the substream after sending requests and responses in theInboundUpgrade
andOutboundUpgrade
. Otherwise this is left toRequestResponseCodec::write_request
andRequestResponseCodec::write_response
, which can be a pitfall and lead to subtle problems (see e.g. libp2p#1606).
- Initial release.