1. 24 12月, 2014 11 次提交
  2. 19 11月, 2014 7 次提交
  3. 18 11月, 2014 10 次提交
  4. 17 11月, 2014 8 次提交
  5. 16 11月, 2014 2 次提交
    • Travis Cross's avatar
      Allow setting CURL timeout from curl API command · f1df8d60
      Travis Cross 提交于
      Previously the `timeout` option to the curl API command set only
      `CURLOPT_CONNECTTIMEOUT` -- the maximum amount of time that curl will
      wait to connect to the server.  If the server accepted the connection
      but then never replied, curl would wait essentially forever.  There
      was no way to set `CURLOPT_TIMEOUT` -- the maximum amount of time the
      entire request operation is allowed to take.
      
      With this change, the `timeout` option sets `CURLOPT_TIMEOUT`.  We've
      earlier added a `connect-timeout` option to set
      `CURLOPT_CONNECTTIMEOUT`.
      
      This is a change to existing behavior.  However, it's likely that this
      is what people expected it to do all along.  The curl application
      call, for example, accepts both `curl_connect_timeout` and
      `curl_timeout` channel variables, with the latter setting
      `CURLOPT_TIMEOUT`.
      
      If people really were relying on this odd behavior, we'll rename the
      option with the new behavior to something else and come up with a
      transition plan.
      f1df8d60
    • Travis Cross's avatar
      Add `connect-timeout` option for curl API command · 1ee325df
      Travis Cross 提交于
      This option sets the maximum number of seconds that curl will wait to
      connect with the server.
      
      Right now this is a synonym for the `timeout` option.
      1ee325df
  6. 14 11月, 2014 2 次提交