mhchia
|
2d8e02b7eb
|
Add detection for disconnections in mplex
|
2019-09-19 15:55:26 +08:00 |
|
Brian Cloutier
|
b2146c5268
|
Don't crash on large messages
|
2019-09-09 17:13:26 -04:00 |
|
mhchia
|
10415cb956
|
Use ReadWriteCloser for conns and streams
|
2019-09-05 23:24:17 +08:00 |
|
Alex Stokes
|
fc3e3a4be5
|
Changes to type hints to match new abstractions
|
2019-09-04 10:12:43 -07:00 |
|
mhchia
|
b6c8ab0dc9
|
Fix #259: Use the unsigned LEB128 impl from py-wasm
Reference: https://github.com/ethereum/py-wasm/blob/master/wasm/parsers/leb128.py
|
2019-08-26 20:41:10 +08:00 |
|
mhchia
|
0b466ddc86
|
Add lock to RawConnection
To avoid `self.writer.drain()` is called in parallel.
Reference: https://bugs.python.org/issue29930
|
2019-08-22 22:53:47 +08:00 |
|
mhchia
|
bb7d37fd4f
|
Fix msg encoding
- Change varint-prefix encode to fixedint-prefix(4 bytes) encode.
|
2019-08-22 22:53:46 +08:00 |
|
mhchia
|
22b1a5395d
|
A working plaintext 2.0 without validation
|
2019-08-22 22:53:46 +08:00 |
|
mhchia
|
a0923d202a
|
Move varint and delim read/write to toplevel
To `libp2p.utils`.
|
2019-08-22 22:53:46 +08:00 |
|