Paul Brett wrote:
>
> Could someone please repost the patch for the Not Modified bug in 2.7.
>
> Thanks.
Hi Paul,
I made the patch you're probably referring to.
Since then I fixed the bug in a slightly different way, namely by moving two
lines of code instead of using additional variables.
I've attached this new patch to this message.
It should work just as well. It's the version I use myself.
--
Paul A. Rombouts <[EMAIL PROTECTED]>
Vincent van Goghlaan 27
5246 GA Rosmalen
Netherlands
--- wwwoffle.orig/wwwoffle-2.7/src/wwwoffles.c Mon Feb 4 20:15:15 2002
+++ wwwoffle.myversion/wwwoffle-2.7/src/wwwoffles.c Thu Mar 7 21:24:12 2002
@@ -1326,11 +1326,6 @@
else /* if(mode==RealNoCache) */
;
- /* Check the modified request for later. */
-
- conditional_request_ims=!!GetHeader(request_head,"If-Modified-Since");
- conditional_request_inm=!!GetHeader(request_head,"If-None-Match");
-
/*----------------------------------------
mode = Spool, SpoolGet, SpoolPragma, SpoolRefresh, Real, RealRefresh, RealNoCache
or Fetch
@@ -1799,6 +1794,11 @@
The main handling of the body data in the reply.
----------------------------------------*/
+
+ /* Check the modified request for later. */
+
+ conditional_request_ims=!!GetHeader(request_head,"If-Modified-Since");
+ conditional_request_inm=!!GetHeader(request_head,"If-None-Match");
/* When reading from the server and writing to the browser and possibly the cache. */