Skip to content

Commit

Permalink
Revert "Use HTTP/1.1 in XMLRPC Server (#1287)"
Browse files Browse the repository at this point in the history
This reverts commit 5e2b38e.

This change may be considered for backporting to Lunar at a later time.
  • Loading branch information
mikepurvis committed Apr 23, 2018
1 parent 5e2b38e commit e1ac4cf
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tools/rosgraph/src/rosgraph/xmlrpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ def isstring(s):
return isinstance(s, str)

class SilenceableXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):

protocol_version = 'HTTP/1.1'

def log_message(self, format, *args):
if 0:
SimpleXMLRPCRequestHandler.log_message(self, format, *args)
Expand All @@ -89,9 +86,6 @@ class ThreadingXMLRPCServer(socketserver.ThreadingMixIn, SimpleXMLRPCServer):
Adds ThreadingMixin to SimpleXMLRPCServer to support multiple concurrent
requests via threading. Also makes logging toggleable.
"""

daemon_threads = True

def __init__(self, addr, log_requests=1):
"""
Overrides SimpleXMLRPCServer to set option to allow_reuse_address.
Expand Down

0 comments on commit e1ac4cf

Please sign in to comment.