WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 16476
[GTK] Use a platform http stack
https://bugs.webkit.org/show_bug.cgi?id=16476
Summary
[GTK] Use a platform http stack
Alp Toker
Reported
2007-12-17 07:59:54 PST
To integrate better with the underlying platform, the GTK+ port should use a shared http stack. This would provide cookie, cache and http functionality that can be shared between WebKit and other applications, allowing them to maintain state centrally. Windows has WinINet, Mac has CFNetwork, and Qt just got an http stack but GTK+/Gnome lacks such a thing so we may have to write one.
Attachments
Soup HTTP backend
(22.24 KB, patch)
2008-03-11 04:25 PDT
,
Xan Lopez
no flags
Details
Formatted Diff
Diff
Soup HTTP backend
(22.51 KB, patch)
2008-03-11 07:47 PDT
,
Xan Lopez
no flags
Details
Formatted Diff
Diff
Soup HTTP backend
(22.75 KB, patch)
2008-03-11 09:25 PDT
,
Xan Lopez
no flags
Details
Formatted Diff
Diff
Add HTTP soup backend.
(25.42 KB, patch)
2008-03-11 11:25 PDT
,
Xan Lopez
alp
: review+
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Xan Lopez
Comment 1
2008-03-11 04:25:41 PDT
Created
attachment 19659
[details]
Soup HTTP backend First try at a soup http backend. This is basically alp's patch from february-ish, changed to work in the new build system, adaptaded to all the API changes (review of the string stuff especially welcome...) and finished so it actually works (the code I got didn't really do anything, I had to finish the 'dataCallback' function). The performance (throughput) difference with curl is massive, but I get some random crashers at the moment.
Xan Lopez
Comment 2
2008-03-11 07:47:38 PDT
Created
attachment 19664
[details]
Soup HTTP backend Second iteration. Ported to libsoup 2.4 and some small fixes. The crashes are still there, and we are sending malformed requests (I get status 400 from some servers).
Xan Lopez
Comment 3
2008-03-11 09:25:06 PDT
Created
attachment 19668
[details]
Soup HTTP backend Third iteration. Do not call didReceiveData with empty data, and cancel requests on ::cancel both on soup side (soup_session_cancel_message) and WebCore (didFinishLoading). Now stopping a page load does not bork the session anymore.
Xan Lopez
Comment 4
2008-03-11 11:25:21 PDT
Created
attachment 19670
[details]
Add HTTP soup backend. Fourth iteration. Took the parseDataUrl function from CURL backend, minor cleanups, added ChangeLog.
Alp Toker
Comment 5
2008-03-11 12:52:42 PDT
Comment on
attachment 19670
[details]
Add HTTP soup backend. r=me
Alp Toker
Comment 6
2008-03-11 16:27:31 PDT
Landed in
r30970
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug