mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-08-04 21:39:04 +00:00
use custom port for test.js
This commit is contained in:
@@ -302,6 +302,7 @@ function connectReqHandler(req, socket, head){
|
||||
socket.write('HTTP/' + req.httpVersion + ' 200 OK\r\n\r\n', 'UTF-8', function() {
|
||||
conn.pipe(socket);
|
||||
socket.pipe(conn);
|
||||
|
||||
callback();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user