]> git.pld-linux.org Git - packages/apache.git/commitdiff
obsolete; solved by rfc2616 weak entity comparsion
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 2 Dec 2005 22:02:12 +0000 (22:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    httpd-2.0.45-davetag.patch -> 1.2

httpd-2.0.45-davetag.patch [deleted file]

diff --git a/httpd-2.0.45-davetag.patch b/httpd-2.0.45-davetag.patch
deleted file mode 100644 (file)
index a639a2b..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-
-Use a weak etag comparison:
-
-http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16451
-
-(similar but simpler than the fix in CVS HEAD)
-
---- httpd-2.0.45/modules/dav/main/util.c.davetag       2003-05-19 14:43:45.000000000 +0100
-+++ httpd-2.0.45/modules/dav/main/util.c       2003-05-19 14:41:04.000000000 +0100
-@@ -1072,7 +1072,17 @@
-             switch(state_list->type) {
-             case dav_if_etag:
-             {
--                int mismatch = strcmp(state_list->etag, etag);
-+                int mismatch;
-+                const char *given_etag = state_list->etag;
-+                const char *current_etag = etag;
-+
-+                if (given_etag[0] == 'W' && given_etag[1] == '/')
-+                   given_etag += 2;
-+               
-+                if (current_etag[0] == 'W' && current_etag[1] == '/')
-+                    current_etag += 2;
-+ 
-+                mismatch = strcmp(given_etag, current_etag);
-                 if (state_list->condition == DAV_IF_COND_NORMAL && mismatch) {
-                     /*
This page took 0.040277 seconds and 4 git commands to generate.