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:
parent
4124e733c6
commit
6b9736472c
5 changed files with 325 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue