Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
spr0cketeer
Icecast-Server
Commits
765ceabe
Commit
765ceabe
authored
Feb 07, 2015
by
Philipp Schafft
🦁
Browse files
Fix: Detect socket errors on TLS based source connections
parent
7bc74729
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/source.c
View file @
765ceabe
...
...
@@ -508,6 +508,10 @@ static refbuf_t *get_next_buffer (source_t *source)
}
source
->
last_read
=
current
;
refbuf
=
source
->
format
->
get_buffer
(
source
);
#ifdef HAVE_OPENSSL
if
(
source
->
client
->
con
->
ssl
&&
(
SSL_get_shutdown
(
source
->
client
->
con
->
ssl
)
&
SSL_RECEIVED_SHUTDOWN
))
source
->
client
->
con
->
error
=
1
;
#endif
if
(
source
->
client
->
con
&&
source
->
client
->
con
->
error
)
{
ICECAST_LOG_INFO
(
"End of Stream %s"
,
source
->
mount
);
...
...
Write
Preview
Supports
Markdown
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