<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Geoff,<br>
<br>
Thanks for the patch. Unfortunately it does not compile for me:<br>
<br>
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<br>
cc1: warnings being treated as errors<br>
cache_vrt_var.c:112: error: no previous prototype for
‘VRT_l_stale_obj_proto’<br>
cache_vrt_var.c:113: error: no previous prototype for
‘VRT_l_stale_obj_response’<br>
cache_vrt_var.c:143: error: no previous prototype for
‘VRT_l_stale_obj_status’<br>
cache_vrt_var.c:388: error: no previous prototype for
‘vrt_r_obj_ttl’<br>
cache_vrt_var.c:416: error: no previous prototype for
‘vrt_r_obj_conditional_timeout’<br>
cache_vrt_var.c:548: error: no previous prototype for
‘VRT_l_stale_obj_grace’<br>
make[3]: *** [varnishd-cache_vrt_var.o] Error 1<br>
<br>
I haven't got time to have for closer look, hope it's something easy
to fix.<br>
<br>
On 01/03/2011 16:49, Geoff Simmons wrote:
<blockquote cite="mid:4D6D238F.2030908@uplex.de" type="cite">
<pre wrap="">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
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
varnish-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:varnish-dev@varnish-cache.org">varnish-dev@varnish-cache.org</a>
<a class="moz-txt-link-freetext" href="http://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev">http://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Dmitry Panov</pre>
</body>
</html>