httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch...@locus.apache.org
Subject cvs commit: apache-1.3/src/modules/proxy proxy_cache.c
Date Thu, 22 Jun 2000 23:49:53 GMT
chuck       00/06/22 16:49:52

  Modified:    src/modules/proxy proxy_cache.c
  Log:
  back out Set-Cookie nocache change
  
  Revision  Changes    Path
  1.70      +0 -2      apache-1.3/src/modules/proxy/proxy_cache.c
  
  Index: proxy_cache.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/proxy/proxy_cache.c,v
  retrieving revision 1.69
  retrieving revision 1.70
  diff -u -r1.69 -r1.70
  --- proxy_cache.c	2000/06/22 21:53:20	1.69
  +++ proxy_cache.c	2000/06/22 23:49:50	1.70
  @@ -905,7 +905,6 @@
    * HEAD requests, or
    * requests with an Authorization header, or
    * protocol requests nocache (e.g. ftp with user/password)
  - * responses containing Set-Cookie headers
    */
   /* @@@ XXX FIXME: is the test "r->status != HTTP_MOVED_PERMANENTLY" correct?
    * or shouldn't it be "ap_is_HTTP_REDIRECT(r->status)" ? -MnKr */
  @@ -915,7 +914,6 @@
   	(r->status == HTTP_OK && lmods == NULL && is_HTTP1) ||
   	r->header_only ||
   	ap_table_get(r->headers_in, "Authorization") != NULL ||
  -	ap_table_get(resp_hdrs, "Set-Cookie") != NULL ||
   	nocache) {
   	Explain1("Response is not cacheable, unlinking %s", c->filename);
   /* close the file */
  
  
  

Mime
View raw message