Mercurial > hg > nginx-quic
view src/core/ngx_murmurhash.h @ 4176:2b5151a2300b
Fixed cache bypass caching of non-cacheable replies (ticket #21).
If cache was bypassed with proxy_cache_bypass, cache-controlling headers
(Cache-Control, Expires) wasn't considered and response was cached even
if it was actually non-cacheable.
Patch by John Ferlito.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 05 Oct 2011 10:14:21 +0000 |
parents | 203eb026ec07 |
children | d620f497c50f |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev */ #ifndef _NGX_MURMURHASH_H_INCLUDED_ #define _NGX_MURMURHASH_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> uint32_t ngx_murmur_hash2(u_char *data, size_t len); #endif /* _NGX_CRC_H_INCLUDED_ */