Gatherer quits after socket.error EAGAIN

Bug #1205277 reported by Juan Álvaro Muñoz Naranjo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
P2PSP
Fix Released
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.

Revision history for this message
Vicente González Ruiz (vicente-gonzalez-ruiz) wrote :

Solved.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.