httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_http.c
Date Thu, 27 Sep 2001 04:01:11 GMT
jwoolley    01/09/26 21:01:11

  Modified:    modules/proxy proxy_http.c
  Log:
  Immortal data should go in an immortal bucket, not a pool bucket.  It would
  still work in a pool bucket, but only by coincidence.  At the very least, a
  pool bucket is way more overhead than this poor unsuspecting little CRLF
  needs to get by.
  
  Revision  Changes    Path
  1.98      +1 -1      httpd-2.0/modules/proxy/proxy_http.c
  
  Index: proxy_http.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_http.c,v
  retrieving revision 1.97
  retrieving revision 1.98
  diff -u -d -u -r1.97 -r1.98
  --- proxy_http.c	2001/09/26 19:58:10	1.97
  +++ proxy_http.c	2001/09/27 04:01:10	1.98
  @@ -588,7 +588,7 @@
       }
   
       /* add empty line at the end of the headers */
  -    e = apr_bucket_pool_create(CRLF, strlen(CRLF), p);
  +    e = apr_bucket_immortal_create(CRLF, sizeof(CRLF)-1);
       APR_BRIGADE_INSERT_TAIL(bb, e);
       e = apr_bucket_flush_create();
       APR_BRIGADE_INSERT_TAIL(bb, e);
  
  
  

Mime
View raw message