webbuild.html, autobuilds.html: restrict xmlhttp to fix too many sockets pending in chromium bug
This commit is contained in:
parent
3b15ee14b7
commit
66ce879682
@ -21,6 +21,7 @@ var reloadtime = 0;
|
|||||||
|
|
||||||
function ajax_getvalues() {
|
function ajax_getvalues() {
|
||||||
var url = window.location.protocol+"//"+window.location.hostname+"/cgi-bin/autodist?FORMAT=xml&"+window.location.href.replace(/.*\?/,"");
|
var url = window.location.protocol+"//"+window.location.hostname+"/cgi-bin/autodist?FORMAT=xml&"+window.location.href.replace(/.*\?/,"");
|
||||||
|
var xmlhttp;
|
||||||
if (window.XMLHttpRequest)
|
if (window.XMLHttpRequest)
|
||||||
xmlhttp = new XMLHttpRequest();
|
xmlhttp = new XMLHttpRequest();
|
||||||
else if (window.ActiveXObject)
|
else if (window.ActiveXObject)
|
||||||
|
@ -92,6 +92,7 @@ function editorChanged() {
|
|||||||
|
|
||||||
function ajax_getvalues(request,confirm) {
|
function ajax_getvalues(request,confirm) {
|
||||||
var url = "/cgi-bin/webbuild"
|
var url = "/cgi-bin/webbuild"
|
||||||
|
var xmlhttp;
|
||||||
|
|
||||||
if (!user) {
|
if (!user) {
|
||||||
user=getCookie("webbuild-user");
|
user=getCookie("webbuild-user");
|
||||||
|
Loading…
Reference in New Issue
Block a user