|
@@ -466,7 +466,7 @@ us.unifyDispose = function (req, res, cb) {
|
|
|
res.on('timeout', function (e) {
|
|
|
try {
|
|
|
console.log('请求超时'); //错误消息的输出
|
|
|
- res.end("false"); //返回值
|
|
|
+ //res.end("false"); //返回值
|
|
|
}
|
|
|
catch (e) {
|
|
|
console.error('process error is:', e.message);
|
|
@@ -477,7 +477,7 @@ us.unifyDispose = function (req, res, cb) {
|
|
|
res.setTimeout(30000, function () {
|
|
|
try {
|
|
|
console.log("响应超时.");
|
|
|
- res.end("false"); //返回值
|
|
|
+ //res.end("false"); //返回值
|
|
|
}
|
|
|
catch (e) {
|
|
|
console.error('process error is:', e.message);
|
|
@@ -488,7 +488,7 @@ us.unifyDispose = function (req, res, cb) {
|
|
|
req.on("error", function (e) {
|
|
|
try {
|
|
|
console.log('程序报错');
|
|
|
- res.end("false");
|
|
|
+ //res.end("false");
|
|
|
}
|
|
|
catch (e) {
|
|
|
console.error('process error is:', e.message);
|