use custom port for test.js

This commit is contained in:
加里
2014-11-17 11:02:24 +08:00
parent 4e65353a29
commit a7ef1b2215
3 changed files with 4 additions and 3 deletions

View File

@@ -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();
});
});