Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
514e825a
Commit
514e825a
authored
Apr 21, 2018
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Corrected response and fixed TLS for 416 Request Range Not Satisfiable responses
parent
be407ebb
Pipeline
#102
passed with stage
in 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
src/fserve.c
src/fserve.c
+1
-4
No files found.
src/fserve.c
View file @
514e825a
...
...
@@ -636,10 +636,7 @@ int fserve_client_create (client_t *httpclient, const char *path)
fail:
fclose
(
file
);
httpclient
->
respcode
=
416
;
sock_write
(
httpclient
->
con
->
sock
,
"HTTP/1.0 416 Request Range Not Satisfiable
\r\n\r\n
"
);
client_destroy
(
httpclient
);
client_send_error
(
httpclient
,
416
,
1
,
"Request Range Not Satisfiable
\r\n
"
);
return
-
1
;
}
...
...
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