(res, socket, head)
| 289 | res.upgrade = true; |
| 290 | } |
| 291 | function onUpgrade(res, socket, head) { |
| 292 | process.nextTick(function() { |
| 293 | onConnect(res, socket, head); |
| 294 | }); |
| 295 | } |
| 296 | function onConnect(res, socket, head) { |
| 297 | connectReq.removeAllListeners(); |
| 298 | socket.removeAllListeners(); |
nothing calls this directly
no test coverage detected