comparison src/http/ngx_http_upstream.c @ 4990:e2794322ec76

Fixed HEAD requests handling when proxying is used (closes #261).
author Valentin Bartenev <vbart@nginx.com>
date Mon, 24 Dec 2012 17:32:53 +0000
parents 2464ccebdb52
children c9059bd5445b
comparison
equal deleted inserted replaced
4989:eababa1dc446 4990:e2794322ec76
3097 } 3097 }
3098 3098
3099 r->connection->log->action = "sending to client"; 3099 r->connection->log->action = "sending to client";
3100 3100
3101 if (rc == 0 3101 if (rc == 0
3102 && !r->header_only
3102 #if (NGX_HTTP_CACHE) 3103 #if (NGX_HTTP_CACHE)
3103 && !r->cached 3104 && !r->cached
3104 #endif 3105 #endif
3105 ) 3106 )
3106 { 3107 {