(to)
| 4182 | |
| 4183 | // When the socket is upgraded while we're probing |
| 4184 | function onupgrade (to) { |
| 4185 | if (transport && to.name !== transport.name) { |
| 4186 | debug('"%s" works - aborting "%s"', to.name, transport.name); |
| 4187 | freezeTransport(); |
| 4188 | } |
| 4189 | } |
| 4190 | |
| 4191 | // Remove all listeners on the transport and on self |
| 4192 | function cleanup () { |
nothing calls this directly
no test coverage detected