httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: httpd-2.0/modules/http http_protocol.c
Date Fri, 09 May 2003 21:37:55 GMT
martin      2003/05/09 14:37:55

  Modified:    modules/http http_protocol.c
  Log:
  Porting EBCDIC: headers wer incorrectly (i.e., not) converted
  
  Revision  Changes    Path
  1.469     +9 -0      httpd-2.0/modules/http/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_protocol.c,v
  retrieving revision 1.468
  retrieving revision 1.469
  diff -u -r1.468 -r1.469
  --- http_protocol.c	26 Apr 2003 02:24:48 -0000	1.468
  +++ http_protocol.c	9 May 2003 21:37:55 -0000	1.469
  @@ -1207,7 +1207,16 @@
           t_elt++;
       } while (t_elt < t_end);
   
  +#if APR_CHARSET_EBCDIC
  +    {
  +        apr_size_t len;
  +        char *tmp = apr_pstrcatv(r->pool, vec, vec_next - vec, &len);
  +        ap_xlate_proto_to_ascii(tmp, len);
  +        apr_brigade_write(h->bb, NULL, NULL, tmp, len);
  +    }
  +#else
       return apr_brigade_writev(h->bb, NULL, NULL, vec, vec_next - vec);
  +#endif
   }
   
   /*
  
  
  

Mime
View raw message