diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2014-03-18 17:00:19 +0400 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-03-18 17:00:19 +0400 |
| commit | c6c702c32902d30937b16f5e88f5741afb0cab42 (patch) | |
| tree | 38c9c91d77056cc6bd5776b05dcf8eaf0f2d5e8a | |
| parent | 0b5f3297849c6061cf07b359e8b42768889e28cd (diff) | |
| download | nginx-c6c702c32902d30937b16f5e88f5741afb0cab42.tar.gz nginx-c6c702c32902d30937b16f5e88f5741afb0cab42.tar.bz2 | |
SPDY: always check size of data to be saved into state buffer.
| -rw-r--r-- | src/http/ngx_http_spdy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_spdy.c b/src/http/ngx_http_spdy.c index e9bad9444..6e45f4b46 100644 --- a/src/http/ngx_http_spdy.c +++ b/src/http/ngx_http_spdy.c @@ -1872,7 +1872,7 @@ static u_char * ngx_http_spdy_state_save(ngx_http_spdy_connection_t *sc, u_char *pos, u_char *end, ngx_http_spdy_handler_pt handler) { -#if (NGX_DEBUG) +#if 1 if (end - pos > NGX_SPDY_STATE_BUFFER_SIZE) { ngx_log_error(NGX_LOG_ALERT, sc->connection->log, 0, "spdy state buffer overflow: " |
