kubo/p2p/net/conn
Juan Batiz-Benet c48f456bdf remove msgio double wrap
There was doublewrapping with an unneeded msgio. given that we
use a stream muxer now, msgio is only needed by secureConn -- to
signal the boundaries of an encrypted / mac-ed ciphertext.

Side note: i think including the varint length in the clear is
actually a bad idea that can be exploited by an attacker. it should
be encrypted, too. (TODO)

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-01-12 08:21:13 -08:00
..
conn_test.go remove msgio double wrap 2016-01-12 08:21:13 -08:00
conn.go remove msgio double wrap 2016-01-12 08:21:13 -08:00
dial_test.go remove msgio double wrap 2016-01-12 08:21:13 -08:00
dial.go add timeout opt to transport dialer creation 2015-11-09 20:02:26 -08:00
interface.go remove msgio double wrap 2016-01-12 08:21:13 -08:00
listen.go refactor net code to use transports, in rough accordance with libp2p 2015-11-09 20:02:23 -08:00
secure_conn_test.go remove msgio double wrap 2016-01-12 08:21:13 -08:00
secure_conn.go remove msgio double wrap 2016-01-12 08:21:13 -08:00