Pierre Krieger
486a9694d9
Tcp refinements ( #404 )
...
* Improve nat_traversal
* Remove the Box for dialing
* Improve multiaddr_to_socketaddr
* Use ? on None
* Use a proper stream for TcpListenStream
* Rustfmt
* Use tk_listen for errors on the listener
* Minor changes
* Fix concerns
2018-08-09 14:04:15 +02:00
Pierre Krieger
5546bb9dfd
Use tk_listen to absorb errors on the TcpListener ( #402 )
...
* Use tk_listen to absorb errors on the TcpListener
* Put sleep_on_error in TcpConfig
2018-08-08 17:54:15 +02:00
Pierre Krieger
e0d057a1a6
Add some logging when disconnecting a TCP stream ( #352 )
...
* Add some logging when disconnecting a TCP stream
* More logging
2018-07-21 13:01:59 +02:00
Pierre Krieger
9480295bf2
Add licenses to all Cargo.toml files ( #349 )
2018-07-21 12:15:42 +02:00
Pierre Krieger
6bda589389
Some cleanup with clippy and rustfmt ( #310 )
2018-07-17 11:55:18 +02:00
Pierre Krieger
16e3453b7f
Use the new version of tokio ( #303 )
2018-07-16 12:15:27 +02:00
Pierre Krieger
f104dd9036
Run rustfmt on files that aren't really touched ( #289 )
2018-07-11 11:14:40 +02:00
Pierre Krieger
76f13ab5e5
Instantly deny IPs of the form 0.0.0.0:0 ( #275 )
...
* Instantly deny IPs of the form 0.0.0.0:0
* Also put the change in websockets
2018-07-02 10:51:10 +02:00
Pierre Krieger
7b375798a5
The Multiaddr of the remote is now a Future ( #249 )
...
* The Multiaddr of the remote is now a Future
* The multiaddress future in swarm is now a Box
2018-06-19 14:38:55 +02:00
Pierre Krieger
57c3103f78
Integrate the multiformats crates ( #231 )
...
* Remove the multihash patch
* Integrate the multiformats crates
* Fix not compiling on emscripten
2018-06-01 10:10:00 +02:00
Toralf Wittner
86a21fc43e
Remove all target
s from log statements. ( #195 )
...
The default uses crate + module path anyway, so `target` has been
redundant, causes more work when renaming crates and makes log
lines longer.
2018-05-17 15:14:13 +02:00
Pierre Krieger
5c1890e66a
Rename libp2p_swarm to libp2p_core ( #189 )
2018-05-16 12:59:36 +02:00
Pierre Krieger
f787f3d8b8
Swarm rework ( #182 )
...
* Rename Transport::RawConn to Output
* Remove AsyncRead + AsyncWrite bound on Transport::Output
* UpgradedNode now always implements Transport
* Add and tweak modifiers for Transport and ConnectionUpgrade
* Secio upgrade now returns the pubkey in its output
* Add upgrade::apply
* Add Transport::and_then
* Rework the swarm
* Rustfmt
* Fix concerns
2018-05-14 15:55:16 +02:00
Qifan Lu
342a9f69d3
Bump multiaddr to 0.3 and remove patch in Cargo.toml ( #164 )
2018-04-10 18:08:01 +02:00
Jef
5c4aefe457
Remove libp2p-
prefix ( #152 )
...
* Remove `libp2p-` prefix
* More sed-fu
2018-03-20 14:44:46 +01:00