(to)
| 469 | |
| 470 | //When the socket is upgraded while we're probing |
| 471 | function onupgrade(to) { |
| 472 | if (transport && to.name != transport.name) { |
| 473 | debug('"%s" works - aborting "%s"', to.name, transport.name); |
| 474 | freezeTransport(); |
| 475 | } |
| 476 | } |
| 477 | |
| 478 | //Remove all listeners on the transport and on self |
| 479 | function cleanup() { |
nothing calls this directly
no test coverage detected