Toralf Wittner
cfdfca1a06
Similar to #469 , consider endpoint while retaining. ( #470 )
2018-09-10 14:03:38 +02:00
Toralf Wittner
ec6ec92a79
mplex: fix destroy_substream ( #469 )
...
Retain all incoming buffer elements with different substream ID or equal
Endpoint. The latter was previously not considered which could result in
the removal of data for another substream with same ID but opposite
Endpoint.
2018-09-10 10:21:19 +02:00
Pierre Krieger
bccd710fb4
Limit upload frame sizes to 1024 in mplex ( #462 )
2018-09-06 15:43:49 +02:00
Toralf Wittner
5c35047ee3
Change stream ID handling to consider flags. ( #436 )
...
Replaces the former odd/even distinction of IDs. However we still increment stream IDs by 2
for backwards compatibility.
2018-09-06 13:59:14 +02:00
Pierre Krieger
ba4bd79fd9
Fix mplex notifications system ( #455 )
...
* Fix mplex notifications system
* Some fixes
2018-09-05 01:53:39 +02:00
Toralf Wittner
a6c82e6ca1
Use Bytes
instead of BytesMut
in mplex. ( #456 )
2018-09-04 16:12:58 +02:00
Pierre Krieger
5f0347a8b7
Cap the allocated buffer capacity in mplx ( #449 )
2018-09-03 18:33:51 +02:00
Pierre Krieger
0e1483f02e
Rework the StreamMuxer trait ( #437 )
...
* Stronger typing for the swarm handler future
* The swarm future is now a swarm stream of events
* Rewrite StreamMuxer in core
* Update libp2p_mplex for the new stream muxer
* Update yamux for new stream muxer
2018-08-31 10:31:34 +02:00
Benjamin Kampmann
2ea49718f3
Clean up directory structure ( #426 )
...
* Remove unused circular-buffer crate
* Move transports into subdirectory
* Move misc into subdirectory
* Move stores into subdirectory
* Move multiplexers
* Move protocols
* Move libp2p top layer
* Fix Test: skip doctest if secio isn't enabled
2018-08-29 11:24:44 +02:00