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
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
94
Issues
94
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-Server
Commits
33dcf24d
Commit
33dcf24d
authored
Jun 18, 2018
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Only reuse client IF we reached the end of it's body
parent
01c35e2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/client.c
src/client.c
+5
-2
No files found.
src/client.c
View file @
33dcf24d
...
...
@@ -140,8 +140,11 @@ void client_destroy(client_t *client)
return
;
if
(
client
->
reuse
!=
ICECAST_REUSE_CLOSE
)
{
client_reuseconnection
(
client
);
return
;
/* only reuse the client if we reached the body's EOF. */
if
(
client_body_eof
(
client
)
==
1
)
{
client_reuseconnection
(
client
);
return
;
}
}
/* release the buffer now, as the buffer could be on the source queue
...
...
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