Radu Iliescu
d748851704
dependencies: add c-multiaddr, c-multihash and c-protobuf as submodules
2018-11-29 07:51:48 -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
Radu Iliescu
ccabb8c0ac
gitignore: don't ignore everything
2018-11-29 05:34:18 -05:00
Radu Iliescu
e93e212d70
Makefile: link should depend on compile
...
This fixes make all - previously it was doing first link then compile with make 4.1
2018-11-28 10:48:46 -05:00
b272440954
Handle protocol message with a length while reading.
2018-11-16 11:33:52 -03:00
b0b18632f9
Fixed secio protocol request coming with length.
2018-11-16 11:20:06 -03:00
f04fa5c9e5
Removed send protocol since it was sent before.
...
libp2p_secio_stream_new already calls libp2p_secio_send_protocol
2018-11-01 23:15:24 -03:00
5e4f3cdb04
Fixed swarm multistream as incoming instead of outgoing connection.
2018-10-26 18:50:40 -03:00
Agorise
6e9c67d121
Update LICENSE
2018-06-17 16:29:20 +03:00
John Jones
2e0391f68c
Make yamux compatible with GO. Still testing
2017-11-30 20:58:47 -05:00
John Jones
4218876198
Changes to Identity protocol
2017-11-30 15:27:28 -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
f0342785d2
Now correctly negotiating yamux
2017-11-29 07:40:52 -05:00
John Jones
f4db6f15fb
Commented out old test, needs to be redone
2017-11-29 06:32:37 -05:00
John Jones
898e06ea55
Merge branch 'master' of https://github.com/Agorise/c-libp2p
2017-11-29 06:23:21 -05:00
John Jones
59f3a0664a
Merge branch 'master' into yamux
...
# Conflicts:
# test/test_secio.h
2017-11-29 06:18:45 -05:00
John Jones
8f4adf682b
Final adjustments before merge back to master
2017-11-29 05:54:27 -05:00
John Jones
35d795df94
test_compat_go now negotiating yamux
2017-11-28 23:58:28 -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
db67210257
Merge branch 'yamux' of https://github.com/Agorise/c-libp2p into yamux
2017-11-19 13:37:21 -05:00
John Jones
b3c8e77ed9
Various changes for yamux adding a protocol
2017-11-19 13:37:03 -05:00
Agorise
858b36fcad
Update LICENSE
2017-11-15 13:10:51 +02:00
3972574148
Implemented of protobuf encoding for identify protocol.
2017-11-09 23:06:43 -03:00
5291cb7a9a
Implemented allocation and release of identify structure.
2017-11-09 22:57:11 -03:00
c137aa04fe
Added missing prototype.
2017-11-09 22:54:19 -03: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
18b0139b81
squashed some memory leak bugs in yamux
2017-11-06 16:38:55 -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
a91e840770
Initial implementation of the identify protocol.
2017-11-03 03:26:43 -03:00
John Jones
9200e0f09c
More implementation of the yamux protocol
2017-11-02 14:45:17 -05:00
John Jones
5e1cdac4cf
Moved buffered secio to context struct
2017-11-02 13:43:52 -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
03a4b412dd
More swarm changes
2017-10-25 12:43:27 -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
05f2620054
More changes for dialer
2017-10-23 16:21:03 -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
0166a89d48
more docs on swarm connections
2017-10-18 09:14:26 -05:00