Revision: 14266
Author: adrian.chadd
Date: Sun Aug  9 22:40:20 2009
Log: Temporary hack to work around so range_offset_limit -1 actually works.


http://code.google.com/p/lusca-cache/source/detail?r=14266

Modified:
  /branches/LUSCA_HEAD/src/http.c

=======================================
--- /branches/LUSCA_HEAD/src/http.c     Sun Jul  5 05:21:24 2009
+++ /branches/LUSCA_HEAD/src/http.c     Sun Aug  9 22:40:20 2009
@@ -1359,6 +1359,8 @@
        we_do_ranges = 0;
      else if (orig_request->flags.auth)
        we_do_ranges = 0;
+    else if (Config.rangeOffsetLimit < 0)
+        we_do_ranges = 1;
      else if (httpHdrRangeOffsetLimit(orig_request->range))
        we_do_ranges = 0;
      else

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to