Spdk/module
Konrad Sztyber 17395e315f sock/ssl: call SSL_shutdown() prior to closing fd
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>
2022-12-15 08:37:49 +00:00
..
accel update Intel copyright notices 2022-11-10 08:28:53 +00:00
bdev misc: Fix spelling mistakes 2022-12-09 08:16:18 +00:00
blob blob: Use bdev copy command in CoW flow if supported 2022-12-08 12:54:54 +00:00
blobfs build: compile API functions with missing deps 2022-11-18 08:40:05 +00:00
env_dpdk update Intel copyright notices 2022-11-10 08:28:53 +00:00
event update Intel copyright notices 2022-11-10 08:28:53 +00:00
scheduler update Intel copyright notices 2022-11-10 08:28:53 +00:00
sock sock/ssl: call SSL_shutdown() prior to closing fd 2022-12-15 08:37:49 +00:00
vfu_device include/bdev_module.h: add SPDK_ prefix to macros 2022-11-22 10:03:57 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00