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
0ae59d20
Commit
0ae59d20
authored
Aug 24, 2011
by
Wandenberg Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing unused function ngx_http_push_stream_append_crlf
parent
96424ce2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
ngx_http_push_stream_module_utils.h
include/ngx_http_push_stream_module_utils.h
+0
-1
ngx_http_push_stream_module_utils.c
src/ngx_http_push_stream_module_utils.c
+0
-13
No files found.
include/ngx_http_push_stream_module_utils.h
View file @
0ae59d20
...
...
@@ -226,7 +226,6 @@ static void ngx_http_push_stream_timer_reset(ngx_msec_t timer_in
static
void
ngx_http_push_stream_worker_subscriber_cleanup_locked
(
ngx_http_push_stream_worker_subscriber_t
*
worker_subscriber
);
u_char
*
ngx_http_push_stream_append_crlf
(
const
ngx_str_t
*
str
,
ngx_pool_t
*
pool
);
static
ngx_str_t
*
ngx_http_push_stream_create_str
(
ngx_pool_t
*
pool
,
uint
len
);
static
void
ngx_http_push_stream_mark_message_to_delete_locked
(
ngx_http_push_stream_msg_t
*
msg
);
...
...
src/ngx_http_push_stream_module_utils.c
View file @
0ae59d20
...
...
@@ -788,19 +788,6 @@ ngx_http_push_stream_worker_subscriber_cleanup_locked(ngx_http_push_stream_worke
(
data
->
ipc
+
ngx_process_slot
)
->
subscribers
--
;
}
u_char
*
ngx_http_push_stream_append_crlf
(
const
ngx_str_t
*
str
,
ngx_pool_t
*
pool
)
{
u_char
*
last
,
*
result
;
ngx_str_t
crlf
=
ngx_string
(
CRLF
);
result
=
ngx_pcalloc
(
pool
,
str
->
len
+
crlf
.
len
+
1
);
ngx_memset
(
result
,
'\0'
,
str
->
len
+
crlf
.
len
+
1
);
last
=
ngx_copy
(
result
,
str
->
data
,
str
->
len
);
last
=
ngx_copy
(
last
,
crlf
.
data
,
crlf
.
len
);
return
result
;
}
static
ngx_http_push_stream_content_subtype_t
*
ngx_http_push_stream_match_channel_info_format_and_content_type
(
ngx_http_request_t
*
r
,
ngx_uint_t
default_subtype
)
...
...
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