mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-01-03 14:56:34 -05:00
parent
0d8b076336
commit
6583bdfc56
@ -192,7 +192,7 @@ static int connection_read_tls(connection_t *con, void *buf, size_t len)
|
||||
{
|
||||
ssize_t bytes = tls_read(con->tls, buf, len);
|
||||
|
||||
if (bytes < 0) {
|
||||
if (bytes <= 0) {
|
||||
if (tls_want_io(con->tls) > 0)
|
||||
return -1;
|
||||
con->error = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user