Commit Graph

298 Commits (master)

Author SHA1 Message Date
Jose Marcial Vieira Bisneto d0c319a88c
Merge branch 'raduiliescu83-master' 2019-01-02 11:42:48 -03:00
Jose Marcial Vieira Bisneto 64a2a902db
Merge branch 'master' of git://github.com/raduiliescu83/c-libp2p into raduiliescu83-master 2019-01-02 11:25:59 -03:00
Agorise 1175378fb0
Update LICENSE 2019-01-01 10:42:03 -06:00
Radu Iliescu 3e35485820 Update multihash subproject 2018-12-05 08:52:11 -05:00
Radu Iliescu 797e4462d6 gitignore: ignore .so.* files 2018-12-03 09:25:35 -05:00
Radu Iliescu 2949b2468f Makefile: build libp2p as shared library 2018-12-03 09:24:50 -05:00
Radu Iliescu d386a4b496 build: fix all build warnings 2018-12-03 08:20:51 -05:00
Radu Iliescu 29d7a412fe gitignore: add cscope files in gitignore 2018-12-03 08:20:00 -05:00
Radu Iliescu f60d6560b1 Makefile: change the test build target - no more cd 2018-12-03 07:31:01 -05:00
Radu Iliescu 83c97bab78 Makefile: make first build targe all
Otherwise when you give make command it will do just link
2018-12-03 07:24:15 -05:00
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 209e7c432e Makefile: fix test build
was broken after moving c-multiaddress and c-multihash as subprojects
2018-12-03 06:04:51 -05:00
Radu Iliescu 8267745863 Makefile: use COMPONENTS list to generate the linker objects 2018-11-29 11:03:48 -05:00
Radu Iliescu bd6400c370 Makefile: create list of components and use it for compile and clean 2018-11-29 10:47:01 -05:00
Radu Iliescu 5bc911bba3 Makefile: update include path to c-* submodules 2018-11-29 08:12:39 -05:00
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
Jose Marcial Vieira Bisneto b272440954
Handle protocol message with a length while reading. 2018-11-16 11:33:52 -03:00
Jose Marcial Vieira Bisneto b0b18632f9
Fixed secio protocol request coming with length. 2018-11-16 11:20:06 -03:00
Jose Marcial Vieira Bisneto 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
Jose Marcial Vieira Bisneto 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
Jose Marcial Vieira Bisneto 3972574148
Implemented of protobuf encoding for identify protocol. 2017-11-09 23:06:43 -03:00
Jose Marcial Vieira Bisneto 5291cb7a9a
Implemented allocation and release of identify structure. 2017-11-09 22:57:11 -03:00
Jose Marcial Vieira Bisneto 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