- improve response performance
[m6w6/ext-http] / tests / etag_mode_001.phpt
index d8cf59458ebf99f03f52c8aba059696bef6caa6b..809efeea9d65d660336bda5f8ec7407e563e8ec6 100644 (file)
@@ -1,13 +1,14 @@
 --TEST--
-crc32 etag
+crc32 etag (may fail because PHPs crc32 is actually crc32b)
 --SKIPIF--
 <?php
 include 'skip.inc';
 checkcgi();
+checkmax(5.0);
 ?>
 --FILE--
 <?php
-ini_set('http.etag_mode', HTTP_ETAG_CRC32);
+ini_set('http.etag.mode', 'crc32');
 http_cache_etag();
 http_send_data("abc\n");
 ?>