Dmitriy Ryajov
04a802a995
exceptions and resource cleanup
2020-06-02 10:10:53 -06:00
Dmitriy Ryajov
ea2092580a
wip
2020-06-02 10:08:02 -06:00
Dmitriy Ryajov
3ddc4bbebd
additional comments
2020-06-02 10:05:10 -06:00
Dmitriy Ryajov
bb4635a2d7
add leaks tests
2020-06-02 10:05:10 -06:00
Dmitriy Ryajov
d4f8680fe9
remove close from read/write methods
2020-06-02 10:05:09 -06:00
Dmitriy Ryajov
7a261ab103
emulate defered
2020-06-02 10:05:02 -06:00
Dmitriy Ryajov
cb0f71a092
more consistent dialing proto selecting logic
2020-06-01 12:18:19 -06:00
Dmitriy Ryajov
5d7b6cb7e9
use all() for futures and track connections
2020-06-01 12:18:19 -06:00
Dmitriy Ryajov
58f43926fe
decorate observers hooks with {.raises: [Defect].}
...
move hooks logic out into standalone procs
License: MIT
Signed-off-by: Dmitriy Ryajov <dryajov@gmail.com>
2020-06-01 12:14:38 -06:00
Dmitriy Ryajov
132f0d7ee4
typos
2020-06-01 12:14:38 -06:00
Dmitriy Ryajov
7e8f0510d6
move EOF flag after local close and comments
2020-06-01 12:14:37 -06:00
Dmitriy Ryajov
ead8b4a75c
remove all()
2020-06-01 12:14:37 -06:00
Dmitriy Ryajov
f4482b1601
typo
2020-06-01 12:14:37 -06:00
Dmitriy Ryajov
abebe8d6d1
test for openned/closed resource
2020-06-01 12:14:35 -06:00
Dmitriy Ryajov
ff9d2c55b4
remove readloops
2020-06-01 12:14:20 -06:00
Dmitriy Ryajov
353c0f3280
move stram close to a better location
2020-06-01 12:14:20 -06:00
Dmitriy Ryajov
5432a41f14
don't crash schlesi-dev
2020-06-01 12:14:20 -06:00
Dmitriy Ryajov
c19785d40d
use all() for futures and track connections
2020-06-01 12:14:18 -06:00
Dmitriy Ryajov
432e7bc4a7
better exception handling and resource cleanup
2020-06-01 12:14:00 -06:00
Dmitriy Ryajov
bf183d061b
better exceptions
2020-06-01 12:14:00 -06:00
Dmitriy Ryajov
fcde203ba9
better cleanup
2020-06-01 12:14:00 -06:00
Dmitriy Ryajov
29e166a733
wip: try handling child stream exceptions
2020-06-01 12:13:59 -06:00
Dmitriy Ryajov
fd2f3bc7aa
initStream method and better exceptions handling
2020-06-01 12:13:59 -06:00
Dmitriy Ryajov
5b03e17123
better exceptions and don't fail writes
2020-06-01 12:13:59 -06:00
Dmitriy Ryajov
b9b20b7c61
resource cleanup
2020-06-01 12:13:58 -06:00
Dmitriy Ryajov
66ab83734c
better exception handling
2020-06-01 12:13:58 -06:00
Dmitriy Ryajov
4a849f8ec3
exceptions and resource cleanup
2020-06-01 12:13:58 -06:00
Dmitriy Ryajov
08712e810e
gossipsub fixes
2020-06-01 12:13:58 -06:00
Dmitriy Ryajov
debf1ca219
remove unneeded changes
2020-06-01 12:13:57 -06:00
Dmitriy Ryajov
2a8fa3291f
fix merge
2020-06-01 12:13:57 -06:00
Dmitriy Ryajov
c0d4b31f05
rust interop fixes
2020-06-01 12:13:57 -06:00
Dmitriy Ryajov
fecaeecf57
rebasing master
2020-06-01 12:13:57 -06:00
Dmitriy Ryajov
94d4f98ee8
inc count before closing
2020-06-01 12:13:56 -06:00
Dmitriy Ryajov
fa7d69b973
read from stream
2020-06-01 12:13:56 -06:00
Dmitriy Ryajov
6827cf9b61
revert back allread
2020-06-01 12:13:56 -06:00
Dmitriy Ryajov
f5c871518e
remove on transport close cleanup
2020-06-01 12:13:56 -06:00
Dmitriy Ryajov
3d6961e2a8
fixes after backporting
2020-06-01 12:13:55 -06:00
Dmitriy Ryajov
b6dd406d85
don't reraise just yet
2020-06-01 12:13:55 -06:00
Dmitriy Ryajov
631546c2b5
make noise work again
2020-06-01 12:13:55 -06:00
Dmitriy Ryajov
51611c9a27
don't use read
2020-06-01 12:13:53 -06:00
Dmitriy Ryajov
40aef3ffa5
close connection on chronos close
2020-06-01 12:13:28 -06:00
Dmitriy Ryajov
e4b2018522
wip
2020-06-01 12:13:28 -06:00
Dmitriy Ryajov
8ca1027ef9
add eof and closed handling
2020-06-01 12:13:28 -06:00
Dmitriy Ryajov
e876a16062
wip: rework with proper half-closed
2020-06-01 12:13:27 -06:00
Dmitriy Ryajov
2d1b05e827
call write until all is written out
2020-06-01 12:13:27 -06:00
Dmitriy Ryajov
42ae8589fb
breakout from publish loop
2020-06-01 12:13:27 -06:00
Jacek Sieka
7e31210455
cover missing case in MultiAddress.init ( #198 )
...
* cover missing case in MultiAddress.init
* raise assert on marker in protocol
* unify inits for markers / non-markers
* fix string
2020-06-01 14:41:45 +02:00
Jacek Sieka
88dbeebf17
add side effect annotations ( #197 )
2020-06-01 09:25:16 +02:00
Giovanni Petrantoni
37b98ad45c
Secure managers are now sorted, giving priority to noise ( #191 )
...
* Secure managers are now sorted, giving priority to noise
* fix nimble test command
* Fix native tests
* fix directchat sample
* Could not write to connection - reduce verbosity
* fix interop testing
* Remove more tables
* test interop fixes
* directchat fix
* fix interop/remove some deprecation
2020-06-01 08:41:32 +02:00
Giovanni Petrantoni
6affcda937
Less exceptions more results ( #188 )
...
* Less exceptions more results
* Fix daemonapi and interop tests
* Add multibase
* wip multiaddress
* fix the build, consuming new result types
* fix standard setup
* Simplify match, rename into MaError, add more exaustive err text
* Fix the CI issues
* Fix directchat build
* daemon api fixes
* better err messages formatting
Co-authored-by: Zahary Karadjov <zahary@gmail.com>
2020-05-31 16:22:49 +02:00