Skip to content

Commit

Permalink
disabled logging relay connections
Browse files Browse the repository at this point in the history
  • Loading branch information
arut committed Jan 13, 2013
1 parent 77860c0 commit 406d3a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ngx_rtmp_log_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ ngx_rtmp_log_publish(ngx_rtmp_session_t *s, ngx_rtmp_publish_t *v)
{
ngx_rtmp_log_ctx_t *ctx;

if (s->auto_pushed) {
if (s->auto_pushed || s->relay) {
goto next;
}

Expand All @@ -827,7 +827,7 @@ ngx_rtmp_log_play(ngx_rtmp_session_t *s, ngx_rtmp_play_t *v)
{
ngx_rtmp_log_ctx_t *ctx;

if (s->auto_pushed) {
if (s->auto_pushed || s->relay) {
goto next;
}

Expand Down Expand Up @@ -896,7 +896,7 @@ ngx_rtmp_log_disconnect(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
u_char *line, *p;
size_t len;

if (s->auto_pushed) {
if (s->auto_pushed || s->relay) {
return NGX_OK;
}

Expand Down

0 comments on commit 406d3a9

Please sign in to comment.