Commit graph

261 commits

Author SHA1 Message Date
John Jones
8551121bf8 More yamux fixes 2017-11-28 23:41:46 -05:00
John Jones
0d4d475c2c Swarm now functioning with yamux. Still needs more debugging. 2017-11-28 22:44:18 -05:00
John Jones
bea9481c56 Getting yamux and go working 2017-11-27 11:10:38 -05:00
John Jones
7c62bdfbb7 debugging yamux and go 2017-11-27 09:06:33 -05:00
John Jones
13f51260b2 Minor fixes to yamux and identify protocols 2017-11-23 07:44:42 -05:00
John Jones
e05e02188a More updates to the yamux protocol 2017-11-23 06:23:50 -05:00
John Jones
2d74c53b62 More yamux changes 2017-11-19 19:29:40 -05:00
John Jones
db67210257 Merge branch 'yamux' of https://github.com/Agorise/c-libp2p into yamux 2017-11-19 13:37:21 -05:00
John Jones
b3c8e77ed9 Various changes for yamux adding a protocol 2017-11-19 13:37:03 -05:00
3972574148
Implemented of protobuf encoding for identify protocol. 2017-11-09 23:06:43 -03:00
5291cb7a9a
Implemented allocation and release of identify structure. 2017-11-09 22:57:11 -03:00
c137aa04fe
Added missing prototype. 2017-11-09 22:54:19 -03:00
John Jones
f2e5af4058 Major changes for implementation of yamux protocol
This commit changes the Stream interface, so as to allow the yamux
protocol to have channels. It is necessary, but touches many areas. The
codebase is better for it.
2017-11-08 10:51:43 -05:00
John Jones
f4860d3ed4 setting up when the remote requests the yamux protocol 2017-11-06 17:31:30 -05:00
John Jones
18b0139b81 squashed some memory leak bugs in yamux 2017-11-06 16:38:55 -05:00
John Jones
852629a4f8 More details of the yamux implementation 2017-11-06 13:36:11 -05:00
John Jones
d3f740b4e0 Starting to wire identity protocol into yamux 2017-11-06 07:27:03 -05:00
a91e840770
Initial implementation of the identify protocol. 2017-11-03 03:26:43 -03:00
John Jones
9200e0f09c More implementation of the yamux protocol 2017-11-02 14:45:17 -05:00
John Jones
5e1cdac4cf Moved buffered secio to context struct 2017-11-02 13:43:52 -05:00
John Jones
65194c06ee secio and multistream now working. Need to negotiate yamux 2017-11-02 13:20:40 -05:00
John Jones
746682ebef Fixed signature verification, continuing with swarm connectivity 2017-11-02 11:11:50 -05:00
John Jones
03a4b412dd More swarm changes 2017-10-25 12:43:27 -05:00
John Jones
08a02f7956 More changes to the stream negotiation 2017-10-25 12:28:53 -05:00
jmjatlanta
9dd1dab8e4 More implementation of dialer 2017-10-23 18:03:38 -05:00
jmjatlanta
05f2620054 More changes for dialer 2017-10-23 16:21:03 -05:00
jmjatlanta
1dcac6ecb5 Implementing the new way of swarm connection 2017-10-23 15:21:50 -05:00
jmjatlanta
8480542b45 Network write methods now expect StreamMessage struct 2017-10-23 09:47:54 -05:00
jmjatlanta
6147769f4b Reading from stream now uses StreamMessage struct 2017-10-23 09:01:03 -05:00
jmjatlanta
0166a89d48 more docs on swarm connections 2017-10-18 09:14:26 -05:00
jmjatlanta
fc685a6f0b Basic swarm connect flow document 2017-10-16 11:21:32 -05:00
jmjatlanta
2391f23b4e Beginnings of stream locking 2017-10-12 12:37:40 -05:00
jmjatlanta
56e301df8d Handle swarm connect 2017-10-12 10:12:22 -05:00
jmjatlanta
1565b78fcd more adjustments for yamux testing 2017-10-12 08:37:19 -05:00
jmjatlanta
07ca366e3a Fixed some memory issues with test_secio 2017-10-12 07:45:34 -05:00
7564a4b089
Fix compilation for the yamux protocol. 2017-10-11 23:15:12 -03:00
jmjatlanta
6b185e31bd First commit of yamux protocol 2017-10-11 11:23:25 -05:00
John Jones
68242a6355 Double check if connection_type and sessionContext agree
Assuming that sessionContext is not null because connection_type is
CONNECTED is not safe. Fixed this in the peer_connect method
2017-10-09 10:00:30 -05:00
John Jones
6c8535198f Testing for compatibility with other implementations 2017-10-04 06:39:35 -05:00
John Jones
f4dd9b46be No longer deleting session context when deleting message 2017-09-28 17:14:37 -05:00
John Jones
198e5d544a secio unencrypted read fix 2017-09-28 16:31:35 -05:00
John Jones
7c39799103 Cleaned up debugging message 2017-09-28 14:45:18 -05:00
John Jones
c62253dce0 Don't attempt to connect to yourself using secio 2017-09-28 13:48:35 -05:00
jmjatlanta
bf1f900716 more debugging 2017-09-28 13:21:07 -05:00
jmjatlanta
9f55b14f3c Added more debugging messages 2017-09-28 07:58:24 -05:00
350b8460fd
Fixed nul string termination allocation. 2017-09-27 11:38:05 -03:00
John Jones
c56d58f404 error handling 2017-09-25 17:55:45 -05:00
jmjatlanta
19acc052dc added urlencode to makefile 2017-09-25 13:36:50 -05:00
jmjatlanta
f0513713cb Merge branch 'master' of https://github.com/Agorise/c-libp2p 2017-09-25 13:33:51 -05:00
jmjatlanta
974d328fb6 more useful debugging message 2017-09-25 13:33:42 -05:00