comparison src/http/ngx_http_spdy_filter_module.c @ 5693:701d6e17e42c

SPDY: improved logging.
author Valentin Bartenev <vbart@nginx.com>
date Wed, 30 Apr 2014 20:34:20 +0400
parents b948f9c73111
children a5886df87cbb
comparison
equal deleted inserted replaced
5692:ed5fb7d22d46 5693:701d6e17e42c
531 rc = deflate(&sc->zstream_out, Z_SYNC_FLUSH); 531 rc = deflate(&sc->zstream_out, Z_SYNC_FLUSH);
532 532
533 ngx_free(buf); 533 ngx_free(buf);
534 534
535 if (rc != Z_OK) { 535 if (rc != Z_OK) {
536 ngx_log_error(NGX_LOG_ALERT, c->log, 0, 536 ngx_log_error(NGX_LOG_ALERT, c->log, 0, "deflate() failed: %d", rc);
537 "spdy deflate() failed: %d", rc);
538 return NGX_ERROR; 537 return NGX_ERROR;
539 } 538 }
540 539
541 ngx_log_debug5(NGX_LOG_DEBUG_HTTP, c->log, 0, 540 ngx_log_debug5(NGX_LOG_DEBUG_HTTP, c->log, 0,
542 "spdy deflate out: ni:%p no:%p ai:%ud ao:%ud rc:%d", 541 "spdy deflate out: ni:%p no:%p ai:%ud ao:%ud rc:%d",