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
9219d1bb
Commit
9219d1bb
authored
Apr 03, 2015
by
Wandenberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change ngx_str_t configuration members setup
parent
a4be8585
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
ngx_http_push_stream_module_setup.c
src/ngx_http_push_stream_module_setup.c
+7
-7
No files found.
src/ngx_http_push_stream_module_setup.c
View file @
9219d1bb
...
@@ -438,10 +438,10 @@ ngx_http_push_stream_create_main_conf(ngx_conf_t *cf)
...
@@ -438,10 +438,10 @@ ngx_http_push_stream_create_main_conf(ngx_conf_t *cf)
}
}
mcf
->
enabled
=
0
;
mcf
->
enabled
=
0
;
mcf
->
channel_deleted_message_text
.
data
=
NULL
;
ngx_str_null
(
&
mcf
->
channel_deleted_message_text
)
;
mcf
->
channel_inactivity_time
=
NGX_CONF_UNSET
;
mcf
->
channel_inactivity_time
=
NGX_CONF_UNSET
;
mcf
->
ping_message_text
.
data
=
NULL
;
ngx_str_null
(
&
mcf
->
ping_message_text
)
;
mcf
->
wildcard_channel_prefix
.
data
=
NULL
;
ngx_str_null
(
&
mcf
->
wildcard_channel_prefix
)
;
mcf
->
max_number_of_channels
=
NGX_CONF_UNSET_UINT
;
mcf
->
max_number_of_channels
=
NGX_CONF_UNSET_UINT
;
mcf
->
max_number_of_wildcard_channels
=
NGX_CONF_UNSET_UINT
;
mcf
->
max_number_of_wildcard_channels
=
NGX_CONF_UNSET_UINT
;
mcf
->
message_ttl
=
NGX_CONF_UNSET
;
mcf
->
message_ttl
=
NGX_CONF_UNSET
;
...
@@ -555,9 +555,9 @@ ngx_http_push_stream_create_loc_conf(ngx_conf_t *cf)
...
@@ -555,9 +555,9 @@ ngx_http_push_stream_create_loc_conf(ngx_conf_t *cf)
lcf
->
authorized_channels_only
=
NGX_CONF_UNSET_UINT
;
lcf
->
authorized_channels_only
=
NGX_CONF_UNSET_UINT
;
lcf
->
store_messages
=
NGX_CONF_UNSET_UINT
;
lcf
->
store_messages
=
NGX_CONF_UNSET_UINT
;
lcf
->
message_template_index
=
-
1
;
lcf
->
message_template_index
=
-
1
;
lcf
->
message_template
.
data
=
NULL
;
ngx_str_null
(
&
lcf
->
message_template
)
;
lcf
->
header_template
.
data
=
NULL
;
ngx_str_null
(
&
lcf
->
header_template
)
;
lcf
->
footer_template
.
data
=
NULL
;
ngx_str_null
(
&
lcf
->
footer_template
)
;
lcf
->
wildcard_channel_max_qtd
=
NGX_CONF_UNSET_UINT
;
lcf
->
wildcard_channel_max_qtd
=
NGX_CONF_UNSET_UINT
;
lcf
->
location_type
=
NGX_CONF_UNSET_UINT
;
lcf
->
location_type
=
NGX_CONF_UNSET_UINT
;
lcf
->
ping_message_interval
=
NGX_CONF_UNSET_MSEC
;
lcf
->
ping_message_interval
=
NGX_CONF_UNSET_MSEC
;
...
@@ -569,7 +569,7 @@ ngx_http_push_stream_create_loc_conf(ngx_conf_t *cf)
...
@@ -569,7 +569,7 @@ ngx_http_push_stream_create_loc_conf(ngx_conf_t *cf)
lcf
->
last_received_message_tag
=
NULL
;
lcf
->
last_received_message_tag
=
NULL
;
lcf
->
last_event_id
=
NULL
;
lcf
->
last_event_id
=
NULL
;
lcf
->
user_agent
=
NULL
;
lcf
->
user_agent
=
NULL
;
lcf
->
padding_by_user_agent
.
data
=
NULL
;
ngx_str_null
(
&
lcf
->
padding_by_user_agent
)
;
lcf
->
paddings
=
NULL
;
lcf
->
paddings
=
NULL
;
lcf
->
allowed_origins
=
NULL
;
lcf
->
allowed_origins
=
NULL
;
...
...
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