Gatherer quits after socket.error EAGAIN

Bug #1205277 reported by Juan Álvaro Muñoz Naranjo on 2013-07-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
P2PSP
Undecided
Unassigned

Bug Description

Gatherer line 404: http://bazaar.launchpad.net/~p2psp/p2psp/vruiz/view/head:/2013/gatherer.py#L404

The gatherer calls quit() after a single socket.error exception. This exception is frequently EAGAIN (try again), which means the gatherer can recover by sending the block again.

In my opinion there are two solutions:
-re-send the current block (inside the except: section, for example)
-the easiest one: simply commenting quit() so the current block is lost but playback keeps going.

Solved.

Changed in p2psp:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers