Commit Graph

433 Commits (yamux)

Author SHA1 Message Date
John Jones 9bdfed92f1 Merge branch 'master' into yamux
# Conflicts:
#	core/http_request.c
2017-11-29 06:21:49 -05:00
John Jones 65a61268a3 Final adjustments before merge back to master 2017-11-29 05:55:03 -05:00
John Jones 14ad68b9bb fix compiler warning 2017-11-28 23:42:17 -05:00
John Jones 48b9647a3c More go compat fixes 2017-11-28 22:44:45 -05:00
John Jones f3db50c3ba debugging yamux and go 2017-11-27 09:06:57 -05:00
John Jones f96209fc4b Minor fixes for yamux testing with GO 2017-11-23 07:45:06 -05:00
John Jones 6160dd841b Big changes for the yamux protocol
The Stream interface changed, so it touches many areas. But this change
will help with memory allocation and a cleaner interface.
2017-11-08 10:54:31 -05:00
John Jones 8b2a8ef3ab Minor changes for yamux 2017-11-06 13:37:48 -05:00
John Jones 0c31ef7331 More changes to swarm negotiation 2017-10-25 12:29:20 -05:00
jmjatlanta b72f247939 More implementation of dialer 2017-10-23 18:03:55 -05:00
jmjatlanta 9087c58113 more changes for dialer 2017-10-23 16:21:24 -05:00
jmjatlanta f9bec0ac20 New way of swarm connection 2017-10-23 15:22:12 -05:00
jmjatlanta 91f5c50a71 Network write methods now expect struct StreamMessage 2017-10-23 09:48:19 -05:00
jmjatlanta 9afaf535d6 Reading from stream now uses a StreamMessage struct 2017-10-23 09:03:30 -05:00
Agorise 3d7dd87ef3 Update LICENSE 2017-10-16 13:43:57 +03:00
Jose Marcial Vieira Bisneto ae6fe6dc29
Changed some API calls to use POST method. 2017-10-12 20:12:28 -03:00
Jose Marcial Vieira Bisneto 4e556221bd
Fixed issue when receiving by POST method. 2017-10-12 20:08:21 -03:00
jmjatlanta a315af8534 Now correctly initializing Cid variable, and checking after decoding 2017-10-12 13:04:23 -05:00
jmjatlanta e394723fb6 Initializing uninitialized variable. 2017-10-12 12:57:20 -05:00
jmjatlanta cfde84b15c Beginnings of stream locking 2017-10-12 12:38:00 -05:00
jmjatlanta b399762d82 Handle api and cli swarm connect 2017-10-12 10:12:54 -05:00
jmjatlanta 8cdaf919fe First cut of yamux protocol 2017-10-11 11:23:49 -05:00
John Jones 575be24be2 memory and bug fixes, plus update of several tests 2017-10-09 15:23:30 -05:00
John Jones 98b1e0fef4 Return a copy of the block from the exchange, not the block itself
Returning the block itself will cause problems when a client deallocates
the block.
2017-10-09 10:01:29 -05:00
jmjatlanta f69ab92469 Fixed merge conflicts 2017-10-09 09:13:54 -05:00
jmjatlanta b99a78a4d3 Merge branch 'master' of https://github.com/Agorise/c-ipfs
Conflicts:
	test/scripts/run_tests.sh
	test/testit.c
2017-10-09 09:12:14 -05:00
jmjatlanta c0855c9630 Going through tests, verifying functionality 2017-10-09 09:00:48 -05:00
John Jones a6a54fb69b Made test file generation faster 2017-10-05 15:37:27 -05:00
John Jones 71c216defb Better handling of bad memory allocation 2017-10-05 15:14:47 -05:00
John Jones 996687cfce Better fix for memory allocation issue with unixfs 2017-10-05 13:52:30 -05:00
John Jones 9c63ed1315 Bad alloc was not being checked 2017-10-05 13:49:08 -05:00
John Jones 99ffd120e8 Added test for transferring large files 2017-10-05 13:36:23 -05:00
John Jones 861ca0a332 Conversion from blockstore to node was not happening 2017-10-05 13:08:36 -05:00
John Jones 2ee0a87439 Adjusting test scripts to make it easier to spot failures. 2017-10-05 11:20:12 -05:00
John Jones 42aa1646ab Misc changes to support binary upload 2017-10-04 09:36:38 -05:00
John Jones 8aa7b7ca77 Added more tests, fixed bug with binary file xfer 2017-10-04 08:42:00 -05:00
John Jones b9c28ceed4 Adjustments to handle retrieval of binary files 2017-10-04 07:33:29 -05:00
John Jones 7259028bd0 small fix to test 2017-10-04 06:38:38 -05:00
John Jones 596a811d5e testing of using api for binary files 2017-10-04 06:34:37 -05:00
Jose Marcial Vieira Bisneto 3b2e94ebe2
Implemented HTTP Post using libcurl. 2017-10-03 12:33:30 -03:00
Jose Marcial Vieira Bisneto 495a92f5f8
Fixed binary chunk response in API. 2017-09-28 21:54:09 -03:00
John Jones cd922633b2 Added 1 more test 2017-09-28 17:17:33 -05:00
John Jones c65301dc28 memory fixes 2017-09-28 16:32:36 -05:00
John Jones 27d36d8320 Minor memory leak fixes 2017-09-28 15:43:03 -05:00
John Jones 7aa81936ec Minor memory leak fixes 2017-09-28 14:44:55 -05:00
John Jones 87cc96a011 Fix of memory leak 2017-09-28 13:48:57 -05:00
jmjatlanta 7f89e80d7b Debugging 2017-09-28 13:21:34 -05:00
jmjatlanta 296d164e84 now puting result of get_value in the return buffer 2017-09-28 08:24:57 -05:00
jmjatlanta 3d425bb30f Fixes for remote file retrieval 2017-09-28 07:58:51 -05:00
jmjatlanta f5250a71f3 more changes to implement api for dht provide and get 2017-09-27 11:45:36 -05:00