John Jones
1971e60438
Cleanup of needless Stream attached to things it shouldn't have
2017-07-27 12:06:27 -05:00
jmjatlanta
dfb1aba247
Fixed warnings
2017-07-17 16:14:20 -05:00
John Jones
73fcecfdcf
A bit of code cleanup and commenting
2017-07-17 13:04:43 -05:00
John Jones
a10c7ef5e9
handle reading the requested number of bytes, and secio fix
...
Some transmissions are sent by multiple sends. Loop through until you
get them all. NOTE: We'll have to come back to this to handle a timeout.
Also, fixed the random handshake issue with the GO version.
2017-07-13 18:30:18 -05:00
John Jones
6c19984368
Now doing multistream over secio
2017-07-13 09:01:50 -05:00
e51643a8f4
Avoiding leaving the socket open when an error occurs in multistream connect.
2017-07-06 22:09:38 -03:00
John Jones
e4ba343d48
Fixes for various memory leaks
2017-05-11 13:53:23 -05:00
John Jones
8ce1c32ec4
Multiple memory fixes, mostly in tests
2017-04-26 23:56:18 -05:00
John Jones
3463196f9c
Increased max size of buffer for received data
...
Note: this number should be made to be dynamic
2017-04-24 16:33:23 -05:00
John Jones
609ed80aaf
Using the correct socket descriptor
2017-04-17 14:36:46 -05:00
John Jones
c1e7131c7c
passing network timeouts to read methods
2017-04-17 14:03:27 -05:00
John Jones
caf02463c6
Memory cleanup
2017-04-17 11:57:37 -05:00
John Jones
e886fe3288
Handling finding of peer via swarm
2017-04-13 09:30:28 -05:00
John Jones
12f15c4231
Cleaned code around peerstore, providerstore, and networking
2017-04-03 20:54:41 -05:00
John Jones
69cbff9cd6
Refactor - SecureSession to SessionContext
2017-03-19 07:42:52 -05:00
John Jones
74d95cb696
Working on streams
2017-03-09 12:49:47 -05:00
John Jones
d0512d9084
Made the stream methods more generic
2017-03-09 10:00:45 -05:00
John Jones
6d9473069b
Many fixes around secio
2017-03-02 16:14:52 -05:00
John Jones
f1aaae0f17
Implementing a Stream interface in front of Multistream
2017-02-23 15:16:04 -05:00
John Jones
8139dc9d48
Added ping functionality to multistream
2017-02-23 11:15:48 -05:00
John Jones
c29c5744b8
Beginnings of the Record protobuf and more changes to dialer
2017-02-16 18:49:17 -05:00
John Jones
c1620d1d8b
More progress on secio
2017-02-09 03:34:12 -05:00
John Jones
773c980f1f
intermediate commit for handshake
...
Working on negotiations between GO and C version of IPFS
2017-02-08 22:51:35 -05:00
John Jones
be9f278ebf
Beginning of testing of handshake
2017-02-08 12:32:41 -05:00
John Jones
94566ade69
Now correctly generating the Peer ID from a public key
2017-02-02 18:27:57 -05:00
John Jones
6b24f06855
Multistream nearing completion
2017-02-02 15:43:35 -05:00
John Jones
d091a29b19
Added multistream protocol to communicate with GO version
2017-02-02 14:10:12 -05:00
a43b8ec736
Added libp2p-net TODO.
2016-11-10 22:39:11 -03:00
2b55ebfeb4
Implemented initial UDP socket.
2016-11-10 19:43:31 -03:00
648982793c
Implemented SCTP stream socket.
2016-11-10 19:40:27 -03:00
7a053b3b69
Split code and renamed socket.h to p2pnet.h
2016-11-10 19:36:42 -03:00
b75dda23d7
Added net directory to initial implementation of c-libp2p-network.
2016-11-10 19:31:55 -03:00