mirror of
https://github.com/arut/nginx-rtmp-module.git
synced 2025-08-06 15:00:18 +08:00
fixed initial pool size
This commit is contained in:
@ -237,7 +237,7 @@ ngx_rtmp_init_session(ngx_connection_t *c)
|
||||
|
||||
size = NGX_RTMP_HANDSHAKE_SIZE + 1;
|
||||
s->in_chunk_size = NGX_RTMP_DEFAULT_CHUNK_SIZE;
|
||||
s->in_pool = ngx_create_pool(2 * size + sizeof(ngx_pool_t), c->log);
|
||||
s->in_pool = ngx_create_pool(4096/*2 * size + sizeof(ngx_pool_t)*/, c->log);
|
||||
|
||||
/* start handshake */
|
||||
b = &s->hs_in_buf;
|
||||
|
Reference in New Issue
Block a user