Commit 664e9bf
committed
CA-226177: Don't close the stunnel channel when finished using it
This seems to cause stunnel to complain:
sendto(5, "<83>Nov 2 14:14:55 stunnel: LOG3[28389:139831015200832]: INTERNAL ERROR: s_poll_wait returned 0, but no descriptor is ready", 124, MSG_NOSIGNAL, NULL, 0) = 124
write(2, "2016.11.02 14:14:55 LOG3[28389:139831015200832]: INTERNAL ERROR: s_poll_wait returned 0, but no descriptor is ready\n", 116) = 116
sendto(5, "<85>Nov 2 14:14:55 stunnel: LOG5[28389:139831015200832]: Connection reset: 393438 byte(s) sent to SSL, 169 byte(s) sent to socket", 130, MSG_NOSIGNAL, NULL, 0) = 130
write(2, "2016.11.02 14:14:55 LOG5[28389:139831015200832]: Connection reset: 393438 byte(s) sent to SSL, 169 byte(s) sent to socket\n", 122) = 122
If we don't close it at this point, it'll get closed at the end
anyway, so in any case it's redundant.
Signed-off-by: Jon Ludlam <[email protected]>1 parent 14fd0c9 commit 664e9bf
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
519 | 518 | | |
520 | 519 | | |
521 | 520 | | |
| |||
0 commit comments