Skip to content

Commit 2af58e5

Browse files
committed
self.upstream = None only for pool config
1 parent 333d58b commit 2af58e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy/http/proxy/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def _close_and_release(self) -> bool:
186186
self.upstream.closed = True
187187
with self.lock:
188188
self.pool.release(self.upstream)
189-
self.upstream = None
189+
self.upstream = None
190190
return True
191191

192192
def write_to_descriptors(self, w: Writables) -> bool:

0 commit comments

Comments
 (0)