Commits

Robert Brewer committed 261d514

Fix for REMOTE_HOST bug in 2.x branch and trunk.

  • Participants
  • Parent commits 6a0d648

Comments (0)

Files changed (1)

File cherrypy/_cpwsgiserver.py

         else:
             self.environ["SERVER_PORT"] = str(self.server.bind_addr[1])
             # optional values
-            self.environ["REMOTE_HOST"] = self.addr[0]
+            # Until we do DNS lookups, omit REMOTE_HOST
             self.environ["REMOTE_ADDR"] = self.addr[0]
             self.environ["REMOTE_PORT"] = str(self.addr[1])