()
| 183 | let connectionSocket; |
| 184 | |
| 185 | function invokeCallbackIfDone() { |
| 186 | if (connectionHandlerInvoked && timeoutHandlerInvoked) { |
| 187 | connectionSocket.destroy(); |
| 188 | server.close(); |
| 189 | cb(); |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | const server = http.createServer(common.mustCall((req, res) => { |
| 194 | req.on('timeout', common.mustNotCall()); |
no test coverage detected
searching dependent graphs…