svn commit: r1935004 - in httpd/httpd/branches/2.4.x: . modules/proxy
[email protected] Fri, 05 Jun 2026 10:01:52 -0000
| Newsgroups | gmane.comp.apache.cvs |
|---|---|
| Message-ID | <178065371254.3057464.1881388566508878264@svn03-he-fi> |
Author: covener
Date: Fri Jun 5 10:01:52 2026
New Revision: 1935004
Log:
Merge r1935003 from trunk:
fix iteration
Reviewed By:covener, jorton, jfclere, jailletc36
Modified:
httpd/httpd/branches/2.4.x/ (props changed)
httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_ftp.c
Modified: httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_ftp.c
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_ftp.c Fri Jun 5 10:00:53 2026 (r1935003)
+++ httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_ftp.c Fri Jun 5 10:01:52 2026 (r1935004)
@@ -1206,10 +1206,12 @@ static int proxy_ftp_handler(request_rec
time_t secs;
/* Look for a number, preceded by whitespace */
- while (*secs_str)
+ while (*secs_str) {
if ((secs_str==ftpmessage || apr_isspace(secs_str[-1])) &&
apr_isdigit(secs_str[0]))
break;
+ secs_str++;
+ }
if (*secs_str != '\0') {
secs = atol(secs_str);
apr_table_addn(r->headers_out, "Retry-After",