cvs commit: modperl-2.0/xs/Apache/Response Apache__Response.h

2002-05-19 Thread dougm

dougm   02/05/19 16:01:12

  Modified:xs/Apache/Response Apache__Response.h
  Log:
  use ap_set_content_type rather than directly setting r-content_type
  in $r-send_http_header
  
  Revision  ChangesPath
  1.7   +1 -1  modperl-2.0/xs/Apache/Response/Apache__Response.h
  
  Index: Apache__Response.h
  ===
  RCS file: /home/cvs/modperl-2.0/xs/Apache/Response/Apache__Response.h,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Apache__Response.h21 Jan 2002 08:27:30 -  1.6
  +++ Apache__Response.h19 May 2002 23:01:12 -  1.7
   -20,7 +20,7 
   MP_dRCFG;
   
   if (type) {
  -r-content_type = apr_pstrdup(r-pool, type);
  +ap_set_content_type(r, apr_pstrdup(r-pool, type));
   }
   
   rcfg-wbucket-header_parse = 0; /* turn off PerlOptions +ParseHeaders */
  
  
  



cvs commit: modperl-2.0/xs/Apache/Response Apache__Response.h

2002-01-06 Thread dougm

dougm   02/01/06 14:23:24

  Modified:xs/Apache/Response Apache__Response.h
  Log:
  rcfg-wbucket is now a pointer
  
  Revision  ChangesPath
  1.5   +2 -2  modperl-2.0/xs/Apache/Response/Apache__Response.h
  
  Index: Apache__Response.h
  ===
  RCS file: /home/cvs/modperl-2.0/xs/Apache/Response/Apache__Response.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Apache__Response.h13 Sep 2001 04:41:44 -  1.4
  +++ Apache__Response.h6 Jan 2002 22:23:24 -   1.5
  @@ -10,7 +10,7 @@
   STRLEN len; \
   const char *bodytext; \
   modperl_cgi_header_parse(r, SvPV(sv,len), bodytext); \
  -rcfg-wbucket.header_parse = 0; \
  +rcfg-wbucket-header_parse = 0; \
   }
   
   /* XXX: should only be part of Apache::compat */
  @@ -23,5 +23,5 @@
   r-content_type = apr_pstrdup(r-pool, type);
   }
   
  -rcfg-wbucket.header_parse = 0; /* turn off PerlOptions +ParseHeaders */
  +rcfg-wbucket-header_parse = 0; /* turn off PerlOptions +ParseHeaders */
   }