Pierre Krieger
8059a693a3
Cleaner shutdown process ( #992 )
...
* Cleaner shutdown process
* Finish
* Fix Yamux panic
* Remove irrelevant tests
* Update core/src/nodes/handled_node_tasks.rs
Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>
* Fix yamux error handling
* Update yamux
2019-03-11 17:19:50 +01:00
Pierre Krieger
663ec7e8da
connection_keep_alive() now returns KeepAlive ( #899 )
...
* connection_keep_alive() now returns Option<Instant>
* Use KeepAlive instead of Option<Instant>
2019-01-30 16:37:34 +01:00
Pierre Krieger
30c082dfe5
Properly shut down protocols handler on useless timeout ( #892 )
2019-01-25 15:56:32 +01:00
Pierre Krieger
bf52e9bd19
Add IntoNodeHandler and IntoProtocolsHandler traits ( #848 )
...
* Add IntoNodeHandler
* Add IntoProtocolsHandler
2019-01-14 14:22:25 +01:00
Pierre Krieger
7da1a860be
Automatically close useless connections ( #816 )
...
* Automatically close useless connections
* Add a timeout before dropping the connection
* Rework the timeout
* Use OR to combine the outcome
2019-01-04 12:02:39 +01:00
Pierre Krieger
2c2fc8bfd3
Don't allow handlers::poll() to return None ( #811 )
2019-01-02 14:22:23 +01:00
Pierre Krieger
7798e23e78
Add an error associated type to ProtocolsHandler ( #795 )
2018-12-28 15:11:35 +01:00
Pierre Krieger
83320e0347
More precise error passed to inject_dial_upgrade_error ( #771 )
...
* More precise error passed to inject_dial_upgrade_error
* Fix concerns
* Fix panic proof
2018-12-18 11:23:13 +01:00
Pierre Krieger
69684a97b2
More precise errors in the nodes module ( #765 )
...
* More precise errors in the nodes module
* Typo
* Prove the panics
2018-12-11 15:36:41 +01:00
Pierre Krieger
dc55b00730
Split the protocols_handler.rs
module into multiple submodules ( #680 )
...
* Rename protocols_handler.rs to protocols_handler/mod.rs
* Move DummyProtocolsHandler out of the module
* Extract ProtocolsHandlerSelect
* Extract NodeHandlerWrapper
2018-11-26 14:01:08 +01:00