(session, errorCode)
| 8351 | } |
| 8352 | } = http2; |
| 8353 | function getGoAwayError(session, errorCode) { |
| 8354 | return session[kError] || (errorCode === NGHTTP2_NO_ERROR ? new InformationalError(`HTTP/2: "GOAWAY" frame received with code ${errorCode}`) : new SocketError(`HTTP/2: "GOAWAY" frame received with code ${errorCode}`, util.getSocketInfo(session[kSocket]))); |
| 8355 | } |
| 8356 | __name(getGoAwayError, "getGoAwayError"); |
| 8357 | function resetHttp2Session(session, err) { |
| 8358 | const client = session[kClient]; |
no outgoing calls
no test coverage detected