EBCDIC: Convert header fields to ASCII before sending (broken
since 2.0.44).
Submitted by: Martin Kraemer
Reviewed by: trawick, nd, gregames
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@101818
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.49
+ *) EBCDIC: Convert header fields to ASCII before sending (broken
+ since 2.0.44). [Martin Kraemer]
+
*) Fix the inability to log errors like exec failure in
mod_ext_filter/mod_cgi script children. This was broken after
such children stopped inheriting the error log handle.
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2003/11/20 19:42:30 $]
+Last modified at [$Date: 2003/11/20 19:52:41 $]
Release:
RELEASE SHOWSTOPPERS:
- * EBCDIC: Translate the protocol data...
- modules/http/http_protocol.c: r1.469, r1.472
- +1: trawick, nd, gregames
-
PATCHES TO BACKPORT FROM 2.1
[ please place file names and revisions from HEAD here, so it is easy to
identify exactly what the proposed changes are! ]
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);
+ return apr_brigade_write(h->bb, NULL, NULL, tmp, len);
+ }
+#else
return apr_brigade_writev(h->bb, NULL, NULL, vec, vec_next - vec);
+#endif
}
/*