• 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
名称
最后提交
最后更新
..
mod_abstraction 正在载入提交数据...
mod_avmd 正在载入提交数据...
mod_bert 正在载入提交数据...
mod_blacklist 正在载入提交数据...
mod_callcenter 正在载入提交数据...
mod_cidlookup 正在载入提交数据...
mod_cluechoo 正在载入提交数据...
mod_commands 正在载入提交数据...
mod_conference 正在载入提交数据...
mod_curl 正在载入提交数据...
mod_db 正在载入提交数据...
mod_directory 正在载入提交数据...
mod_distributor 正在载入提交数据...
mod_dptools 正在载入提交数据...
mod_easyroute 正在载入提交数据...
mod_enum 正在载入提交数据...
mod_esf 正在载入提交数据...
mod_esl 正在载入提交数据...
mod_expr 正在载入提交数据...
mod_fifo 正在载入提交数据...
mod_fsk 正在载入提交数据...
mod_fsv 正在载入提交数据...
mod_hash 正在载入提交数据...
mod_httapi 正在载入提交数据...
mod_http_cache 正在载入提交数据...
mod_ladspa 正在载入提交数据...
mod_lcr 正在载入提交数据...
mod_limit 正在载入提交数据...
mod_memcache 正在载入提交数据...
mod_mongo 正在载入提交数据...
mod_mp4 正在载入提交数据...
mod_nibblebill 正在载入提交数据...
mod_oreka 正在载入提交数据...
mod_osp 正在载入提交数据...
mod_prefix 正在载入提交数据...
mod_rad_auth 正在载入提交数据...
mod_random 正在载入提交数据...
mod_redis 正在载入提交数据...
mod_rss 正在载入提交数据...
mod_skel 正在载入提交数据...
mod_sms 正在载入提交数据...
mod_snapshot 正在载入提交数据...
mod_snipe_hunt 正在载入提交数据...
mod_snom 正在载入提交数据...
mod_sonar 正在载入提交数据...
mod_soundtouch 正在载入提交数据...
mod_spandsp 正在载入提交数据...
mod_spy 正在载入提交数据...
mod_stress 正在载入提交数据...
mod_translate 正在载入提交数据...
mod_valet_parking 正在载入提交数据...
mod_vmd 正在载入提交数据...
mod_voicemail 正在载入提交数据...
mod_voicemail_ivr 正在载入提交数据...
.gitignore 正在载入提交数据...