From d3797b3479b092873aa98ac5bb9c8c8c76041a4b Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Wed, 1 Aug 2018 21:05:30 -0400 Subject: [PATCH] whoops --- txupnp/scpd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/txupnp/scpd.py b/txupnp/scpd.py index 35a02ea..77d0394 100644 --- a/txupnp/scpd.py +++ b/txupnp/scpd.py @@ -144,9 +144,9 @@ class SCPDCommandRunner(object): self._unsupported_actions = {} self._registered_commands = {} self._reactor = reactor - self._agent = Agent(reactor, connectTimeout=1) - self._http_client = HTTPClient(self._agent, data_to_body_producer=StringProducer) self._connection_pool = DirtyPool(reactor) + self._agent = Agent(reactor, connectTimeout=1, pool=self._connection_pool) + self._http_client = HTTPClient(self._agent, data_to_body_producer=StringProducer) @defer.inlineCallbacks def _discover_commands(self, service):