我有一个需要几分钟才能执行的后端脚本。我正在使用 php 前端脚本调用此后端脚本。在等待后端脚本结束之前,连接超时。我想要一个持久的后端调用,以便前端不会超时(或在一段时间后超时certain
)。Web浏览器控制台中抛出的错误是:
POST http:///main.php 504 (Connection Timed Out) jquery-1.8.3.js:8434
Object {readyState: 4, setRequestHeader: function, getAllResponseHeaders: function, getResponseHeader: function, overrideMimeType: function…}
custom.js:310
error custom.js:310
Connection Timed Out custom.js:310
POST http:///main.php 504 (Connection Timed Out) jquery-1.8.3.js:8434
POST http:///main.php 504 (Connection Timed Out) jquery-1.8.3.js:8434
POST http:///main.php 504 (Connection Timed Out) jquery-1.8.3.js:8434
POST http:///main.php 504 (Connection Timed Out) jquery-1.8.3.js:8434
POST http:///main.php 504 (Connection Timed Out) jquery-1.8.3.js:8434
POST http:///main.php 504 (Connection Timed Out) jquery-1.8.3.js:8434
POST http:///main.php 504 (Connection Timed Out) jquery-1.8.3.js:8434
POST http:///main.php 504 (Connection Timed Out) jquery-1.8.3.js:8434
POST http:///main.php 504 (Connection Timed Out) jquery-1.8.3.js:8434
POST http:///main.php 504 (Connection Timed Out) jquery-1.8.3.js:8434