badb d59ec09a83 Add a maximum limit to the number of listeners (#809)
* add max_listeners to swarm

* add swarm builder

* swarm_builder's build takes ownership of self

* replace max listeners with incoming limit

* don't disconnect from node after incoming limit has been reached

* update code according to recent changes

* don't poll listeners at all if incoming connection limit is reached
2019-01-22 11:59:59 +01:00
2019-01-10 13:27:45 +01:00
2019-01-14 14:10:51 +01:00
2019-01-14 19:53:25 +01:00
2019-01-14 19:53:25 +01:00
2017-11-08 13:03:59 +01:00

Central repository for work on libp2p

dependency status

This repository is the central place for Rust development of the libp2p spec.

Warning: While we are trying our best to be compatible with other lib2p implementations, we cannot guarantee that this is the case considering the lack of a precise libp2p specifications.

Documentation

This repository includes a façade crate named libp2p, which reexports the rest of the repository.

For documentation, you are encouraged to clone this repository or add libp2p as a dependency in your Cargo.toml and run cargo doc.

[dependencies]
libp2p = "0.2.2"

Notable users

(open a pull request if you want your project to be added here)

Description
No description provided
Readme MIT 23 MiB
Languages
Rust 99.8%
JavaScript 0.2%