allow user to set session timeout at compile time w/ CYASSL_SESSION_TIMEOUT

This commit is contained in:
toddouska
2014-12-02 10:28:47 -08:00
parent 1688fd1670
commit 09d290f552
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -380,7 +380,7 @@ int InitSSL_Ctx(CYASSL_CTX* ctx, CYASSL_METHOD* method)
ctx->userdata = 0;
#endif /* OPENSSL_EXTRA */
ctx->timeout = DEFAULT_TIMEOUT;
ctx->timeout = CYASSL_SESSION_TIMEOUT;
#ifndef CYASSL_USER_IO
ctx->CBIORecv = EmbedReceive;