]> git.pld-linux.org Git - packages/apache.git/commitdiff
- updated for 1.3.29
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 28 Oct 2003 09:26:45 +0000 (09:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-ipv6-PLD.patch -> 1.8.2.2

apache-ipv6-PLD.patch

index 308b1404132dedc480f58b2aa5989f06d57b3477..12f400c72507f622e1f9365b6e129f3e86ea5370 100644 (file)
@@ -3102,8 +3102,8 @@ diff -Nur apache_1.3.28.orig/src/modules/proxy/proxy_ftp.c apache_1.3.28/src/mod
  
 -    memset(&server, 0, sizeof(struct sockaddr_in));
 -    server.sin_family = AF_INET;
--    server.sin_port = htons((unsigned short)port);
--    err = ap_proxy_host2addr(host, &server_hp);
+-    server.sin_port = htons((unsigned short)destport);
+-    err = ap_proxy_host2addr(desthost, &server_hp);
 -    if (err != NULL)
 -        return ap_proxyerror(r, HTTP_INTERNAL_SERVER_ERROR, err);
 -
@@ -3112,11 +3112,11 @@ diff -Nur apache_1.3.28.orig/src/modules/proxy/proxy_ftp.c apache_1.3.28/src/mod
 -        ap_log_rerror(APLOG_MARK, APLOG_ERR, r,
 -                      "proxy: error creating socket");
 -        return HTTP_INTERNAL_SERVER_ERROR;
-+    ap_snprintf(portbuf, sizeof(portbuf), "%d", port);
++    ap_snprintf(portbuf, sizeof(portbuf), "%d", destport);
 +    memset(&hints, 0, sizeof(hints));
 +    hints.ai_family = PF_UNSPEC;
 +    hints.ai_socktype = SOCK_STREAM;
-+    error = getaddrinfo(host, portbuf, &hints, &res0);
++    error = getaddrinfo(desthost, portbuf, &hints, &res0);
 +    if (error) {
 +        return ap_proxyerror(r, HTTP_INTERNAL_SERVER_ERROR, gai_strerror(error));
      }
This page took 0.041178 seconds and 4 git commands to generate.