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
0cadb974
Commit
0cadb974
authored
Jan 21, 2012
by
Wandenberg Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix use of function ngx_chain_update_chains to support nginx >= 1.1.4
parent
1fb6d31c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ngx_http_push_stream_module_version.h
include/ngx_http_push_stream_module_version.h
+1
-1
ngx_http_push_stream_module_utils.c
src/ngx_http_push_stream_module_utils.c
+5
-1
No files found.
include/ngx_http_push_stream_module_version.h
View file @
0cadb974
...
...
@@ -27,6 +27,6 @@
#define NGX_HTTP_PUSH_STREAM_MODULE_VERSION_H_
static
const
ngx_str_t
NGX_HTTP_PUSH_STREAM_TAG
=
ngx_string
(
"0.3.2"
);
static
const
ngx_str_t
NGX_HTTP_PUSH_STREAM_COMMIT
=
ngx_string
(
"
eef068c739c9fc70a0c985c878d6cd81096e5056
"
);
static
const
ngx_str_t
NGX_HTTP_PUSH_STREAM_COMMIT
=
ngx_string
(
"
89a82444dd622c108bdf58cdc5be4c96ec3b46af
"
);
#endif
/* NGX_HTTP_PUSH_STREAM_MODULE_VERSION_H_ */
src/ngx_http_push_stream_module_utils.c
View file @
0cadb974
...
...
@@ -548,7 +548,11 @@ ngx_http_push_stream_output_filter(ngx_http_request_t *r, ngx_chain_t *in)
rc
=
ngx_http_output_filter
(
r
,
in
);
if
((
ctx
=
ngx_http_get_module_ctx
(
r
,
ngx_http_push_stream_module
))
!=
NULL
)
{
ngx_chain_update_chains
(
&
ctx
->
free
,
&
ctx
->
busy
,
&
in
,
(
ngx_buf_tag_t
)
&
ngx_http_push_stream_module
);
#if defined nginx_version && nginx_version >= 1001004
ngx_chain_update_chains
(
r
->
pool
,
&
ctx
->
free
,
&
ctx
->
busy
,
&
in
,
(
ngx_buf_tag_t
)
&
ngx_http_push_stream_module
);
#else
ngx_chain_update_chains
(
&
ctx
->
free
,
&
ctx
->
busy
,
&
in
,
(
ngx_buf_tag_t
)
&
ngx_http_push_stream_module
);
#endif
}
return
rc
;
...
...
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