Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
102
Issues
102
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-Server
Commits
241dd762
Commit
241dd762
authored
Nov 16, 2004
by
Ed "oddsock" Zaleski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
need to fail properly
svn path=/icecast/trunk/icecast/; revision=8206
parent
083f5c0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/fserve.c
src/fserve.c
+4
-0
No files found.
src/fserve.c
View file @
241dd762
...
...
@@ -460,6 +460,8 @@ int fserve_client_create(client_t *httpclient, char *path)
bytes
=
sock_write
(
httpclient
->
con
->
sock
,
"HTTP/1.0 416 Request Range Not Satisfiable
\r\n\r\n
"
);
if
(
bytes
>
0
)
httpclient
->
con
->
sent_bytes
=
bytes
;
fserve_client_destroy
(
httpclient
);
return
-
1
;
}
}
else
{
...
...
@@ -469,6 +471,8 @@ int fserve_client_create(client_t *httpclient, char *path)
bytes
=
sock_write
(
httpclient
->
con
->
sock
,
"HTTP/1.0 416 Request Range Not Satisfiable
\r\n\r\n
"
);
if
(
bytes
>
0
)
httpclient
->
con
->
sent_bytes
=
bytes
;
fserve_client_destroy
(
httpclient
);
return
-
1
;
}
}
else
{
...
...
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