<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>14731</bug_id>
          
          <creation_ts>2007-07-23 12:02:39 -0700</creation_ts>
          <short_desc>[curl] Timeouts, Polling, Threading?</short_desc>
          <delta_ts>2009-10-28 04:49:42 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>LATER</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Curl</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>14725</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Holger Freyther">zecke</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3960</commentid>
    <comment_count>0</comment_count>
    <who name="Holger Freyther">zecke</who>
    <bug_when>2007-07-23 12:02:39 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3912</commentid>
    <comment_count>1</comment_count>
    <who name="Holger Freyther">zecke</who>
    <bug_when>2007-07-23 13:14:38 -0700</bug_when>
    <thetext>Add the Gtk keyword, even to the curl bugs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3917</commentid>
    <comment_count>2</comment_count>
    <who name="Holger Freyther">zecke</who>
    <bug_when>2007-07-23 13:18:37 -0700</bug_when>
    <thetext>Add Curl as keyword.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99</commentid>
    <comment_count>3</comment_count>
    <who name="Holger Freyther">zecke</who>
    <bug_when>2007-09-23 07:57:18 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63742</commentid>
    <comment_count>4</comment_count>
    <who name="Luca Bruno">lethalman88</who>
    <bug_when>2007-12-09 04:26:02 -0800</bug_when>
    <thetext>Curl is used also by wx. This means a glib dependency when using webkit wx under other platforms.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111598</commentid>
    <comment_count>5</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2009-02-27 20:00:42 -0800</bug_when>
    <thetext>Curl is no longer used by the GTK+ port, so removing the Gtk keyword.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158517</commentid>
    <comment_count>6</comment_count>
    <who name="Holger Freyther">zecke</who>
    <bug_when>2009-10-28 04:49:42 -0700</bug_when>
    <thetext>The Gtk+ port has switched, mainloop integration is a different topic now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>