Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions HttpTransport.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def long_poll_thread(self):
if host != last_host: self.close_lp_connection()
self.lp_connection, changed = self.ensure_connected(self.lp_connection, proto, host, self.long_poll_timeout)
if changed:
say_line("LP connected to %s", self.server[4])
say_line("Long Poll: Connected to %s://%s%s", (proto, host, url))
last_host = host

self.long_poll_active = True
Expand All @@ -200,7 +200,7 @@ def long_poll_thread(self):
say_line('long poll: %s', e)
sleep(.5)
except (IOError, httplib.HTTPException, ValueError, socks.ProxyError):
say_line('long poll: IO error')
#say_line('long poll: IO error')
#traceback.print_exc()
self.close_lp_connection()
sleep(.5)
Expand Down Expand Up @@ -247,4 +247,4 @@ def decode(self, work):

calculateF(job.state, job.merkle_end, job.time, job.difficulty, job.f, job.state2)

return job
return job