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
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
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
caf02463c6
Memory cleanup
2017-04-17 11:57:37 -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
c29c5744b8
Beginnings of the Record protobuf and more changes to dialer
2017-02-16 18:49:17 -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