Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nginx-push-stream-module
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
nginx-push-stream-module
Commits
16237b84
Commit
16237b84
authored
Mar 18, 2011
by
Wandenberg Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix log position
parent
d4d3da3e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
ngx_http_push_stream_module.c
src/ngx_http_push_stream_module.c
+0
-1
ngx_http_push_stream_module_publisher.c
src/ngx_http_push_stream_module_publisher.c
+1
-0
No files found.
src/ngx_http_push_stream_module.c
View file @
16237b84
...
...
@@ -13,7 +13,6 @@ ngx_http_push_stream_get_channel_id(ngx_http_request_t *r, ngx_http_push_stream_
ngx_str_t
*
id
;
if
(
vv
==
NULL
||
vv
->
not_found
||
vv
->
len
==
0
)
{
ngx_log_error
(
NGX_LOG_ERR
,
r
->
connection
->
log
,
0
,
"push stream module: the $push_stream_channel_id variable is required but is not set"
);
return
NGX_HTTP_PUSH_STREAM_UNSET_CHANNEL_ID
;
}
...
...
src/ngx_http_push_stream_module_publisher.c
View file @
16237b84
...
...
@@ -21,6 +21,7 @@ ngx_http_push_stream_publisher_handler(ngx_http_request_t *r)
id
=
ngx_http_push_stream_get_channel_id
(
r
,
cf
);
if
((
id
==
NULL
)
||
(
id
==
NGX_HTTP_PUSH_STREAM_UNSET_CHANNEL_ID
)
||
(
id
==
NGX_HTTP_PUSH_STREAM_TOO_LARGE_CHANNEL_ID
))
{
if
(
id
==
NGX_HTTP_PUSH_STREAM_UNSET_CHANNEL_ID
)
{
ngx_log_error
(
NGX_LOG_ERR
,
r
->
connection
->
log
,
0
,
"push stream module: the $push_stream_channel_id variable is required but is not set"
);
return
ngx_http_push_stream_send_only_header_response
(
r
,
NGX_HTTP_BAD_REQUEST
,
&
NGX_HTTP_PUSH_STREAM_NO_CHANNEL_ID_MESSAGE
);
}
if
(
id
==
NGX_HTTP_PUSH_STREAM_TOO_LARGE_CHANNEL_ID
)
{
...
...
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