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 659256 - SoupHTTPInputStream: read data from leftover buffers even if the SoupMessage is finished
SoupHTTPInputStream: read data from leftover buffers even if the SoupMessage ...
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2011-09-16 15:02 UTC by Sergio Villar
Modified: 2011-09-16 17:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (2.11 KB, patch)
2011-09-16 15:11 UTC, Sergio Villar
accepted-commit_now Details | Review

Description Sergio Villar 2011-09-16 15:02:39 UTC
soup_http_input_stream_read(_async) return 0 if the SoupMessage issued the "finished" signal. That's not correct as there might be some pending data in the leftover buffers pending to be read.
Comment 1 Sergio Villar 2011-09-16 15:11:00 UTC
Created attachment 196739 [details] [review]
Patch
Comment 2 Sergio Villar 2011-09-16 17:03:21 UTC
Committed 83aa1f285afa7232aaf3d2978d6b5eee23410781