neo-go/pkg
Pavel Karpy 9fadfef0d7 rpcclient/WS: do not deadlock on connection loss
`makeWsRequest` creates a channel for response and waits for it. If between
creating the channel and starting the reading `select` connection is lost
(`writerDone` channel is closed), nothing reads from the channel and a
deadlock appears. Looking at "done" channels when transferring RPC data
solves the issue. Closes #3530.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2024-07-29 17:39:11 +03:00
..
compiler native: autogenerate nativehashes package 2024-05-14 09:39:53 +03:00
config config: get back default node configuration values 2024-07-05 13:31:25 +03:00
consensus consensus: use better dbFT 2024-03-25 19:21:51 +03:00
core Merge pull request #3523 from nspcc-dev/fix-null-handling-in-manifest 2024-07-29 13:11:20 +03:00
crypto crypto: export GetSignedData function 2024-05-13 09:33:42 +03:00
encoding *: drop go 1.18 support in doc and build targets 2023-10-12 17:59:42 +03:00
interop block: add PrimaryIndex to the stack item of block 2024-07-27 12:35:19 +03:00
io *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
neorpc neorpc: extend getpeers method 2024-06-27 10:41:59 +01:00
neotest crypto: add StringCompressed() for PublicKey 2024-04-11 15:24:46 +03:00
network Merge pull request #3501 from NeoGoBros/add-max-array-size-test 2024-07-03 19:34:14 +03:00
rpcclient rpcclient/WS: do not deadlock on connection loss 2024-07-29 17:39:11 +03:00
services rpcsrv: set minimal default SessionExpirationTime to 5s, fix #3509 2024-07-26 17:17:37 +03:00
smartcontract manifest: make default trusts invalid 2024-07-26 15:18:25 +03:00
util *: Convert slices to arrays instead of copy where possible 2024-07-05 20:36:22 +04:00
vm Merge pull request #3460 from NeoGoBros/add-onexec-hook 2024-07-03 13:21:46 +03:00
wallet wallet: do not store deployed contract script inside Contract account 2024-06-05 15:27:20 +03:00