Skip to content

Commit

Permalink
Merge pull request #20 from dailymotion/DEVSYS-261
Browse files Browse the repository at this point in the history
App name was not copied when creating relay
  • Loading branch information
Sergey committed Jul 2, 2015
2 parents 1e5b135 + 098ded3 commit 5d4dfae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ngx_rtmp_relay_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,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

0 comments on commit 5d4dfae

Please sign in to comment.