mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-07-29 09:27:42 +00:00
chore: npm testing script
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user