Opened 4 years ago

Last modified 12 months ago

#4480 defect new

ProxyClient doesn't track the status of the request with notifyFinish

Reported by: therve Owned by:
Priority: normal Milestone:
Component: web Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

Now that #2677, using ProxyClient can result in logs like this: "Request.finish called on a request after its connection was lost"

Change History (3)

comment:1 Changed 3 years ago by <automation>

  • Owner jknight deleted

comment:2 Changed 12 months ago by croepha

I was able to fix this problem like this:

class FixedProxyRequest(ProxyRequest):
	def connectionLost(self, reason):
		self._finished = True
		ProxyRequest.connectionLost(self, reason)

comment:3 Changed 12 months ago by croepha

Please ignore my post

Note: See TracTickets for help on using tickets.