metarhia / jstp

Fast RPC for browser and Node.js based on TCP, WebSocket, and MDSF
https://metarhia.github.io/jstp
Other
142 stars 10 forks source link

lib: change the default reconnector behavior #393

Closed belochub closed 5 years ago

belochub commented 5 years ago

Avoid trying to reconnect for additional one time after the connection is intentionally closed in some cases.

belochub commented 5 years ago

Landed in https://github.com/metarhia/jstp/commit/316e75fb5d530f86c745abb8430cab4806d20234.