Bug 14731
| Summary: | [curl] Timeouts, Polling, Threading? | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Holger Freyther <zecke> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED LATER | ||
| Severity: | Normal | Keywords: | Curl |
| Priority: | P2 | ||
| Version: | 523.x (Safari 3) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
| Bug Depends on: | |||
| Bug Blocks: | 14725 | ||
Holger Freyther
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Holger Freyther
Add the Gtk keyword, even to the curl bugs.
Holger Freyther
Add Curl as keyword.
Holger Freyther
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.
Luca Bruno
Curl is used also by wx. This means a glib dependency when using webkit wx under other platforms.
Gustavo Noronha (kov)
Curl is no longer used by the GTK+ port, so removing the Gtk keyword.
Holger Freyther
The Gtk+ port has switched, mainloop integration is a different topic now.