Commit graph

288 commits

Author SHA1 Message Date
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
Agorise
0666b481d2 Update LICENSE 2017-10-16 13:53:01 +03: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
jmjatlanta
6adc48c89d fixes to secio test 2017-10-12 07:36:37 -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
2318162bad
Added a simple implementation of urlencode. 2017-09-25 10:27:13 -03:00
jmjatlanta
eac465012a mkdir now creates root directories needed 2017-09-21 09:45:59 -05:00
jmjatlanta
a55b52ca81 Addition of memstream for osx and bsd 2017-09-20 10:26:24 -05:00
jmjatlanta
a810f94757 implementation of dht_send_message_nearest_x 2017-09-18 06:32:37 -05:00
John Jones
96ed7bc511 Testing ipns 2017-09-14 16:49:50 -05:00
John Jones
e922c7ef14 Implemented put_value 2017-09-14 11:35:16 -05:00
jmjatlanta
5712e920d1 datastore_put now accepts a DatastoreRecord struct 2017-09-13 12:39:50 -05:00
John Jones
09e2a2291f Small memory leak fix for protocol comparison 2017-09-07 18:46:03 -05:00
John Jones
5a9ab47635 Memory leak fixed 2017-09-07 14:57:20 -05:00
John Jones
ebb94d96cb Sorting a memory leak in datastore/journalstore 2017-09-07 11:05:06 -05:00
John Jones
9fd44b7878 implementing handler interface in front of multistream 2017-09-04 11:01:17 -05:00
John Jones
53f754af43 Adding more compatibility fixes for standard ipfs 2017-08-31 16:40:35 -05:00
John Jones
36061dc1da Small adjustments for secio protocol compatibility 2017-08-31 12:49:43 -05:00
jmjatlanta
7829ab0aee Added log level to output of logging messages 2017-08-31 10:25:23 -05:00
jmjatlanta
eecfea4f78 journalio working, needs tuning 2017-08-31 06:41:06 -05:00
jmjatlanta
f0d82129ab Debugging journalio process 2017-08-30 11:09:28 -05:00
jmjatlanta
ecb9f984ba datastore now retrieves a DatastoreRecord struct
The structure is much more user friendly and contains the timestamp
2017-08-28 10:54:56 -05:00
jmjatlanta
ed63c761d5 Updated comment 2017-08-28 06:55:38 -05:00
jmjatlanta
817eb0231c Changes for the journal protocol 2017-08-24 13:30:04 -05:00
da23d4c54a Headers added to fix the build in the old gcc version. 2017-08-17 08:18:55 -03:00
jmjatlanta
61281368bf fixed compiler warning 2017-08-16 08:14:42 -05:00
jmjatlanta
4e9cfd7bd5 Added debugging messages 2017-08-16 07:33:43 -05:00
jmjatlanta
365e645d94 Added convenience method to peerstore, and fixed memory leak 2017-08-16 06:41:01 -05:00