On EBCDIC systems, translation does not occur in ap_rgetline() if the line is
larger than the buffer size.
Submitted By: Hank Ibell
Committed By: covener
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1827359 13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.5.1
+ *) core: On ECBDIC platforms, some errors related to oversized headers
+ may be misreported or be logged as ASCII escapes. PR62200
+ [Hank Ibell <hwibell gmail.com>]
+
*) mod_remoteip: make proxy-protocol work on slave connections, e.g. in HTTP/2
requests. See also https://github.com/roadrunner2/mod-proxy-protocol/issues/6
[Stefan Eissing]
apr_status_t rv;
rv = ap_rgetline_core(s, n, read, r, fold, bb);
- if (rv == APR_SUCCESS) {
+ if (rv == APR_SUCCESS || APR_STATUS_IS_ENOSPC(rv)) {
ap_xlate_proto_from_ascii(*s, *read);
}
return rv;