From 7d895d54a6bb194c3bd48d00f345afaba4d6d358 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Thu, 10 May 2012 17:38:51 +0400 Subject: [PATCH] added old-style handshake on missing digest --- ngx_rtmp_handshake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngx_rtmp_handshake.c b/ngx_rtmp_handshake.c index c8ef6da..c4992e4 100644 --- a/ngx_rtmp_handshake.c +++ b/ngx_rtmp_handshake.c @@ -310,7 +310,7 @@ ngx_rtmp_handshake_response(ngx_rtmp_session_t *s) if (offs == NGX_ERROR) { ngx_log_error(NGX_LOG_INFO, s->connection->log, 0, "RTMP digest not found"); - return NGX_ERROR; + return ngx_rtmp_old_handshake_response(s); } b->pos += offs; b->last = b->pos + NGX_RTMP_KEYLEN;