Changeset 6744:7e5199f172fb in nginx


Ignore:
Timestamp:
10/14/16 16:48:26 (15 months ago)
Author:
Maxim Dounin <mdounin@…>
Branch:
default
Message:

Upstream: hide_headers_hash inherited regardless of cache settings.

Dependency on cache settings existed prior to 2728c4e4a9ae (0.8.44)
as Set-Cookie header was automatically hidden from responses when
using cache. This is no longer the case, and hide_headers_hash can
be safely inherited regardless of cache settings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/http/ngx_http_upstream.c

    r6705 r6744  
    60226022        conf->hide_headers_hash = prev->hide_headers_hash;
    60236023
    6024         if (conf->hide_headers_hash.buckets
    6025 #if (NGX_HTTP_CACHE)
    6026             && ((conf->cache == 0) == (prev->cache == 0))
    6027 #endif
    6028            )
    6029         {
     6024        if (conf->hide_headers_hash.buckets) {
    60306025            return NGX_OK;
    60316026        }
Note: See TracChangeset for help on using the changeset viewer.