WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
12783
curl networking improvements for gdk build
https://bugs.webkit.org/show_bug.cgi?id=12783
Summary
curl networking improvements for gdk build
Krzysztof Kowalczyk
Reported
2007-02-15 17:48:31 PST
curl networking improvements for gdk build
Attachments
curl networking improvements
(19.35 KB, patch)
2007-02-15 17:50 PST
,
Krzysztof Kowalczyk
oliver
: review-
Details
Formatted Diff
Diff
updated per review comments
(20.46 KB, patch)
2007-02-17 00:12 PST
,
Krzysztof Kowalczyk
aroben
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Krzysztof Kowalczyk
Comment 1
2007-02-15 17:50:20 PST
Created
attachment 13195
[details]
curl networking improvements Curl networking improvements, enable entering text into text field on gdk, comment-out chatty messages that clutter output.
Adam Roben (:aroben)
Comment 2
2007-02-16 23:01:22 PST
Comment on
attachment 13195
[details]
curl networking improvements + free((void*)m_url); Is this cast to void* really necessary? + for (;;) { I believe while (true) is a bit more inline with our coding style. + void setupPOST(ResourceHandle* job); + void setupPUT(ResourceHandle* job); You should remove the parameter names here. I don't know much about curl, but this code looks sane. r=me.
Oliver Hunt
Comment 3
2007-02-16 23:06:55 PST
Comment on
attachment 13195
[details]
curl networking improvements + struct curl_slist *m_customHeaders; WebKit style guide is Type* ident so "struct curl_slist* m_customHeaders" * in the wrong place again: + ResourceHandle *job; + ResourceHandleInternal *d = job->getInternal(); + char *url = 0; + struct curl_slist *headers = 0; + const char *header = headerString.latin1().data(); + char * m_cookieJarFileName; // FIXME: never freed Otherwise looks reasonable -- but i cannot vouch for correctness, i don't know gdk at all.
Krzysztof Kowalczyk
Comment 4
2007-02-17 00:12:34 PST
Created
attachment 13209
[details]
updated per review comments Fixed all style issues pointed out in the review. Also added fixes for FrameLoaderClientGdk. free((void*)) and for (;;) were because there is a compiler that complains about free() without case and while (true) loop, but I just checked and this compiler isn't gcc event with -Wall -pedantic so I changed those.
Adam Roben (:aroben)
Comment 5
2007-02-17 00:16:24 PST
Comment on
attachment 13209
[details]
updated per review comments r=me. Thanks for fixing those few issues!
Krzysztof Kowalczyk
Comment 6
2007-02-17 00:24:58 PST
commited as
r19676
and
r19677
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