From 22984bc309b3d3b73f108b97996ef2980083eea9 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Wed, 22 May 2013 12:24:31 +0400 Subject: [PATCH] http parse error now leads to notify error --- ngx_rtmp_notify_module.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ngx_rtmp_notify_module.c b/ngx_rtmp_notify_module.c index 414ef4c..cef2f2c 100644 --- a/ngx_rtmp_notify_module.c +++ b/ngx_rtmp_notify_module.c @@ -829,11 +829,10 @@ ngx_rtmp_notify_parse_http_retcode(ngx_rtmp_session_t *s, /* * not enough data; - * it can happen in case of empty or broken reply; - * let the caller decide if that's an error or not + * it can happen in case of empty or broken reply */ - return NGX_DONE; + return NGX_ERROR; }