mirror of https://github.com/wolfSSL/wolfssh.git
make shutdown error message unique to client used
parent
217a7d6520
commit
1a7a80544d
|
@ -1076,7 +1076,7 @@ THREAD_RETURN WOLFSSH_THREAD client_test(void* args)
|
|||
if (userPrivateKey != NULL)
|
||||
free(userPrivateKey);
|
||||
if (ret != WS_SUCCESS)
|
||||
err_sys("Closing stream failed. Connection could have been closed by peer");
|
||||
err_sys("Closing client stream failed. Connection could have been closed by peer");
|
||||
|
||||
#if defined(HAVE_ECC) && defined(FP_ECC) && defined(HAVE_THREAD_LS)
|
||||
wc_ecc_fp_free(); /* free per thread cache */
|
||||
|
|
|
@ -435,7 +435,7 @@ THREAD_RETURN WOLFSSH_THREAD portfwd_worker(void* args)
|
|||
|
||||
ret = wolfSSH_shutdown(ssh);
|
||||
if (ret != WS_SUCCESS)
|
||||
err_sys("Closing stream failed.");
|
||||
err_sys("Closing port forward stream failed.");
|
||||
|
||||
WCLOSESOCKET(sshFd);
|
||||
WCLOSESOCKET(listenFd);
|
||||
|
|
|
@ -357,7 +357,7 @@ THREAD_RETURN WOLFSSH_THREAD scp_client(void* args)
|
|||
wolfSSH_free(ssh);
|
||||
wolfSSH_CTX_free(ctx);
|
||||
if (ret != WS_SUCCESS)
|
||||
err_sys("Closing stream failed. Connection could have been closed by peer");
|
||||
err_sys("Closing scp stream failed. Connection could have been closed by peer");
|
||||
|
||||
#if defined(HAVE_ECC) && defined(FP_ECC) && defined(HAVE_THREAD_LS)
|
||||
wc_ecc_fp_free(); /* free per thread cache */
|
||||
|
|
Loading…
Reference in New Issue