Mercurial > hg > nginx
comparison src/event/ngx_event_openssl_stapling.c @ 6480:f01ab2dbcfdc
Fixed logging.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 31 Mar 2016 02:33:57 +0300 |
parents | 595b179e429f |
children | 45f2385a47e6 |
comparison
equal
deleted
inserted
replaced
6479:dc92298b1852 | 6480:f01ab2dbcfdc |
---|---|
1217 escape = ngx_escape_uri(NULL, base64.data, base64.len, | 1217 escape = ngx_escape_uri(NULL, base64.data, base64.len, |
1218 NGX_ESCAPE_URI_COMPONENT); | 1218 NGX_ESCAPE_URI_COMPONENT); |
1219 | 1219 |
1220 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, ctx->log, 0, | 1220 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, ctx->log, 0, |
1221 "ssl ocsp request length %z, escape %d", | 1221 "ssl ocsp request length %z, escape %d", |
1222 base64.len, escape); | 1222 base64.len, (int) escape); |
1223 | 1223 |
1224 len = sizeof("GET ") - 1 + ctx->uri.len + sizeof("/") - 1 | 1224 len = sizeof("GET ") - 1 + ctx->uri.len + sizeof("/") - 1 |
1225 + base64.len + 2 * escape + sizeof(" HTTP/1.0" CRLF) - 1 | 1225 + base64.len + 2 * escape + sizeof(" HTTP/1.0" CRLF) - 1 |
1226 + sizeof("Host: ") - 1 + ctx->host.len + sizeof(CRLF) - 1 | 1226 + sizeof("Host: ") - 1 + ctx->host.len + sizeof(CRLF) - 1 |
1227 + sizeof(CRLF) - 1; | 1227 + sizeof(CRLF) - 1; |