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
7c62bdfbb7
debugging yamux and go
2017-11-27 09:06:33 -05:00
John Jones
e05e02188a
More updates to the yamux protocol
2017-11-23 06:23:50 -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
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
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
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
e51643a8f4
Avoiding leaving the socket open when an error occurs in multistream connect.
2017-07-06 22:09:38 -03:00
John Jones
e4ba343d48
Fixes for various memory leaks
2017-05-11 13:53:23 -05:00
John Jones
8ce1c32ec4
Multiple memory fixes, mostly in tests
2017-04-26 23:56:18 -05:00
John Jones
3463196f9c
Increased max size of buffer for received data
...
Note: this number should be made to be dynamic
2017-04-24 16:33:23 -05:00
John Jones
609ed80aaf
Using the correct socket descriptor
2017-04-17 14:36:46 -05:00
John Jones
c1e7131c7c
passing network timeouts to read methods
2017-04-17 14:03:27 -05:00
John Jones
e886fe3288
Handling finding of peer via swarm
2017-04-13 09:30:28 -05:00
John Jones
12f15c4231
Cleaned code around peerstore, providerstore, and networking
2017-04-03 20:54:41 -05:00
John Jones
69cbff9cd6
Refactor - SecureSession to SessionContext
2017-03-19 07:42:52 -05:00
John Jones
74d95cb696
Working on streams
2017-03-09 12:49:47 -05:00
John Jones
d0512d9084
Made the stream methods more generic
2017-03-09 10:00:45 -05:00
John Jones
6d9473069b
Many fixes around secio
2017-03-02 16:14:52 -05:00
John Jones
f1aaae0f17
Implementing a Stream interface in front of Multistream
2017-02-23 15:16:04 -05:00
John Jones
8139dc9d48
Added ping functionality to multistream
2017-02-23 11:15:48 -05:00
John Jones
c1620d1d8b
More progress on secio
2017-02-09 03:34:12 -05:00
John Jones
773c980f1f
intermediate commit for handshake
...
Working on negotiations between GO and C version of IPFS
2017-02-08 22:51:35 -05:00
John Jones
be9f278ebf
Beginning of testing of handshake
2017-02-08 12:32:41 -05:00