ASF Bugzilla – Attachment 4365 Details for
Bug 15869
cache ignores max-age cache-directive
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
test case trace
bug.html (text/html), 12.55 KB, created by
Co-Advisor
on 2003-01-07 22:16:55 UTC
(
hide
)
Description:
test case trace
Filename:
MIME Type:
Creator:
Co-Advisor
Created:
2003-01-07 22:16:55 UTC
Size:
12.55 KB
patch
obsolete
><html> ><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ><title>Test Result</title> ><style type="text/css"><!-- > > body { > background-color: white; > color: black; > } > > /* tags in NS do not inherit body attributes */ > body, td { > font-family: Arial, Helvetica, sans-serif; > } > > /* h1 -- page heading */ > h1 { > text-transform: uppercase; > margin-top: 3ex; > margin-bottom: 3ex; > font-size: larger; > font-weight: normal; > background-color: transparent; > color: #194096; > } > > /* h2 -- section heading */ > h2 { > margin-top: 2ex; > margin-bottom: 0ex; > font-size: 1em; > font-weight: bold; > background-color: transparent; > color: #671305; > } > > h2 a { > text-decoration: none; > background-color: transparent; > color: #671305; > } > > p { > margin-top: 1ex; > margin-bottom: 1ex; > } > > /* things after h2 or after h2 after div > use asterisc to catch more in CSS2 UAs */ > h2 + p, h2 + ul, h2 + ol, h2 + * { > margin-top: 0ex; > } > > div.frontPage { > background-color: transparent; > color: #194096; > } > > span.id { > font-size: smaller; > font-weight: normal; > font-style: italic; > } > > > > /* indent FAQ answers */ > div.FaqEntry p { margin-left: 2ex; } > div.FaqEntry ul { margin-left: 2ex; } > > span.excerptQuote { > background-color: transparent; /* #EAF1F7; */ > color: #336633; > } > > /* ancors in spec rendering */ > div.spec a { > background-color: transparent; > color: #336633; > text-decoration: none; > } > div.spec a:hover, div.spec a:focus { > background-color: #EAF1F7; > color: #336633; > } > > /* graseID rendering */ > span.graseId { > font-size: smaller; > font-style: italic; > } > span.graseId a { > background-color: transparent; > color: #194096; > text-decoration: none; > } > span.graseId a:hover, span.graseId a:focus { > background-color: #EAF1F7; > color: #194096; > } > > > /* compact user input form or display of input results */ > table.compactForm { > border 0; > margin-left: 4ex; > } > > >--></style> ></head> > ><body> ><a name="test__case_rfc2616_ccRespDirMsg-max-age-obey__beg"></a><a ><em>Test Case</em></a>: <b>cache must treat cached entity as stale when the age exceeds max-age Cache-Control directive</b><br> > ><br>627.239| starting test case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/ccRespDirMsg-max-age-obey">test_case/rfc2616/ccRespDirMsg-max-age-obey</a></span> from <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_clause/rfc2616/ccRespDirMsg-max-age-obey">test_clause/rfc2616/ccRespDirMsg-max-age-obey</a></span> clause ><br>627.239| <b>step 1.1</b>: attempting to cache entity with max-age Cache-Control directive ><br clear="all"> ><br> ><a name="test__case_rfc2616_cacheSmth__beg"></a><div style="margin-left: 2em"><em>Subcase</em>: <b>cache something</b><br> > ><br>627.239| starting sub-case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/cacheSmth">test_case/rfc2616/cacheSmth</a></span> ><br>627.239| server accepting HTTP queries at 172.16.0.1:8080 ><br>627.239| client connecting to 172.16.0.7:80; 3 attempt(s) ><br>627.240| client at 172.16.0.1:1622 connected to 172.16.0.7:80 ><br>627.240| client will send 94 bytes (94 + 0)<blockquote><pre>GET http://172.16.0.1:8080/mmyvvenxgxrj HTTP/1.1\r\n >Host: 172.16.0.1:8080\r\n >Connection: close\r\n >\r\n ></pre></blockquote> ><br>627.240| client at 172.16.0.1:1622 expects to write to 172.16.0.7:80 ><br>627.240| client at 172.16.0.1:1622 wrote 94 bytes ><br>627.240| client at 172.16.0.1:1622 stops writing to 172.16.0.7:80 ><br>627.240| client at 172.16.0.1:1622 expects to read from 172.16.0.7:80 ><br>627.241| server at 172.16.0.1:8080 accepted connection from 172.16.0.7:1421 ><br>627.241| server at 172.16.0.1:8080 expects to read from 172.16.0.7:1421 ><br>627.241| server at 172.16.0.1:8080 read 116 bytes ><br>627.241| server got request headers (116 bytes)<blockquote><pre>GET /mmyvvenxgxrj HTTP/1.1\r\n >Host: 172.16.0.1:8080\r\n >Max-Forwards: 10\r\n >Connection: close\r\n >Via: 1.1 172.16.0.1:8080\r\n >\r\n ></pre></blockquote> ><br>627.241| expecting no message body ><br>627.241| no message body data to parse ><br>627.241| server expects no more request data (after 116 + 0 = 116 bytes) ><br>627.241| server at 172.16.0.1:8080 stops reading from 172.16.0.7:1421 ><br>627.241| server at 172.16.0.1:8080 expects to write to 172.16.0.7:1421 ><br>627.242| server will send 205 bytes<blockquote><pre>HTTP/1.1 200 OK\r\n >Cache-Control: public\r\n >Last-Modified: Mon, 07 Jan 2002 17:31:54 GMT\r\n >Cache-Control: max-age=8\r\n >Date: Tue, 07 Jan 2003 17:42:21 GMT\r\n >Connection: close\r\n >Content-Length: 15\r\n >\r\n ></pre></blockquote><blockquote><pre>body-zlwxxwgipq</pre></blockquote> ><br>627.242| server at 172.16.0.1:8080 wrote 205 bytes ><br>627.242| server at 172.16.0.1:8080 stops writing to 172.16.0.7:1421 ><br>627.242| server stops servicing connection with 172.16.0.7:1421 ><br>627.242| server at 172.16.0.1:8080 closing connection to 172.16.0.7:1421 ><br>627.243| client at 172.16.0.1:1622 read 310 bytes ><br>627.244| client parsed response headers (295 bytes)<blockquote><pre>HTTP/1.1 200 OK\r\n >Date: Tue, 07 Jan 2003 17:42:21 GMT\r\n >Server: Apache/2.1.0-dev (Unix)\r\n >Cache-Control: public\r\n >Last-Modified: Mon, 07 Jan 2002 17:31:54 GMT\r\n >Cache-Control: max-age=8\r\n >Content-Length: 15\r\n >Via: 1.1 172.16.0.1:8080\r\n >Connection: close\r\n >Content-Type: text/plain; charset=ISO-8859-1\r\n >\r\n ></pre></blockquote> ><br>627.244| expecting 15 bytes of message body based on Content-Length header ><br>627.244| parsed 15 bytes of message body: <blockquote><pre>body-zlwxxwgipq</pre></blockquote> ><br>627.244| client expects no more data (after 295 + 15 = 310 bytes) ><br>627.244| content size: 15 ><br>627.244| client at 172.16.0.1:1622 stops reading from 172.16.0.7:80 ><br>627.244| client stops servicing connection with 172.16.0.7:80 ><br>627.244| client at 172.16.0.1:1622 closing connection to 172.16.0.7:80 ><br>627.245| server stops accepting HTTP queries at 172.16.0.1:8080 ><br>627.245| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/cacheSmth">test_case/rfc2616/cacheSmth</a></span> ><br>627.245| result code: <font color="#006666">success</font> ><br>627.245| result reason: DUT proxied the transaction and possibly cached the response<br clear="all"> ></div> > ><br>627.245| <b>step 1.2</b>: verifying whether the entity was cached and is fresh ><br clear="all"> ><br> ><a name="test__case_rfc2616_checkCached-fresh__beg"></a><div style="margin-left: 2em"><em>Subcase</em>: <b>check that a given entity instance is cached and fresh</b><br> > ><br>627.245| starting sub-case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/checkCached-fresh">test_case/rfc2616/checkCached-fresh</a></span> ><br>627.245| server accepting HTTP queries at 172.16.0.1:8080 ><br>627.245| client connecting to 172.16.0.7:80; 3 attempt(s) ><br>627.245| client at 172.16.0.1:1623 connected to 172.16.0.7:80 ><br>627.246| client will send 94 bytes (94 + 0)<blockquote><pre>GET http://172.16.0.1:8080/mmyvvenxgxrj HTTP/1.1\r\n >Host: 172.16.0.1:8080\r\n >Connection: close\r\n >\r\n ></pre></blockquote> ><br>627.246| client at 172.16.0.1:1623 expects to write to 172.16.0.7:80 ><br>627.246| client at 172.16.0.1:1623 wrote 94 bytes ><br>627.246| client at 172.16.0.1:1623 stops writing to 172.16.0.7:80 ><br>627.246| client at 172.16.0.1:1623 expects to read from 172.16.0.7:80 ><br>627.248| client at 172.16.0.1:1623 read 303 bytes ><br>627.248| client parsed response headers (288 bytes)<blockquote><pre>HTTP/1.1 200 OK\r\n >Date: Tue, 07 Jan 2003 17:42:21 GMT\r\n >Server: Apache/2.1.0-dev (Unix)\r\n >Cache-Control: public, max-age=8\r\n >Via: 1.1 172.16.0.1:8080\r\n >Last-Modified: Mon, 07 Jan 2002 17:31:54 GMT\r\n >Content-Length: 15\r\n >Content-Type: text/plain; charset=ISO-8859-1\r\n >Age: 0\r\n >Connection: close\r\n >\r\n ></pre></blockquote> ><br>627.248| expecting 15 bytes of message body based on Content-Length header ><br>627.248| parsed 15 bytes of message body: <blockquote><pre>body-zlwxxwgipq</pre></blockquote> ><br>627.248| client expects no more data (after 288 + 15 = 303 bytes) ><br>627.248| content size: 15 ><br>627.249| client at 172.16.0.1:1623 stops reading from 172.16.0.7:80 ><br>627.249| client stops servicing connection with 172.16.0.7:80 ><br>627.249| client at 172.16.0.1:1623 closing connection to 172.16.0.7:80 ><br>627.249| server stops accepting HTTP queries at 172.16.0.1:8080 ><br>627.249| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/checkCached-fresh">test_case/rfc2616/checkCached-fresh</a></span> ><br>627.249| result code: <font color="#006666">success</font> ><br>627.249| result reason: at the time of the request, entity instance appeared to be cached and fresh<br clear="all"> ></div> > ><br>627.249| sleeping for 10 seconds to increase age of a cached entity ><br>637.249| <b>step 1.3</b>: verifying whether the cached entity is still cached ><br clear="all"> ><br> ><a name="test__case_rfc2616_checkCached-notORstale__beg"></a><div style="margin-left: 2em"><em>Subcase</em>: <b>check that a given entity instance is not cached or cached but stale</b><br> > ><br>637.249| starting sub-case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/checkCached-notORstale">test_case/rfc2616/checkCached-notORstale</a></span> ><br>637.249| server accepting HTTP queries at 172.16.0.1:8080 ><br>637.249| client connecting to 172.16.0.7:80; 3 attempt(s) ><br>637.249| client at 172.16.0.1:1624 connected to 172.16.0.7:80 ><br>637.249| client will send 94 bytes (94 + 0)<blockquote><pre>GET http://172.16.0.1:8080/mmyvvenxgxrj HTTP/1.1\r\n >Host: 172.16.0.1:8080\r\n >Connection: close\r\n >\r\n ></pre></blockquote> ><br>637.250| client at 172.16.0.1:1624 expects to write to 172.16.0.7:80 ><br>637.250| client at 172.16.0.1:1624 wrote 94 bytes ><br>637.250| client at 172.16.0.1:1624 stops writing to 172.16.0.7:80 ><br>637.250| client at 172.16.0.1:1624 expects to read from 172.16.0.7:80 ><br>637.251| client at 172.16.0.1:1624 read 304 bytes ><br>637.252| client parsed response headers (289 bytes)<blockquote><pre>HTTP/1.1 200 OK\r\n >Date: Tue, 07 Jan 2003 17:42:31 GMT\r\n >Server: Apache/2.1.0-dev (Unix)\r\n >Cache-Control: public, max-age=8\r\n >Via: 1.1 172.16.0.1:8080\r\n >Last-Modified: Mon, 07 Jan 2002 17:31:54 GMT\r\n >Content-Length: 15\r\n >Content-Type: text/plain; charset=ISO-8859-1\r\n >Age: 10\r\n >Connection: close\r\n >\r\n ></pre></blockquote> ><br>637.252| expecting 15 bytes of message body based on Content-Length header ><br>637.252| parsed 15 bytes of message body: <blockquote><pre>body-zlwxxwgipq</pre></blockquote> ><br>637.252| client expects no more data (after 289 + 15 = 304 bytes) ><br>637.252| content size: 15 ><br>637.252| client at 172.16.0.1:1624 stops reading from 172.16.0.7:80 ><br>637.253| client stops servicing connection with 172.16.0.7:80 ><br>637.253| client at 172.16.0.1:1624 closing connection to 172.16.0.7:80 ><br>637.253| server stops accepting HTTP queries at 172.16.0.1:8080 ><br>637.253| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/checkCached-notORstale">test_case/rfc2616/checkCached-notORstale</a></span> ><br>637.253| result code: <font color="#0000FF">failure</font> ><br>637.253| result reason: at the time of the request, entity instance appeared to be cached and fresh rather than being not cached or cached but stale<br clear="all"> ></div> > ><br>637.253| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/ccRespDirMsg-max-age-obey">test_case/rfc2616/ccRespDirMsg-max-age-obey</a></span> ><br>637.253| result code: <font color="#FF0000">violation</font> ><br>637.253| result reason: cache did not treat cached entity as stale when the age exceeds max-age Cache-Control directive<br clear="all"> ><hr noshade align="left" width="25%"> ></body> ></html>
<html> <head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Test Result</title> <style type="text/css"><!-- body { background-color: white; color: black; } /* tags in NS do not inherit body attributes */ body, td { font-family: Arial, Helvetica, sans-serif; } /* h1 -- page heading */ h1 { text-transform: uppercase; margin-top: 3ex; margin-bottom: 3ex; font-size: larger; font-weight: normal; background-color: transparent; color: #194096; } /* h2 -- section heading */ h2 { margin-top: 2ex; margin-bottom: 0ex; font-size: 1em; font-weight: bold; background-color: transparent; color: #671305; } h2 a { text-decoration: none; background-color: transparent; color: #671305; } p { margin-top: 1ex; margin-bottom: 1ex; } /* things after h2 or after h2 after div use asterisc to catch more in CSS2 UAs */ h2 + p, h2 + ul, h2 + ol, h2 + * { margin-top: 0ex; } div.frontPage { background-color: transparent; color: #194096; } span.id { font-size: smaller; font-weight: normal; font-style: italic; } /* indent FAQ answers */ div.FaqEntry p { margin-left: 2ex; } div.FaqEntry ul { margin-left: 2ex; } span.excerptQuote { background-color: transparent; /* #EAF1F7; */ color: #336633; } /* ancors in spec rendering */ div.spec a { background-color: transparent; color: #336633; text-decoration: none; } div.spec a:hover, div.spec a:focus { background-color: #EAF1F7; color: #336633; } /* graseID rendering */ span.graseId { font-size: smaller; font-style: italic; } span.graseId a { background-color: transparent; color: #194096; text-decoration: none; } span.graseId a:hover, span.graseId a:focus { background-color: #EAF1F7; color: #194096; } /* compact user input form or display of input results */ table.compactForm { border 0; margin-left: 4ex; } --></style> </head> <body> <a name="test__case_rfc2616_ccRespDirMsg-max-age-obey__beg"></a><a ><em>Test Case</em></a>: <b>cache must treat cached entity as stale when the age exceeds max-age Cache-Control directive</b><br> <br>627.239| starting test case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/ccRespDirMsg-max-age-obey">test_case/rfc2616/ccRespDirMsg-max-age-obey</a></span> from <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_clause/rfc2616/ccRespDirMsg-max-age-obey">test_clause/rfc2616/ccRespDirMsg-max-age-obey</a></span> clause <br>627.239| <b>step 1.1</b>: attempting to cache entity with max-age Cache-Control directive <br clear="all"> <br> <a name="test__case_rfc2616_cacheSmth__beg"></a><div style="margin-left: 2em"><em>Subcase</em>: <b>cache something</b><br> <br>627.239| starting sub-case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/cacheSmth">test_case/rfc2616/cacheSmth</a></span> <br>627.239| server accepting HTTP queries at 172.16.0.1:8080 <br>627.239| client connecting to 172.16.0.7:80; 3 attempt(s) <br>627.240| client at 172.16.0.1:1622 connected to 172.16.0.7:80 <br>627.240| client will send 94 bytes (94 + 0)<blockquote><pre>GET http://172.16.0.1:8080/mmyvvenxgxrj HTTP/1.1\r\n Host: 172.16.0.1:8080\r\n Connection: close\r\n \r\n </pre></blockquote> <br>627.240| client at 172.16.0.1:1622 expects to write to 172.16.0.7:80 <br>627.240| client at 172.16.0.1:1622 wrote 94 bytes <br>627.240| client at 172.16.0.1:1622 stops writing to 172.16.0.7:80 <br>627.240| client at 172.16.0.1:1622 expects to read from 172.16.0.7:80 <br>627.241| server at 172.16.0.1:8080 accepted connection from 172.16.0.7:1421 <br>627.241| server at 172.16.0.1:8080 expects to read from 172.16.0.7:1421 <br>627.241| server at 172.16.0.1:8080 read 116 bytes <br>627.241| server got request headers (116 bytes)<blockquote><pre>GET /mmyvvenxgxrj HTTP/1.1\r\n Host: 172.16.0.1:8080\r\n Max-Forwards: 10\r\n Connection: close\r\n Via: 1.1 172.16.0.1:8080\r\n \r\n </pre></blockquote> <br>627.241| expecting no message body <br>627.241| no message body data to parse <br>627.241| server expects no more request data (after 116 + 0 = 116 bytes) <br>627.241| server at 172.16.0.1:8080 stops reading from 172.16.0.7:1421 <br>627.241| server at 172.16.0.1:8080 expects to write to 172.16.0.7:1421 <br>627.242| server will send 205 bytes<blockquote><pre>HTTP/1.1 200 OK\r\n Cache-Control: public\r\n Last-Modified: Mon, 07 Jan 2002 17:31:54 GMT\r\n Cache-Control: max-age=8\r\n Date: Tue, 07 Jan 2003 17:42:21 GMT\r\n Connection: close\r\n Content-Length: 15\r\n \r\n </pre></blockquote><blockquote><pre>body-zlwxxwgipq</pre></blockquote> <br>627.242| server at 172.16.0.1:8080 wrote 205 bytes <br>627.242| server at 172.16.0.1:8080 stops writing to 172.16.0.7:1421 <br>627.242| server stops servicing connection with 172.16.0.7:1421 <br>627.242| server at 172.16.0.1:8080 closing connection to 172.16.0.7:1421 <br>627.243| client at 172.16.0.1:1622 read 310 bytes <br>627.244| client parsed response headers (295 bytes)<blockquote><pre>HTTP/1.1 200 OK\r\n Date: Tue, 07 Jan 2003 17:42:21 GMT\r\n Server: Apache/2.1.0-dev (Unix)\r\n Cache-Control: public\r\n Last-Modified: Mon, 07 Jan 2002 17:31:54 GMT\r\n Cache-Control: max-age=8\r\n Content-Length: 15\r\n Via: 1.1 172.16.0.1:8080\r\n Connection: close\r\n Content-Type: text/plain; charset=ISO-8859-1\r\n \r\n </pre></blockquote> <br>627.244| expecting 15 bytes of message body based on Content-Length header <br>627.244| parsed 15 bytes of message body: <blockquote><pre>body-zlwxxwgipq</pre></blockquote> <br>627.244| client expects no more data (after 295 + 15 = 310 bytes) <br>627.244| content size: 15 <br>627.244| client at 172.16.0.1:1622 stops reading from 172.16.0.7:80 <br>627.244| client stops servicing connection with 172.16.0.7:80 <br>627.244| client at 172.16.0.1:1622 closing connection to 172.16.0.7:80 <br>627.245| server stops accepting HTTP queries at 172.16.0.1:8080 <br>627.245| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/cacheSmth">test_case/rfc2616/cacheSmth</a></span> <br>627.245| result code: <font color="#006666">success</font> <br>627.245| result reason: DUT proxied the transaction and possibly cached the response<br clear="all"> </div> <br>627.245| <b>step 1.2</b>: verifying whether the entity was cached and is fresh <br clear="all"> <br> <a name="test__case_rfc2616_checkCached-fresh__beg"></a><div style="margin-left: 2em"><em>Subcase</em>: <b>check that a given entity instance is cached and fresh</b><br> <br>627.245| starting sub-case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/checkCached-fresh">test_case/rfc2616/checkCached-fresh</a></span> <br>627.245| server accepting HTTP queries at 172.16.0.1:8080 <br>627.245| client connecting to 172.16.0.7:80; 3 attempt(s) <br>627.245| client at 172.16.0.1:1623 connected to 172.16.0.7:80 <br>627.246| client will send 94 bytes (94 + 0)<blockquote><pre>GET http://172.16.0.1:8080/mmyvvenxgxrj HTTP/1.1\r\n Host: 172.16.0.1:8080\r\n Connection: close\r\n \r\n </pre></blockquote> <br>627.246| client at 172.16.0.1:1623 expects to write to 172.16.0.7:80 <br>627.246| client at 172.16.0.1:1623 wrote 94 bytes <br>627.246| client at 172.16.0.1:1623 stops writing to 172.16.0.7:80 <br>627.246| client at 172.16.0.1:1623 expects to read from 172.16.0.7:80 <br>627.248| client at 172.16.0.1:1623 read 303 bytes <br>627.248| client parsed response headers (288 bytes)<blockquote><pre>HTTP/1.1 200 OK\r\n Date: Tue, 07 Jan 2003 17:42:21 GMT\r\n Server: Apache/2.1.0-dev (Unix)\r\n Cache-Control: public, max-age=8\r\n Via: 1.1 172.16.0.1:8080\r\n Last-Modified: Mon, 07 Jan 2002 17:31:54 GMT\r\n Content-Length: 15\r\n Content-Type: text/plain; charset=ISO-8859-1\r\n Age: 0\r\n Connection: close\r\n \r\n </pre></blockquote> <br>627.248| expecting 15 bytes of message body based on Content-Length header <br>627.248| parsed 15 bytes of message body: <blockquote><pre>body-zlwxxwgipq</pre></blockquote> <br>627.248| client expects no more data (after 288 + 15 = 303 bytes) <br>627.248| content size: 15 <br>627.249| client at 172.16.0.1:1623 stops reading from 172.16.0.7:80 <br>627.249| client stops servicing connection with 172.16.0.7:80 <br>627.249| client at 172.16.0.1:1623 closing connection to 172.16.0.7:80 <br>627.249| server stops accepting HTTP queries at 172.16.0.1:8080 <br>627.249| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/checkCached-fresh">test_case/rfc2616/checkCached-fresh</a></span> <br>627.249| result code: <font color="#006666">success</font> <br>627.249| result reason: at the time of the request, entity instance appeared to be cached and fresh<br clear="all"> </div> <br>627.249| sleeping for 10 seconds to increase age of a cached entity <br>637.249| <b>step 1.3</b>: verifying whether the cached entity is still cached <br clear="all"> <br> <a name="test__case_rfc2616_checkCached-notORstale__beg"></a><div style="margin-left: 2em"><em>Subcase</em>: <b>check that a given entity instance is not cached or cached but stale</b><br> <br>637.249| starting sub-case <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/checkCached-notORstale">test_case/rfc2616/checkCached-notORstale</a></span> <br>637.249| server accepting HTTP queries at 172.16.0.1:8080 <br>637.249| client connecting to 172.16.0.7:80; 3 attempt(s) <br>637.249| client at 172.16.0.1:1624 connected to 172.16.0.7:80 <br>637.249| client will send 94 bytes (94 + 0)<blockquote><pre>GET http://172.16.0.1:8080/mmyvvenxgxrj HTTP/1.1\r\n Host: 172.16.0.1:8080\r\n Connection: close\r\n \r\n </pre></blockquote> <br>637.250| client at 172.16.0.1:1624 expects to write to 172.16.0.7:80 <br>637.250| client at 172.16.0.1:1624 wrote 94 bytes <br>637.250| client at 172.16.0.1:1624 stops writing to 172.16.0.7:80 <br>637.250| client at 172.16.0.1:1624 expects to read from 172.16.0.7:80 <br>637.251| client at 172.16.0.1:1624 read 304 bytes <br>637.252| client parsed response headers (289 bytes)<blockquote><pre>HTTP/1.1 200 OK\r\n Date: Tue, 07 Jan 2003 17:42:31 GMT\r\n Server: Apache/2.1.0-dev (Unix)\r\n Cache-Control: public, max-age=8\r\n Via: 1.1 172.16.0.1:8080\r\n Last-Modified: Mon, 07 Jan 2002 17:31:54 GMT\r\n Content-Length: 15\r\n Content-Type: text/plain; charset=ISO-8859-1\r\n Age: 10\r\n Connection: close\r\n \r\n </pre></blockquote> <br>637.252| expecting 15 bytes of message body based on Content-Length header <br>637.252| parsed 15 bytes of message body: <blockquote><pre>body-zlwxxwgipq</pre></blockquote> <br>637.252| client expects no more data (after 289 + 15 = 304 bytes) <br>637.252| content size: 15 <br>637.252| client at 172.16.0.1:1624 stops reading from 172.16.0.7:80 <br>637.253| client stops servicing connection with 172.16.0.7:80 <br>637.253| client at 172.16.0.1:1624 closing connection to 172.16.0.7:80 <br>637.253| server stops accepting HTTP queries at 172.16.0.1:8080 <br>637.253| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/checkCached-notORstale">test_case/rfc2616/checkCached-notORstale</a></span> <br>637.253| result code: <font color="#0000FF">failure</font> <br>637.253| result reason: at the time of the request, entity instance appeared to be cached and fresh rather than being not cached or cached but stale<br clear="all"> </div> <br>637.253| finished case: <span class=graseId><a href="http://coad.measurement-factory.com/cgi-bin/coad/GraseInfoCgi?session=bug&info_id=test_case/rfc2616/ccRespDirMsg-max-age-obey">test_case/rfc2616/ccRespDirMsg-max-age-obey</a></span> <br>637.253| result code: <font color="#FF0000">violation</font> <br>637.253| result reason: cache did not treat cached entity as stale when the age exceeds max-age Cache-Control directive<br clear="all"> <hr noshade align="left" width="25%"> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 15869
: 4365 |
7028
|
7123
|
7139
|
7140
|
7151
|
7167
|
7168