Commit graph

387 commits

Author SHA1 Message Date
87b0d6b13c
Fix the mutex lock when the memory allocation fails in api_listen_thread.
Thanks to John Jones for pointing out the problem.
2017-09-20 08:29:51 -03:00
64891c9198
Added initial GET calls. 2017-09-20 08:02:13 -03:00
jmjatlanta
acf506296e Updating tests 2017-09-18 19:04:52 -05:00
John Jones
fc8fc582b1 Testing ipns 2017-09-14 16:49:19 -05:00
John Jones
395c7d94cf More implementation of ipns 2017-09-14 14:58:53 -05:00
John Jones
d5c3e01267 Intitial test for ipns resolve 2017-09-14 12:13:07 -05:00
jmjatlanta
3eec8553a6 Began implementing updates to journal timestamp 2017-09-13 12:40:48 -05:00
jmjatlanta
478fa403fd Merge branch 'master' of https://github.com/Agorise/c-ipfs 2017-09-13 05:03:13 -05:00
jmjatlanta
d0eb0acc9d Added test for api 2017-09-13 05:02:59 -05:00
0b113cb95d
Initial implementation of multipart in API. 2017-09-07 23:59:57 -03:00
John Jones
a9481631df Several memory leak fixes for journal code 2017-09-07 18:45:09 -05:00
John Jones
78904ff1b6 refactored datastore/journalstore for readability 2017-09-07 14:58:02 -05:00
John Jones
cb1ea3ceff Sorting a memory leak in datastore/journalstore 2017-09-07 11:05:56 -05:00
jmjatlanta
bf7ba9049c Implementation of timestamp in both datastore and journalstore 2017-09-04 17:10:57 -05:00
jmjatlanta
bf87d93136 Updating cid codes 2017-09-04 13:33:56 -05:00
John Jones
7dbb6fca29 multistream protocol now has a protocol interface 2017-09-04 11:02:48 -05:00
John Jones
407f85bc89 More testing and compat fixes for ipfs 2017-08-31 16:41:10 -05:00
John Jones
f9d836ef6f Removed some test code 2017-08-31 12:52:36 -05:00
jmjatlanta
1eab27fa0e journalio working, needs tuning 2017-08-31 06:41:54 -05:00
jmjatlanta
49bd61feb1 Testing journalio protocol 2017-08-30 11:10:14 -05:00
jmjatlanta
b3af783f4e Building tests for journaling and backup 2017-08-28 13:04:27 -05:00
jmjatlanta
0066670f60 Datastore now returns a DatastoreRecord struct
When retrieving a record, a struct is returned, making it
much more user friendly.
2017-08-28 10:55:44 -05:00
jmjatlanta
5678a14eb3 Merge branch 'master' of https://github.com/Agorise/c-ipfs 2017-08-28 06:56:38 -05:00
jmjatlanta
1b69cdf1e8 Implemented client side of journaling protocol 2017-08-28 06:56:22 -05:00
d66bbdea65 Changed the interpretation of chunked in the API. 2017-08-24 23:13:36 -03:00
jmjatlanta
60c6085469 Code complete for client side of journal protocol 2017-08-24 13:30:44 -05:00
jmjatlanta
0bc975dfcf journaling protocol 2017-08-24 10:08:27 -05:00
jmjatlanta
d13e4b4318 Added journaling when a file is saved - beginning of backup scheme 2017-08-21 14:49:21 -05:00
jmjatlanta
5b242a2d08 An occasional ping to verify connectivity 2017-08-16 08:15:06 -05:00
jmjatlanta
5de67539ef correctly adding request to peer_request_queue 2017-08-16 07:34:28 -05:00
jmjatlanta
c58bfc9b1e Fixed loop 2017-08-16 07:08:39 -05:00
jmjatlanta
8a492c1e2f fixed memory leak 2017-08-16 06:41:48 -05:00
John Jones
5e8683e64d Cleaning up old code 2017-08-09 12:34:02 -05:00
John Jones
0e24b0a1d3 Fix small memory leak. 2017-08-09 12:26:26 -05:00
jmjatlanta
dd69216c75 Shut down handlers when app shuts down 2017-08-09 12:21:03 -05:00
jmjatlanta
d226e480c9 Fixing repeated needless sends 2017-08-09 12:09:44 -05:00
jmjatlanta
8944e407e9 Initialize handlers after peerstore and providerstore 2017-08-09 08:14:15 -05:00
John Jones
ced96dcf81 IPFS protocols now implement an interface to make marshalling easier 2017-08-09 08:04:17 -05:00
John Jones
c58134db1c Fixing memory leaks 2017-08-08 20:40:35 -05:00
jmjatlanta
6754ba77b3 Removing noise 2017-08-03 17:57:01 -05:00
jmjatlanta
46b6921ddf added more debugging messages 2017-08-03 17:51:34 -05:00
John Jones
3cc75058f0 Fix of memory leaks 2017-08-03 17:46:20 -05:00
jmjatlanta
2b24b00324 Cleanup of after free 2017-08-03 15:04:12 -05:00
jmjatlanta
b578e5c13a Fixed tests 2017-08-03 14:35:06 -05:00
jmjatlanta
ef53c886a0 Verify good connection before using it. 2017-08-03 13:36:53 -05:00
jmjatlanta
d1d4d19fa8 Handling details of bitswap 2017-08-03 11:16:58 -05:00
John Jones
e58909b875 Handle entry in WantlistQueue only once if we found provider 2017-08-02 11:43:48 -05:00
John Jones
3fa822aed6 Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2017-08-02 10:53:28 -05:00
John Jones
5910d63c3d Clean up when we receive a block we wanted 2017-08-02 10:53:14 -05:00
jmjatlanta
17dbad3bce clean up peer request queue after message send 2017-08-02 10:52:35 -05:00