Bug 167929 - [Soup] WebKitSoupRequestInputStream can still leave requests unfinished after r211773
Summary: [Soup] WebKitSoupRequestInputStream can still leave requests unfinished after...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk, Soup
Depends on:
Blocks:
 
Reported: 2017-02-07 05:26 PST by Carlos Garcia Campos
Modified: 2017-02-07 10:10 PST (History)
2 users (show)

See Also:


Attachments
Patch (1.82 KB, patch)
2017-02-07 05:27 PST, Carlos Garcia Campos
mcatanzaro: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2017-02-07 05:26:06 PST
The while loop to process the pending data requests was not a good idea, because having a new pending request doesn't mean we have more data available, but that more data was requested.
Comment 1 Carlos Garcia Campos 2017-02-07 05:27:37 PST
Created attachment 300804 [details]
Patch
Comment 2 Tomas Popela 2017-02-07 05:34:02 PST
I can confirm that this fixes the issue that we originally saw in Evolution
Comment 3 Carlos Garcia Campos 2017-02-07 10:10:41 PST
Committed r211816: <http://trac.webkit.org/changeset/211816>