OpenSSL's docs state that SSL_shutdown() should be called prior to closing an fd to notify the peer that we want to terminate the connection. Otherwise, the peer might see the connection as being terminated abruptly and might report unexpected EOF errors. We've even seen those errors in our test scripts: *ERROR*: spdk_sock_recv() failed, errno 107: Transport endpoint is not connected Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I111a0cc3ced13dbf3e6d18d004bbec6cac96576c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15824 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> |
||
---|---|---|
.. | ||
posix | ||
uring | ||
Makefile | ||
sock_kernel.h |