From 35792ccc37a924eb6fcf29a693085e3d56700030 Mon Sep 17 00:00:00 2001 From: Vincent Bernardoff Date: Fri, 2 Jun 2017 18:19:28 +0200 Subject: [PATCH] RPCs: fix node crash on SSL write error --- src/node/main/node_run_command.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node/main/node_run_command.ml b/src/node/main/node_run_command.ml index c4202a686..22ac4f83d 100644 --- a/src/node/main/node_run_command.ml +++ b/src/node/main/node_run_command.ml @@ -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 =