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
1ee1e3af
Commit
1ee1e3af
authored
Jan 13, 2012
by
Wandenberg Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disconnect any subscriber which receives a not OK response when writing to its socket
parent
73e503c8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ngx_http_push_stream_module_version.h
include/ngx_http_push_stream_module_version.h
+1
-1
ngx_http_push_stream_module_ipc.c
src/ngx_http_push_stream_module_ipc.c
+1
-1
ngx_http_push_stream_module_utils.c
src/ngx_http_push_stream_module_utils.c
+1
-1
No files found.
include/ngx_http_push_stream_module_version.h
View file @
1ee1e3af
...
...
@@ -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
(
"
6796034c6ae6b627d0f31e613287a425f22dd97a
"
);
static
const
ngx_str_t
NGX_HTTP_PUSH_STREAM_COMMIT
=
ngx_string
(
"
73e503c8a3f678dabd55a93a23a226c7730fa7be
"
);
#endif
/* NGX_HTTP_PUSH_STREAM_MODULE_VERSION_H_ */
src/ngx_http_push_stream_module_ipc.c
View file @
1ee1e3af
...
...
@@ -414,7 +414,7 @@ ngx_http_push_stream_respond_to_subscribers(ngx_http_push_stream_channel_t *chan
cur
=
prev
;
}
else
{
if
(
ngx_http_push_stream_send_response_message
(
subscriber
->
request
,
channel
,
msg
)
==
NGX_ERROR
)
{
if
(
ngx_http_push_stream_send_response_message
(
subscriber
->
request
,
channel
,
msg
)
!=
NGX_OK
)
{
ngx_http_push_stream_queue_elem_t
*
prev
=
(
ngx_http_push_stream_queue_elem_t
*
)
ngx_queue_prev
(
&
cur
->
queue
);
ngx_http_push_stream_send_response_finalize
(
subscriber
->
request
);
cur
=
prev
;
...
...
src/ngx_http_push_stream_module_utils.c
View file @
1ee1e3af
...
...
@@ -946,7 +946,7 @@ ngx_http_push_stream_ping_timer_wake_handler(ngx_event_t *ev)
rc
=
ngx_http_push_stream_send_response_message
(
r
,
NULL
,
ngx_http_push_stream_ping_msg
);
}
if
(
rc
==
NGX_ERROR
)
{
if
(
rc
!=
NGX_OK
)
{
ngx_http_push_stream_send_response_finalize
(
r
);
}
else
{
ngx_http_push_stream_subscriber_ctx_t
*
ctx
=
ngx_http_get_module_ctx
(
r
,
ngx_http_push_stream_module
);
...
...
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