(request, code = NGHTTP2_REFUSED_STREAM)
| 8433 | } |
| 8434 | __name(canRetryRequestAfterGoAway, "canRetryRequestAfterGoAway"); |
| 8435 | function closeRequestStream(request, code = NGHTTP2_REFUSED_STREAM) { |
| 8436 | const stream = request[kRequestStream]; |
| 8437 | clearRequestStream(request); |
| 8438 | if (stream != null && !stream.destroyed && !stream.closed) { |
| 8439 | try { |
| 8440 | stream.close(code); |
| 8441 | } catch { |
| 8442 | } |
| 8443 | } |
| 8444 | } |
| 8445 | __name(closeRequestStream, "closeRequestStream"); |
| 8446 | function connectH2(client, socket) { |
| 8447 | client[kSocket] = socket; |
no test coverage detected