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
df96dcbb
Commit
df96dcbb
authored
Nov 13, 2018
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update: Announce ourself as HTTP/1.1 in HTTP upgrade
parent
143a8b71
Pipeline
#491
failed with stage
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/client.c
src/client.c
+2
-2
No files found.
src/client.c
View file @
df96dcbb
...
...
@@ -391,7 +391,7 @@ void client_send_101(client_t *client, reuse_t reuse)
NULL
,
NULL
,
client
);
snprintf
(
client
->
refbuf
->
data
+
ret
,
PER_CLIENT_REFBUF_SIZE
-
ret
,
"Content-Length: 0
\r\n
Upgrade: TLS/1.0, HTTP/1.
0
\r\n\r\n
"
);
"Content-Length: 0
\r\n
Upgrade: TLS/1.0, HTTP/1.
1
\r\n\r\n
"
);
client
->
respcode
=
101
;
client
->
refbuf
->
len
=
strlen
(
client
->
refbuf
->
data
);
...
...
@@ -453,7 +453,7 @@ void client_send_426(client_t *client, reuse_t reuse)
NULL
,
NULL
,
client
);
snprintf
(
client
->
refbuf
->
data
+
ret
,
PER_CLIENT_REFBUF_SIZE
-
ret
,
"Content-Length: 0
\r\n
Upgrade: TLS/1.0, HTTP/1.
0
\r\n\r\n
"
);
"Content-Length: 0
\r\n
Upgrade: TLS/1.0, HTTP/1.
1
\r\n\r\n
"
);
client
->
respcode
=
426
;
client
->
refbuf
->
len
=
strlen
(
client
->
refbuf
->
data
);
...
...
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