Skip to content
Snippets Groups Projects
Commit 60c5adda authored by deuce's avatar deuce
Browse files

Re-enable recv timeouts for TLS sessions. It was #ifdef'd out for some

reason.
parent 9c555c15
No related branches found
No related tags found
No related merge requests found
......@@ -166,10 +166,8 @@ static ptrdiff_t js_socket_recv(js_socket_private_t *p, void *buf, size_t len, i
return(recv(p->sock, buf, len, flags)); /* Blocked here, indefinitely, in MSP-UDP service */
return 0;
}
#if 0
if (do_cryptAttribute(p->session, CRYPT_OPTION_NET_READTIMEOUT, p->nonblocking?0:timeout) != CRYPT_OK)
return -1;
#endif
do {
if((ret=cryptPopData(p->session, buf, len, &copied))==CRYPT_OK) {
if(p->nonblocking)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment