We are trying to map the file and content is written in to specific offset.
In meanwhile, if try to access the mmap'd content at specified offset, we
are getting NULL value. we have not called msync() yet. the mmap called
with MAP_SHARED.
Is it possible that mmap content can differ on read after
, Guillaume Quintard <
guilla...@varnish-software.com> wrote:
> assigned to null -> yes because you don't care about it, HSH_Derefobjcore
> will be called from the mailbox in the next while iteration of exp_thread
>
>
> --
> Guillaume Quintard
>
> On Wed, Jul 25, 201
ox turf, so we null the oc to not handle it
> in the rest of the function.
>
> --
> Guillaume Quintard
>
> On Wed, Jul 25, 2018 at 9:49 AM, Prem Kumar
> wrote:
>
>> exp_expire(struct exp_priv *ep, double now)
>> {
>> ..
>> if (oc->timer_when > now)
exp_expire(struct exp_priv *ep, double now)
{
..
if (oc->timer_when > now)
return (oc->timer_when);
if (oc->exp_flags & OC_EF_POSTED) {
oc->exp_flags |= OC_EF_REMOVE;
oc = NULL;
} else {
why do we need to set to oc to NULL after
wrote:
> Hello,
>
> You are discovering grace :-)
>
> https://varnish-cache.org/docs/trunk/users-guide/vcl-grace.html
>
> "set beresp.grace = 0s;" should do it.
>
> --
> Guillaume Quintard
>
> On Thu, May 17, 2018 at 5:44 PM, Prem Kumar <n.premkumar..
Hi All,
We are 2 behaviors on Varnish 5:
- if we set ttl = 600s , we are seeing HIT is serving the content over 10s
. Origin is not changing the content and we are NOT sending
if_modified_since header.
- VCL_return lookup
- Hit527698198 *-0.990171 why it is a hit but
Just want to understand the behavior of varnish if range request while
streaming of entire object in progress. lets say client1 fetches complete
object of size of 300 bytes (do_stream == true) and client 2 is trying to
fetch range request 100-200 bytes at the same time. the hash functions will
paving the way to have
> subroutines return VCL types, some time in the future.
>
> Can I ask you what's the goal behind this? I feel like you're headed
> toward an overkill solution, and we can probably avoid that.
>
> Cheers,
>
> --
> Guillaume Quintard
>
> On Wed,
Hi All,
Is there is any reason why subroutines return type changes from "static
int" to "void" in varnish.
During compilation of VCL to C code, all the function return type as void
instead of static int before.
Can you please help if there a way I can return status code from
subroutine?.
Hi ,
Trying to use nginx to varnish connection as http2 instead of http1.1.
https://www.nginx.com/blog/http2-module-nginx/#QandA
Currently nginx is not supporting the upstream http2.
Anyone knows hitch SSL proxy will do upstream connection to varnish through
http2?. or any other SSL proxy
Hi All,
I'm using default headers specific to backend type in 3.1. For example
backend 1 ,backend2 where default header for backend1 will be "xyz" and
backend2 will be "abc".
Now I don't find a way to add these headers in bereq. because I don't know
what is the backend chosen and value should be
11 matches
Mail list logo