(err)
| 54506 | } |
| 54507 | } |
| 54508 | function onSocketReadable() { |
| 54509 | const { [kParser]: parser } = this; |
| 54510 | if (parser) { |
| 54511 | parser.readMore(); |
| 54512 | } |
| 54513 | } |
| 54514 | function onSocketError(err) { |
| 54515 | const { [kClient]: client, [kParser]: parser } = this; |
| 54516 | assert2(err.code !== "ERR_TLS_CERT_ALTNAME_INVALID"); |
| 54517 | if (client[kHTTPConnVersion] !== "h2") { |
| 54518 | if (err.code === "ECONNRESET" && parser.statusCode && !parser.shouldKeepAlive) { |
| 54519 | parser.onMessageComplete(); |
| 54520 | return; |
| 54521 | } |
| 54522 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…