ALLI#39353 Send/Receive timeout van 30 naar 90 seconde

svn path=/Website/branches/v2016.3/; revision=32711
This commit is contained in:
Jos Groot Lipman
2017-02-06 11:35:34 +00:00
parent 41294df3ef
commit 553a00ed37

View File

@@ -189,6 +189,12 @@ function doHTTP(url, params) // params is sterk vergelijkbaar met p_bedrijfadres
params.headers = {};
var http_request = new ActiveXObject("Msxml2.ServerXMLHTTP.6.0");
var lResolve = 60 * 1000; // The default value is infinite, meaning no timeout.
var lConnect = 60 * 1000; // With a default timeout value of 60 seconds
var lSend = 90 * 1000; // The default value is 30 seconds.
var lReceive = 90 * 1000; // The default value is 30 seconds.
http_request.setTimeouts(lResolve, lConnect, lSend, lReceive);
// contanten in msxml2
var SXH_PROXY_SET_PROXY = 2;
var SXH_OPTION_SELECT_CLIENT_SSL_CERT = 3;