mirror of
https://github.com/arut/nginx-rtmp-module.git
synced 2025-08-06 15:00:18 +08:00
fixed network bug in handshake
This commit is contained in:
@ -533,8 +533,8 @@ ngx_rtmp_handshake_send(ngx_event_t *wev)
|
|||||||
ngx_add_timer(c->write, s->timeout);
|
ngx_add_timer(c->write, s->timeout);
|
||||||
if (ngx_handle_write_event(c->write, 0) != NGX_OK) {
|
if (ngx_handle_write_event(c->write, 0) != NGX_OK) {
|
||||||
ngx_rtmp_finalize_session(s);
|
ngx_rtmp_finalize_session(s);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
b->pos += n;
|
b->pos += n;
|
||||||
|
Reference in New Issue
Block a user