1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-14 23:33:23 +00:00

OpenSSL file transfer failed

This commit is contained in:
Gerhard Rieger 2021-01-10 13:32:27 +01:00
parent 4124e733c6
commit 6b9736472c
5 changed files with 325 additions and 6 deletions

View file

@ -8,6 +8,8 @@
#include "xiosysincludes.h"
#include "xioopen.h"
#include "xio-openssl.h"
static pid_t socat_kill_pid; /* here we pass the pid to be killed in sighandler */
static void signal_kill_pid(int dummy) {
@ -68,8 +70,7 @@ int xioshutdown(xiofile_t *sock, int how) {
;
#if WITH_OPENSSL
} else if ((sock->stream.dtype & XIODATA_MASK) == XIODATA_OPENSSL) {
sycSSL_shutdown (sock->stream.para.openssl.ssl);
/*! what about half/full close? */
xioshutdown_openssl(&sock->stream, how);
#endif /* WITH_OPENSSL */
} else if ((sock->stream.dtype & XIODATA_MASK) == XIODATA_PIPE) {