Thanks to Henrik for the pointer
*** client_side.c.orig Sat May 8 10:00:55 1999
--- client_side.c Mon May 10 16:48:15 1999
***************
*** 2082,2098 ****
} else
snprintf(http->uri, url_sz, "http://%s:%d%s",
inet_ntoa(http->conn->me.sin_addr),
! (int) Config.Accel.port,
url);
} else
snprintf(http->uri, url_sz, "http://%s:%d%s",
inet_ntoa(natLookup.nl_realip),
! (int) Config.Accel.port,
url);
#else
snprintf(http->uri, url_sz, "http://%s:%d%s",
inet_ntoa(http->conn->me.sin_addr),
! (int) Config.Accel.port,
url);
#endif
debug(33, 5) ("VHOST REWRITE: '%s'\n", http->uri);
--- 2082,2107 ----
} else
snprintf(http->uri, url_sz, "http://%s:%d%s",
inet_ntoa(http->conn->me.sin_addr),
! /* (int) Config.Accel.port,
! hint: ntohs(conn->me.sin_port) gets you the local port, and can */
! ntohs(conn->me.sin_port),
url);
} else
snprintf(http->uri, url_sz, "http://%s:%d%s",
inet_ntoa(natLookup.nl_realip),
! /* (int) Config.Accel.port,
! hint: ntohs(conn->me.sin_port) gets you the local port, and can */
! ntohs(conn->me.sin_port),
url);
#else
snprintf(http->uri, url_sz, "http://%s:%d%s",
inet_ntoa(http->conn->me.sin_addr),
! /* (int) Config.Accel.port,
! hint: ntohs(conn->me.sin_port) gets you the local port, and can */
! ntohs(conn->me.sin_port),
url);
#endif
debug(33, 5) ("VHOST REWRITE: '%s'\n", http->uri);
Received on Mon May 10 1999 - 18:15:27 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:15 MST