mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-24 04:01:27 +00:00
chore: npm testing script
This commit is contained in:
parent
4144beecc1
commit
cc71812445
@ -233,13 +233,8 @@ function userRequestHandler(req,userRes){
|
||||
resourceInfo.resHeader = resHeader;
|
||||
resourceInfo.resBody = serverResData;
|
||||
resourceInfo.length = serverResData ? serverResData.length : 0;
|
||||
<<<<<<< HEAD
|
||||
|
||||
GLOBAL.recorder && GLOBAL.recorder.updateRecord(resourceInfoId,resourceInfo);
|
||||
=======
|
||||
|
||||
global.recorder && global.recorder.updateRecord(resourceInfoId,resourceInfo);
|
||||
>>>>>>> 6521604... change: discard decrpecated GLOBAL
|
||||
|
||||
callback();
|
||||
|
||||
@ -378,13 +373,8 @@ function connectReqHandler(req, socket, head){
|
||||
resourceInfo.resHeader = {};
|
||||
resourceInfo.resBody = "";
|
||||
resourceInfo.length = 0;
|
||||
<<<<<<< HEAD
|
||||
|
||||
GLOBAL.recorder && GLOBAL.recorder.updateRecord(resourceInfoId,resourceInfo);
|
||||
=======
|
||||
|
||||
global.recorder && global.recorder.updateRecord(resourceInfoId,resourceInfo);
|
||||
>>>>>>> 6521604... change: discard decrpecated GLOBAL
|
||||
|
||||
callback();
|
||||
}
|
||||
|
@ -48,7 +48,6 @@
|
||||
"test": "sh test/test.sh",
|
||||
"testserver": "node test/server/startServer.js"
|
||||
},
|
||||
"optionalDependencies": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/alibaba/anyproxy"
|
||||
|
Loading…
x
Reference in New Issue
Block a user