aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/pathod.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/pathod.py')
-rw-r--r--libpathod/pathod.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py
index 3cd63162..367a3163 100644
--- a/libpathod/pathod.py
+++ b/libpathod/pathod.py
@@ -75,7 +75,7 @@ class PathodHandler(tcp.BaseHandler):
def handle_sni(self, connection):
self.sni = connection.get_servername()
- def serve_crafted(self, crafted):
+ def http_serve_crafted(self, crafted):
error, crafted = self.server.check_policy(
crafted, self.settings
)
@@ -304,7 +304,7 @@ class PathodHandler(tcp.BaseHandler):
if anchor_spec:
lg("crafting spec: %s" % anchor_spec)
- nexthandler, retlog["response"] = self.serve_crafted(
+ nexthandler, retlog["response"] = self.http_serve_crafted(
anchor_spec
)
if nexthandler and websocket_key: