开发者

Default value of timeout for a YUI Ajax webservice call

Does someone has idea on what is the default timeout for an AJAX call through YUI, e.g. if we do not mention any value as开发者_如何学Python timeout then what would be the value.

Appreciate the help in advance.

Regards,

Vaibhav


looking at YUI connection manager code, it seems that if there is no timeout property set in the callback, it will not abort the ajax call (so is left to the browser/network settings)

if(callback && callback.timeout){
        this._timeOut[o.tId] = window.setTimeout(function(){ oConn.abort(o, callback, true); }, callback.timeout);
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜