Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
App name was not copied when creating relay
  • Loading branch information
Sellier Alexis authored and Alexis Sellier committed Jun 3, 2015
commit 098ded3e87a1409d189c6e23f815534a49dc6a30
1 change: 1 addition & 0 deletions ngx_rtmp_relay_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ ngx_rtmp_relay_create_connection(ngx_rtmp_conf_ctx_t *cctx, ngx_str_t* name,
rctx->session = rs;
ngx_rtmp_set_ctx(rs, rctx, ngx_rtmp_relay_module);
ngx_str_set(&rs->flashver, "ngx-local-relay");
ngx_cpymem(&rs->app, &rctx->app, sizeof(rctx->app));

#if (NGX_STAT_STUB)
(void) ngx_atomic_fetch_add(ngx_stat_active, 1);
Expand Down