[PATCH] backend conditional requests first release

Dmitry Panov dmitry.panov at yahoo.co.uk
Tue Mar 1 20:00:56 CET 2011


Hi Geoff,

Thanks for the patch. Unfortunately it does not compile for me:

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include 
-I../../lib/libvgz -I../../include   
-DVARNISH_STATE_DIR='"/opt/varnish/var/varnish"' 
-DVARNISH_VMOD_DIR='"/opt/varnish/lib/varnish/vmods"' 
-DVARNISH_VCL_DIR='"/opt/varnish/etc/varnish"' -g -O2 -pthread -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align 
-Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs 
-Wredundant-decls -Wformat -O0 -g -fno-inline -DDIAGNOSTICS -Wextra 
-Wno-missing-field-initializers -Wno-sign-compare -fstack-protector-all 
-Werror -MT varnishd-cache_vrt_var.o -MD -MP -MF 
.deps/varnishd-cache_vrt_var.Tpo -c -o varnishd-cache_vrt_var.o `test -f 
'cache_vrt_var.c' || echo './'`cache_vrt_var.c
cc1: warnings being treated as errors
cache_vrt_var.c:112: error: no previous prototype for 
‘VRT_l_stale_obj_proto’
cache_vrt_var.c:113: error: no previous prototype for 
‘VRT_l_stale_obj_response’
cache_vrt_var.c:143: error: no previous prototype for 
‘VRT_l_stale_obj_status’
cache_vrt_var.c:388: error: no previous prototype for ‘vrt_r_obj_ttl’
cache_vrt_var.c:416: error: no previous prototype for 
‘vrt_r_obj_conditional_timeout’
cache_vrt_var.c:548: error: no previous prototype for 
‘VRT_l_stale_obj_grace’
make[3]: *** [varnishd-cache_vrt_var.o] Error 1

I haven't got time to have for closer look, hope it's something easy to fix.

On 01/03/2011 16:49, Geoff Simmons wrote:
> Hello all,
>
> Here's our first release of the "If-Modified-Since" function (backend
> conditional requests).
>
> I'll be posting up a Wiki page about how it works, and what's still to
> be done, and open issues.
>
>
> Best,
> Geoff Simmons
>
>
> _______________________________________________
> varnish-dev mailing list
> varnish-dev at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev


-- 
Dmitry Panov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20110301/2aeb0c62/attachment-0003.html>


More information about the varnish-dev mailing list