Commit 0ae59d20 authored by Wandenberg Peixoto's avatar Wandenberg Peixoto

removing unused function ngx_http_push_stream_append_crlf

parent 96424ce2
......@@ -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);
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment