Boris
66764acb29
Counting bytes in tcp read write ( #267 )
* Counting bytes in tcp read write
* Bytes counter moved to separate class because of clang tidy
* Delete moves for ByteCounter for clang tidy
* Copyright headers for ByteCounter
* Default destructor for ByteCounter specified for clang tidy
1 month ago
Ruslan Tushov
55a46f3194
kademlia fixes ( #266 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
1 month ago
Ruslan Tushov
a3f10047fb
agent version ( #178 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
1 month ago
Ruslan Tushov
aa19623b80
refactor test outcome ( #262 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
3 months ago
Igor Egorov
65827f3ecb
Remove noexcept from p2p ( #260 )
Signed-off-by: Igor Egorov <igor@qdrvm.io>
3 months ago
Igor Egorov
d997b023f7
Prevent access to uninitialized memory in Multiaddress ( #259 )
Signed-off-by: Igor Egorov <igor@qdrvm.io>
3 months ago
Eduardo Menges Mattje
9e86ed8c68
Added missing include to hash_type ( #258 )
3 months ago
Ruslan Tushov
d4a7fcc2c8
remove tls dependency on tcp ( #183 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
4 months ago
Ruslan Tushov
b195aa5e22
refactor tcp ( #253 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
5 months ago
Ruslan Tushov
1e689178f1
BoringSSL ( #252 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
5 months ago
David Cheeseman
cbed516501
Corrected Hunter link in README ( #251 )
5 months ago
Ruslan Tushov
2e375280e1
qtils ( #249 )
- outcome
- hex, unhex
- lexicographical_compare_three_way
- optionTake
- append, bytestr
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
5 months ago
Ruslan Tushov
c3192062c7
tsan weak_from_this race ( #248 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
6 months ago
Ruslan Tushov
4caaa47ae5
fix optional (assign not working) ( #246 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
6 months ago
Ruslan Tushov
9f61563492
kademlia random walk method ( #245 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
6 months ago
Ruslan Tushov
9f6f00f252
fix final action (moved optional was not reset) ( #244 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
6 months ago
Ruslan Tushov
f27f9fb9a2
thread safe scheduler ( #241 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
7 months ago
Ruslan Tushov
f128f56279
refactor (for qtils) ( #225 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
7 months ago
Ruslan Tushov
3cdf68a75a
fix websocket transport ( #238 )
* fix ws/wss observed address
* fix yamux use-after-free ub
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
7 months ago
GitHub
e0d8e055fe
chore: Update .github/workflows/stale.yml [skip ci]
9 months ago
Ruslan Tushov
06adba22c9
write free function ( #223 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
9 months ago
Dave Huseby
202245c1dd
chore(cfg): update issue templates to new YAML system ( #230 )
Signed-off-by: Dave Huseby <dwh@linuxprogrammer.org>
10 months ago
Ruslan Tushov
aa51f77fec
multistream max ( #229 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
10 months ago
Ruslan Tushov
e6972065cb
Refactor read write some ( #206 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
1 year ago
Dmitriy Khaustov
d117c3c76e
Refactor: format, include-guards, copyrights, git-hooks ( #222 )
* refactor: change copyright comments
* refactor: replace include-guards by pragma-once
* update: clang-format config
* feature: git-hook for format
* fix: target `clang-format`
* refactor: reapply updated clang-format config
* update: bump version to 0.1.17
* fix: clang-format version selector
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
1 year ago
Dmitriy Khaustov
e1c2393081
Replace Microsoft.GSL by STL analogs ( #221 )
* refactor: remove GSL
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
* fix: review issues
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
* lexicographical_compare_three_way
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
* remove concept
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
* fix: review issues
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
* fix: review issues
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
* fix: review issue
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
* fix: review issue
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
* fix: review issue
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
* fixup: incomplete rename
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
* feature: deduction guideline for FinalAction
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
---------
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
Co-authored-by: turuslan <turuslan.devbox@gmail.com>
1 year ago
Ruslan Tushov
ac2eec9b95
kademlia multiple protocols ( #219 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
1 year ago
Ruslan Tushov
28f3bf0570
fix ws empty frame ( #218 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
1 year ago
Dmitriy Khaustov
3afa249279
Refactor, remove redundants, update hunter ( #216 )
* fix: formatters
* fix: use ::fmt::format explicitly
* update: hunter
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
1 year ago
Dmitriy Khaustov
f38725b3db
Fixes for C++20 support ( #215 )
* fix: using soralog
* feature: formatter for outcome
* fix: muxer and streams test
* update: hunter
* update: own version
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
1 year ago
kamilsa
b5da81b6c2
Update hunter, switch to C++20 ( #214 )
* Update hunter links
* Switch to C++20
* Update ci.yml
* Remove ninja, fix cmake version
* Fix event emitter test
* Update cmake/toolchain/clang-15_cxx17.cmake
Co-authored-by: Dmitriy Khaustov <khaustov.dm@gmail.com>
---------
Co-authored-by: Dmitriy Khaustov <khaustov.dm@gmail.com>
1 year ago
GitHub
6294fd057d
chore: Update .github/workflows/stale.yml [skip ci]
1 year ago
GitHub
dc07eaff45
chore: Update .github/workflows/stale.yml [skip ci]
1 year ago
Ruslan Tushov
42982bf471
tcp listener ws wss address ( #211 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
1 year ago
kamilsa
3c5276de34
Update hunter ( #209 )
* Update hunter
* Update hunter to release version
2 years ago
Ruslan Tushov
25736e09b6
Fix injector ( #208 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
2 years ago
Ruslan Tushov
47331081bc
Fix ws ( #207 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
2 years ago
Ruslan Tushov
530d6cc68f
wss ( #205 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
2 years ago
Ruslan Tushov
400ceb8f1d
ws beast ( #204 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
2 years ago
Dmitriy Khaustov
baed94dc62
Connection layers mechanism; Websocket layer ( #201 )
* feature: layers of connections
* feature: upgrade layers of connection
* fix: tests
* feature: test of layers upgrade
* refactor: enable disabled upgrader tests
* feature: sha-1 hash
* feature: websocket layer
* fix: read-buffer extending
* feature: decide layers for connection upgrade by provided multiaddress
* refactor: combine regular and websocket echo-client/-server to single one
* refactor: rename peer::Protocol to peer::ProtocolName
* refactor: implement addressToBytes, as replacement addressToHex
* refactor: mark addressToHex as deprecated
* feature: extend ConversionError
* fix: multiaddress manipulations
* feature: dummy protocols for tests
* fix: tests of converters
* fix: collision in DI
* refactor: update outcome macros for tests
* fix: connection upgrader in part of layers
* fix: ws read-writer in case big data fragmented by frames
* experiment: add delay of sending jumbo message, to give a chance for Id-protocol to end his work
* experiment: log difference sent and received data for analyse
* feature: control frames (ping/pong/close)
* fix: sending huge portions of data
* fix: echo sessions
* feature: optional hex dump in dumpBin
* fix: echo client
* update: hunter package manager
* fix: hardcoded request and response in http-to-ws upgraded
* fix: add ws version header
* fix: reduce length of ws-key header
* fix: make ws-header check case-insensitive
* fix: use locale independent predicate for ci-compare
* fix: use boost endian conversion instead endian macros
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
2 years ago
Ruslan Tushov
d2f2fd1d0e
Fix kademlia ( #202 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
2 years ago
Marco Munizaga
4b2b3752c7
fix: use the correct x509 version ( #196 )
* Use the correct x509 version
* fix: supress useless clang-tidy warnings about narrowing conversion
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
Co-authored-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
2 years ago
Piotr Olszewski
0cf9827b40
fix: prevent segmentation fault when receiving empty protobuf message ( #199 ) ( #200 )
Fix to prevent segmentation fault when receiving empty protobuf message by checking if returned
shared pointer contains null and if so, just calling the callback.
2 years ago
dependabot[bot]
563403ca54
Bump github.com/libp2p/go-libp2p in /example/01-echo ( #198 )
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p ) from 0.8.1 to 0.18.0.
- [Release notes](https://github.com/libp2p/go-libp2p/releases )
- [Commits](https://github.com/libp2p/go-libp2p/compare/v0.8.1...v0.18.0 )
---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
0af4c76602
Bump github.com/gogo/protobuf from 1.3.1 to 1.3.2 in /example/01-echo ( #181 )
Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/gogo/protobuf/releases )
- [Commits](https://github.com/gogo/protobuf/compare/v1.3.1...v1.3.2 )
---
updated-dependencies:
- dependency-name: github.com/gogo/protobuf
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Dmitriy Khaustov
5e13b979ea
Remove unused 'ls' command ( #194 )
* update: update hunter hub
* fix: remove deprecated command 'ls'
* fix: clang-tidy issues
* fix: clang-tidy issues
Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com>
2 years ago
libp2p-mgmt-read-write[bot]
d205cb5337
chore: Update .github/workflows/stale.yml [skip ci]
2 years ago
Ruslan Tushov
abd4e00656
remove assert in yamux ( #193 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
2 years ago
Ruslan Tushov
48f3457dd7
Fix kademlia ( #191 )
Signed-off-by: ortyomka <iurin.art@gmail.com>
Co-authored-by: turuslan <turuslan.devbox@gmail.com>
2 years ago
Ruslan Tushov
6cab799394
Protocol select ( #189 )
Signed-off-by: turuslan <turuslan.devbox@gmail.com>
2 years ago