Bug 14731 - [curl] Timeouts, Polling, Threading?
Summary: [curl] Timeouts, Polling, Threading?
Status: RESOLVED LATER
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: Curl
Depends on:
Blocks: 14725
  Show dependency treegraph
 
Reported: 2007-07-23 12:02 PDT by Holger Freyther
Modified: 2009-10-28 04:49 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Freyther 2007-07-23 12:02:39 PDT
The curl backend has at least two/three more issues:

-It can block a long time in gethostbyname
-We poll it, instead of exposing the filedescriptors so others could select. A GSourceFunc comes into my mind
-We poll it with a non zero timeout. We should check if we can poll with a zero timeout.
Comment 1 Holger Freyther 2007-07-23 13:14:38 PDT
Add the Gtk keyword, even to the curl bugs.
Comment 2 Holger Freyther 2007-07-23 13:18:37 PDT
Add Curl as keyword.
Comment 3 Holger Freyther 2007-09-23 07:57:18 PDT
http://svn.o-hand.com/repos/web/trunk/src/glibcurl.c is an example on how to better integrate CURL with the Gtk+ port. This moves curl to a thread and is using proper glib mainloop integration.
Comment 4 Luca Bruno 2007-12-09 04:26:02 PST
Curl is used also by wx. This means a glib dependency when using webkit wx under other platforms.
Comment 5 Gustavo Noronha (kov) 2009-02-27 20:00:42 PST
Curl is no longer used by the GTK+ port, so removing the Gtk keyword.
Comment 6 Holger Freyther 2009-10-28 04:49:42 PDT
The Gtk+ port has switched, mainloop integration is a different topic now.