Ticket #4480 defect new

Opened 4 years ago

Last modified 9 months ago

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

1

Changed 3 years ago by <automation>

  • owner jknight deleted

2

Changed 9 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)

3

Changed 9 months ago by croepha

Please ignore my post

Note: See TracTickets for help on using tickets.