From d594db1b68d6a2c890d385087799dd8cdf6dc966 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 28 Aug 2017 20:30:00 +0000 Subject: Revert big hammer. Data still needs to be flushed to the network even when the local app dies. --- src/sbearssl/sbearssl_run.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/sbearssl') diff --git a/src/sbearssl/sbearssl_run.c b/src/sbearssl/sbearssl_run.c index dd2f49b..26a8bd3 100644 --- a/src/sbearssl/sbearssl_run.c +++ b/src/sbearssl/sbearssl_run.c @@ -112,11 +112,7 @@ int sbearssl_run (br_ssl_engine_context *ctx, int *fds, pid_t pid, unsigned int /* Signal */ - if (x[0].revents & IOPAUSE_READ) - { - handle_signals(pid, &e) ; - if (e >= 0) break ; - } + if (x[0].revents & IOPAUSE_READ) handle_signals(pid, &e) ; /* Flush to local */ -- cgit v1.2.3