neo-go/pkg/rpcclient
Anna Shaleva dab13a4e2d rpcclient: close WSClient subscriber on overflow
Close #2894.

It should be noted that the subscriber's channel is being removed from the
list of receivers and closed, but it is still *in the list of subscribers*
and no unsubscription is performed by WSClient. Which means that RPC server
keeps sending notifications to WSClient and WSClient keeps dropping them
(because there's no receiver for this subscription and it's OK, WSClient
can handle this and this behaviour is documented). However, it's still the
caller's duty to call Unsubscribe() method for this subscription.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-04-25 11:42:17 +03:00
..
actor config: use uint32 for validators/committee members count 2023-04-13 13:42:40 +03:00
gas *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
invoker Merge pull request #2957 from nspcc-dev/rm-go-17 2023-04-04 15:25:14 +03:00
management *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
neo *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
nep11 *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
nep17 *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
neptoken *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
nns *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
notary *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
oracle *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
policy *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
rolemgmt *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
unwrap *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
client.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
client_test.go rpcclient: expose endpoint (fixes #2912) 2023-02-15 08:29:44 +01:00
doc.go rpcclient: update documentation, mention subpackages 2022-09-08 14:33:04 +03:00
doc_test.go rpc/client: move to pkg/rpcclient 2022-07-21 22:39:53 +03:00
helper.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
local.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
local_test.go rpcclient: add Internal client for direct RPC server calls 2023-02-16 23:49:58 +03:00
native.go Merge pull request #2665 from nspcc-dev/notary-rpcclient 2022-08-30 12:43:13 +03:00
nep.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
nep11.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
nep17.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
policy.go rpcclient; deprecate more methods 2022-09-08 14:33:04 +03:00
rpc.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
rpc_test.go rpcclient: close WSClient subscriber on overflow 2023-04-25 11:42:17 +03:00
wsclient.go rpcclient: close WSClient subscriber on overflow 2023-04-25 11:42:17 +03:00
wsclient_test.go rpcclient: close WSClient subscriber on overflow 2023-04-25 11:42:17 +03:00