summaryrefslogtreecommitdiff
path: root/src/sbearssl
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-08-28 20:30:00 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-08-28 20:30:00 +0000
commitd594db1b68d6a2c890d385087799dd8cdf6dc966 (patch)
tree2bf0a98cace8d47df3f4f70df54a0941bab30d62 /src/sbearssl
parent5a809ebd1cfb12a4d0ac9afa5856288bcc1f5db0 (diff)
downloads6-networking-d594db1b68d6a2c890d385087799dd8cdf6dc966.tar.xz
Revert big hammer. Data still needs to be flushed to the network even when the local app dies.
Diffstat (limited to 'src/sbearssl')
-rw-r--r--src/sbearssl/sbearssl_run.c6
1 files changed, 1 insertions, 5 deletions
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 */