[nginx] SPDY: added a debug point to the state buffer overflow p...

Valentin Bartenev vbart at nginx.com
Thu May 15 15:25:55 UTC 2014


details:   http://hg.nginx.org/nginx/rev/231588611230
branches:  
changeset: 5695:231588611230
user:      Valentin Bartenev <vbart at nginx.com>
date:      Wed Apr 30 20:34:20 2014 +0400
description:
SPDY: added a debug point to the state buffer overflow protection.

diffstat:

 src/http/ngx_http_spdy.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 9a95eb9f448b -r 231588611230 src/http/ngx_http_spdy.c
--- a/src/http/ngx_http_spdy.c	Wed Apr 30 20:34:20 2014 +0400
+++ b/src/http/ngx_http_spdy.c	Wed Apr 30 20:34:20 2014 +0400
@@ -1944,6 +1944,7 @@ ngx_http_spdy_state_save(ngx_http_spdy_c
         ngx_log_error(NGX_LOG_ALERT, sc->connection->log, 0,
                       "state buffer overflow: %uz bytes required", size);
 
+        ngx_debug_point();
         return ngx_http_spdy_state_internal_error(sc);
     }
 



More information about the nginx-devel mailing list