()
| 225 | } |
| 226 | |
| 227 | function cleanup() { |
| 228 | socket.removeListener('end', onProxyEnd); |
| 229 | socket.removeListener('error', onProxyError); |
| 230 | socket.removeListener('readable', read); |
| 231 | socket.setTimeout(0); // Clear the timeout for the tunnel establishment. |
| 232 | } |
| 233 | |
| 234 | function onProxyError(err) { |
| 235 | debug('onProxyError', err); |
no test coverage detected
searching dependent graphs…