Commit Graph

76 Commits (master)

Author SHA1 Message Date
Radu Iliescu 8d3957f3b8 Makefile: refactor CFLAGS to come from main Makefile
Also remove CC and link flags since linking is done in main Makefile
2018-12-03 07:22:33 -05:00
Radu Iliescu d3858ffc26 Makefile: refactor include files
Now major include files are comming from main Makefile,
module need to add just their specific include path.
To work make the include path absolute.
2018-11-29 07:15:27 -05:00
Jose Marcial Vieira Bisneto b272440954
Handle protocol message with a length while reading. 2018-11-16 11:33:52 -03:00
John Jones 2e0391f68c Make yamux compatible with GO. Still testing 2017-11-30 20:58:47 -05:00
John Jones e67d626000 Added buffering to yamux 2017-11-30 14:32:36 -05:00
John Jones 5af0422d74 Intermediate save trying to get yamux streams happy 2017-11-29 10:57:48 -05:00
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 b3c8e77ed9 Various changes for yamux adding a protocol 2017-11-19 13:37:03 -05: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 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
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 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 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 2391f23b4e Beginnings of stream locking 2017-10-12 12:37:40 -05:00
jmjatlanta 6b185e31bd First commit of yamux protocol 2017-10-11 11:23:25 -05:00
jmjatlanta 974d328fb6 more useful debugging message 2017-09-25 13:33:42 -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 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
Jose Marcial Vieira Bisneto 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 a009673969 Added some debugging information to protocols 2017-08-09 12:08:57 -05:00
John Jones 6f77a64adb IPFS protocols now implement an interface to make marshalling easier 2017-08-09 08:03:40 -05:00
jmjatlanta 48c4b5ade0 Cleaning up bad connections 2017-08-03 12:17:17 -05:00
jmjatlanta 61a576eb93 Handling details of bitswap and connection pool 2017-08-03 11:15:40 -05:00
John Jones 4542ebe1cb correctly handle a stream that is unable to connect 2017-07-31 08:38:16 -05:00
John Jones 343748bc0f added comments 2017-07-27 15:13:35 -05:00
John Jones 1e49d8f7ab Fixed small memory leak 2017-07-27 14:32:42 -05:00
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
Jose Marcial Vieira Bisneto e51643a8f4 Avoiding leaving the socket open when an error occurs in multistream connect. 2017-07-06 22:09:38 -03:00