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
a9a45321
Commit
a9a45321
authored
Oct 18, 2011
by
Wandenberg Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing unecessary expires attribute
parent
f291db1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
ngx_http_push_stream_module.h
include/ngx_http_push_stream_module.h
+0
-1
ngx_http_push_stream_module_subscriber.c
src/ngx_http_push_stream_module_subscriber.c
+0
-1
No files found.
include/ngx_http_push_stream_module.h
View file @
a9a45321
...
...
@@ -147,7 +147,6 @@ typedef struct {
ngx_http_push_stream_subscription_t
subscriptions_sentinel
;
ngx_http_push_stream_subscriber_cleanup_t
*
clndata
;
ngx_pid_t
worker_subscribed_pid
;
time_t
expires
;
ngx_flag_t
longpolling
;
}
ngx_http_push_stream_worker_subscriber_t
;
...
...
src/ngx_http_push_stream_module_subscriber.c
View file @
a9a45321
...
...
@@ -457,7 +457,6 @@ ngx_http_push_stream_subscriber_prepare_request_to_keep_connected(ngx_http_reque
worker_subscriber
->
longpolling
=
0
;
worker_subscriber
->
request
=
r
;
worker_subscriber
->
worker_subscribed_pid
=
ngx_pid
;
worker_subscriber
->
expires
=
(
ngx_http_push_stream_module_main_conf
->
subscriber_connection_ttl
==
NGX_CONF_UNSET_MSEC
)
?
0
:
(
ngx_time
()
+
(
ngx_http_push_stream_module_main_conf
->
subscriber_connection_ttl
/
1000
));
ngx_queue_init
(
&
worker_subscriber
->
queue
);
ngx_queue_init
(
&
worker_subscriber
->
subscriptions_sentinel
.
queue
);
...
...
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