Index: lib/python/ZServer/HTTPServer.py
===================================================================
RCS file: /cvs-repository/Zope/lib/python/ZServer/Attic/HTTPServer.py,v
retrieving revision 1.46.2.2
diff -u -r1.46.2.2 HTTPServer.py
--- lib/python/ZServer/HTTPServer.py	15 Dec 2003 03:11:43 -0000	1.46.2.2
+++ lib/python/ZServer/HTTPServer.py	5 Jul 2004 18:11:53 -0000
@@ -266,6 +266,10 @@
         if self._force_connection_close:
             zresponse._http_connection = 'close'
         zrequest=HTTPRequest(sin, env, zresponse)
+
+        # store real client address
+        request.client_address = zrequest.getClientAddr()
+
         request.channel.current_request=None
         request.channel.queue.append((self.module_name, zrequest, zresponse))
         request.channel.work()
Index: lib/python/ZServer/medusa/http_server.py
===================================================================
RCS file: /cvs-repository/Zope/lib/python/ZServer/medusa/Attic/http_server.py,v
retrieving revision 1.35.8.2
diff -u -r1.35.8.2 http_server.py
--- lib/python/ZServer/medusa/http_server.py	14 Sep 2003 16:37:24 -0000	1.35.8.2
+++ lib/python/ZServer/medusa/http_server.py	5 Jul 2004 18:11:53 -0000
@@ -288,7 +288,7 @@
                     name = t[0]
 
         self.channel.server.logger.log (
-            self.channel.addr[0],
+            getattr(self, 'client_address', self.channel.addr[0]),
             '- %s [%s] "%s" %d %d "%s" "%s"\n' % (
                 name,
                 self.log_date_string (time.time()),
