jmjatlanta
8c1c813643
sanity check
...
additional sanity check in peerstore and saving remote peer id when
connecting with secio
2017-07-31 15:18:17 -05:00
John Jones
5406fb29e2
Chasing memory leak possibly in PeerStore
2017-07-31 14:51:29 -05:00
jmjatlanta
a137c2c43e
Code Cleanup plus making providerstore smarter
2017-07-31 12:49:41 -05:00
John Jones
90b1e2c3c8
return on timeout
2017-07-31 10:00:32 -05:00
John Jones
4542ebe1cb
correctly handle a stream that is unable to connect
2017-07-31 08:38:16 -05:00
John Jones
30250a1af0
Making a Libp2pPeer more useful
2017-07-31 06:42:42 -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
John Jones
93bb78169a
Can now compare 2 sessions for equality
2017-07-26 07:37:28 -05:00
John Jones
c660a6eb32
added todo comment
2017-07-24 18:00:22 -05:00
John Jones
dac251bf4c
Added important comment to vector
2017-07-24 10:32:21 -05:00
jmjatlanta
2f8057e4b8
added include to squelch warning
2017-07-20 15:03:11 -05:00
jmjatlanta
dfb1aba247
Fixed warnings
2017-07-17 16:14:20 -05:00
John Jones
ffd27eb062
A better fix for osx
2017-07-17 15:24:37 -05:00
John Jones
e2d63e029c
fixed endian.h header for osx
2017-07-17 15:23:29 -05:00
John Jones
8bf4e3cf07
Added define for osx
2017-07-17 15:20:28 -05:00
John Jones
3b52948b3b
Now using logger instead of fprintf
2017-07-17 14:38:48 -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
John Jones
cff0e4d6aa
Incremental commit for secio fixes and connecting to swarms
2017-07-13 07:27:10 -05:00
e32837031f
Implemented timeout to avoid hang due to connection error.
2017-07-06 22:31:16 -03: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
ff4be03782
Better handling of locally stored files
2017-05-11 07:04:28 -05:00
John Jones
910e84dd5c
Reformatted for better error handling
2017-04-27 15:51:30 -05:00
John Jones
9caba0aa00
Memory fix in tcp_transport_dialer
2017-04-27 08:14:19 -05:00
John Jones
f061d03cfa
Small fix to logging cleanup
2017-04-27 00:06:43 -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
22a782d9f1
Major changes to retrieving files
...
Working on transfer of big files
2017-04-20 17:55:18 -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
f3de55999f
Implemented find providers from remote peers
2017-04-16 23:46:52 -05:00
John Jones
e886fe3288
Handling finding of peer via swarm
2017-04-13 09:30:28 -05:00
John Jones
dc546649fd
Make sure directory exists and is a real directory
2017-04-06 17:47:25 -05:00
John Jones
e237b239a1
Added get_value to dht
2017-04-06 09:55:01 -05:00
John Jones
1fa1e92016
Moved datastore interface from ipfs to libp2p
2017-04-06 09:32:54 -05:00
John Jones
ae2037081c
Small bugfix to peer copy
2017-04-05 20:34:13 -05:00
John Jones
14209748d6
More debugging messages
2017-04-03 22:07:22 -05:00
John Jones
0a3812cb85
fixes to multiaddress generation on connection
2017-04-03 21:17:29 -05:00
John Jones
6ad645dcac
Added debugging to dht_protocol
2017-04-03 21:03:16 -05:00
John Jones
12f15c4231
Cleaned code around peerstore, providerstore, and networking
2017-04-03 20:54:41 -05:00
John Jones
0a6b4b621c
Adding providers to providerstore on kademlia call
2017-04-03 18:13:42 -05:00
John Jones
053d33cec3
added debugging to dht_protocol
2017-04-03 23:03:49 +00:00
John Jones
5643c553df
bug fix in add_provider
2017-04-03 17:41:13 -05:00
John Jones
1489e4fbf8
Added some debugging to dht
2017-04-03 17:36:51 -05:00
John Jones
f1c8ceedbd
Handling add provider
2017-04-03 17:26:08 -05:00