Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
60c5adda
Commit
60c5adda
authored
Mar 15, 2018
by
deuce
Browse files
Re-enable recv timeouts for TLS sessions. It was #ifdef'd out for some
reason.
parent
9c555c15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
src/sbbs3/js_socket.c
src/sbbs3/js_socket.c
+0
-2
No files found.
src/sbbs3/js_socket.c
View file @
60c5adda
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment