RPCs: fix node crash on SSL write error
This commit is contained in:
parent
591f11a808
commit
35792ccc37
@ -126,6 +126,7 @@ let () =
|
||||
let old_hook = !Lwt.async_exception_hook in
|
||||
Lwt.async_exception_hook := function
|
||||
| Ssl.Read_error _ -> ()
|
||||
| Ssl.Write_error _ -> ()
|
||||
| exn -> old_hook exn
|
||||
|
||||
let init_rpc (rpc_config: Node_config_file.rpc) node =
|
||||
|
Loading…
Reference in New Issue
Block a user