After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 319305 - libsoup ignores error/hangup conditions
libsoup ignores error/hangup conditions
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: HTTP Transport
2.2.x
Other Linux
: Normal normal
: ---
Assigned To: Dan Winship
Gerardo Marin
: 322784 330171 (view as bug list)
Depends on:
Blocks: 318816
 
 
Reported: 2005-10-20 11:25 UTC by Jonathan Matthew
Modified: 2006-02-06 21:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
simple patch (1.53 KB, patch)
2005-10-20 11:29 UTC, Jonathan Matthew
none Details | Review

Description Jonathan Matthew 2005-10-20 11:25:22 UTC
Rhythmbox uses libsoup to implement DAAP.  When a DAAP client breaks a
connection to Rhythmbox, by pausing or seeking in a song, Rhythmbox goes into a
tight loop polling the socket, ignoring the error and hangup conditions on it. 
This turns out to be because libsoup is only watching for read/write conditions.
Comment 1 Jonathan Matthew 2005-10-20 11:29:18 UTC
Created attachment 53686 [details] [review]
simple patch

Just calls soup_socket_disconnect when error or hangup is detected on the
socket.  Lightly tested with rhythmbox, where it fixes the issue.
Comment 2 Dan Winship 2005-10-27 19:41:03 UTC
Oof. Committed. Will be in libsoup 2.2.7.
Comment 3 James "Doc" Livingston 2005-11-30 02:59:21 UTC
*** Bug 322784 has been marked as a duplicate of this bug. ***
Comment 4 Jonathan Matthew 2006-02-06 21:02:42 UTC
*** Bug 330171 has been marked as a duplicate of this bug. ***