summaryrefslogtreecommitdiff
path: root/modules/proxy/ajp_link.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/proxy/ajp_link.c')
-rw-r--r--modules/proxy/ajp_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy/ajp_link.c b/modules/proxy/ajp_link.c
index 04c8f092..2f2688df 100644
--- a/modules/proxy/ajp_link.c
+++ b/modules/proxy/ajp_link.c
@@ -95,7 +95,7 @@ apr_status_t ajp_ilink_receive(apr_socket_t *sock, ajp_msg_t *msg)
if (status != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_ERR, status, NULL,
"ajp_ilink_receive() can't receive header");
- return AJP_ENO_HEADER;
+ return (APR_STATUS_IS_TIMEUP(status) ? APR_TIMEUP : AJP_ENO_HEADER);
}
status = ajp_msg_check_header(msg, &blen);