changeset 836:538bf7495665

removed Twisted request.remote_host - expensive and unused (already backported to 1.5)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 15 Jun 2006 11:59:12 +0200
parents d4dd4fca1477
children 7abe5a3e5e8c fcdce5331c6e
files MoinMoin/request/TWISTED.py docs/CHANGES
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/TWISTED.py	Thu Jun 15 11:01:41 2006 +0200
+++ b/MoinMoin/request/TWISTED.py	Thu Jun 15 11:59:12 2006 +0200
@@ -31,7 +31,6 @@
             self.is_ssl = self.twistd.isSecure()
             self.path_info = '/' + '/'.join([pagename] + self.twistd.postpath)
             self.request_method = self.twistd.method
-            self.remote_host = self.twistd.getClient()
             self.remote_addr = self.twistd.getClientIP()
             self.request_uri = self.twistd.uri
             self.script_name = "/" + '/'.join(self.twistd.prepath[:-1])
--- a/docs/CHANGES	Thu Jun 15 11:01:41 2006 +0200
+++ b/docs/CHANGES	Thu Jun 15 11:59:12 2006 +0200
@@ -147,6 +147,7 @@
     * fixed smiley caching bug (smileys didn't change theme)
     * fixed backtrace when user removed css_url entry from user_form_fields
     * Fixed the output of macro and "attachment:" usages of the rst parser.
+    * Removed Twisted request object reverse DNS lookup
 
   Other changes:
     * we use (again) the same browser compatibility check as FCKeditor uses