GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — http2: cleanup Http2Stream/Http2Session destroy · nodejs/node@fc40b7d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • errors.md
    • http2.md
  • lib/internal
    • errors.js
    • http2
      • compat.js
      • core.js
  • src
    • node_http2.cc
    • node_http2.h
  • test
    • known_issues
      • test-http2-client-http1-server.js
    • parallel
      • test-http2-client-data-end.js
      • test-http2-client-destroy.js
      • test-http2-client-onconnect-errors.js
      • test-http2-client-port-80.js
      • test-http2-client-priority-before-connect.js
      • test-http2-client-promisify-connect.js
      • test-http2-client-request-options-errors.js
      • test-http2-client-rststream-before-connect.js
      • test-http2-client-set-priority.js
      • test-http2-client-settings-before-connect.js
      • test-http2-client-shutdown-before-connect.js
      • test-http2-client-socket-destroy.js
      • test-http2-client-stream-destroy-before-connect.js
      • test-http2-client-unescaped-path.js
      • test-http2-client-upload.js
      • test-http2-client-write-before-connect.js
      • test-http2-compat-errors.js
      • test-http2-compat-expect-continue-check.js
      • test-http2-compat-expect-continue.js
      • test-http2-compat-expect-handling.js
      • test-http2-compat-method-connect.js
      • test-http2-compat-serverrequest-end.js
      • test-http2-compat-serverrequest-headers.js
      • test-http2-compat-serverrequest-pause.js
      • test-http2-compat-serverrequest-pipe.js
      • test-http2-compat-serverrequest-settimeout.js
      • test-http2-compat-serverrequest-trailers.js
      • test-http2-compat-serverrequest.js
      • test-http2-compat-serverresponse-close.js
      • test-http2-compat-serverresponse-createpushresponse.js
      • test-http2-compat-serverresponse-destroy.js
      • test-http2-compat-serverresponse-drain.js
      • test-http2-compat-serverresponse-end.js
      • test-http2-compat-serverresponse-finished.js
      • test-http2-compat-serverresponse-flushheaders.js
      • test-http2-compat-serverresponse-headers-after-destroy.js
      • test-http2-compat-serverresponse-headers.js
      • test-http2-compat-serverresponse-settimeout.js
      • test-http2-compat-serverresponse-statuscode.js
      • test-http2-compat-serverresponse-statusmessage-property-set.js
      • test-http2-compat-serverresponse-statusmessage-property.js
      • test-http2-compat-serverresponse-statusmessage.js
      • test-http2-compat-serverresponse-trailers.js
      • test-http2-compat-serverresponse-write-no-cb.js
      • test-http2-compat-serverresponse-writehead.js
      • test-http2-compat-socket-set.js
      • test-http2-compat-socket.js
      • test-http2-connect-method.js
      • test-http2-connect.js
      • test-http2-cookies.js
      • test-http2-create-client-connect.js
      • test-http2-create-client-session.js
      • test-http2-createsecureserver-nooptions.js
      • test-http2-createwritereq.js
      • test-http2-date-header.js
      • test-http2-dont-lose-data.js
      • test-http2-dont-override.js
      • test-http2-generic-streams-sendfile.js
      • test-http2-goaway-opaquedata.js
      • test-http2-head-request.js
      • test-http2-https-fallback.js
      • test-http2-info-headers-errors.js
      • test-http2-info-headers.js
      • test-http2-invalidargtypes-errors.js
      • test-http2-max-concurrent-streams.js
      • test-http2-methods.js
      • test-http2-misbehaving-flow-control-paused.js
      • test-http2-misbehaving-flow-control.js
      • test-http2-misused-pseudoheaders.js
      • test-http2-multi-content-length.js
      • test-http2-multiheaders-raw.js
      • test-http2-multiheaders.js
      • test-http2-multiplex.js
      • test-http2-no-more-streams.js
      • test-http2-options-max-headers-block-length.js
      • test-http2-options-max-reserved-streams.js
      • test-http2-padding-callback.js
      • test-http2-ping.js
      • test-http2-pipe.js
      • test-http2-priority-event.js
      • test-http2-respond-errors.js
      • test-http2-respond-file-204.js
      • test-http2-respond-file-304.js
      • test-http2-respond-file-404.js
      • test-http2-respond-file-compat.js
      • test-http2-respond-file-error-dir.js
      • test-http2-respond-file-errors.js
      • test-http2-respond-file-fd-errors.js
      • test-http2-respond-file-fd-invalid.js
      • test-http2-respond-file-fd-range.js
      • test-http2-respond-file-fd.js
      • test-http2-respond-file-push.js
      • test-http2-respond-file-range.js
      • test-http2-respond-file.js
      • test-http2-respond-no-data.js
      • test-http2-respond-with-fd-errors.js
      • test-http2-response-splitting.js
      • test-http2-rststream-errors.js
      • test-http2-serve-file.js
      • test-http2-server-errors.js
      • test-http2-server-http1-client.js
      • test-http2-server-push-disabled.js
      • test-http2-server-push-stream-errors-args.js
      • test-http2-server-push-stream-errors.js
      • test-http2-server-push-stream-head.js
      • test-http2-server-push-stream.js
      • test-http2-server-rst-before-respond.js
      • test-http2-server-rst-stream.js
      • test-http2-server-sessionerror.js
      • test-http2-server-set-header.js
      • test-http2-server-shutdown-before-respond.js
      • test-http2-server-shutdown-options-errors.js
      • test-http2-server-shutdown-redundant.js
      • test-http2-server-socket-destroy.js
      • test-http2-server-socketerror.js
      • test-http2-server-stream-session-destroy.js
      • test-http2-server-timeout.js
      • test-http2-session-settings.js
      • test-http2-session-stream-state.js
      • test-http2-shutdown-errors.js
      • test-http2-single-headers.js
      • test-http2-socket-proxy.js
      • test-http2-status-code-invalid.js
      • test-http2-status-code.js
      • test-http2-stream-client.js
      • test-http2-stream-destroy-event-order.js
      • test-http2-timeouts.js
      • test-http2-too-large-headers.js
      • test-http2-too-many-headers.js
      • test-http2-too-many-settings.js
      • test-http2-trailers.js
      • test-http2-window-size.js
      • test-http2-write-callbacks.js
      • test-http2-write-empty-string.js
      • test-http2-zero-length-write.js
    • sequential
      • test-http2-session-timeout.js
      • test-http2-timeout-large-write-file.js
      • test-http2-timeout-large-write.js

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/errors.md‎

Copy file name to clipboardExpand all lines: doc/api/errors.md
+20-3Lines changed: 20 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,11 @@ Status code was outside the regular status code range (100-999).
638638
The `Trailer` header was set even though the transfer encoding does not support
639639
that.
640640

641+
<a id="ERR_HTTP2_ALREADY_SHUTDOWN"></a>
642+
### ERR_HTTP2_ALREADY_SHUTDOWN
643+
644+
Occurs with multiple attempts to shutdown an HTTP/2 session.
645+
641646
<a id="ERR_HTTP2_CONNECT_AUTHORITY"></a>
642647
### ERR_HTTP2_CONNECT_AUTHORITY
643648

@@ -661,6 +666,12 @@ forbidden.
661666

662667
A failure occurred sending an individual frame on the HTTP/2 session.
663668

669+
<a id="ERR_HTTP2_GOAWAY_SESSION"></a>
670+
### ERR_HTTP2_GOAWAY_SESSION
671+
672+
New HTTP/2 Streams may not be opened after the `Http2Session` has received a
673+
`GOAWAY` frame from the connected peer.
674+
664675
<a id="ERR_HTTP2_HEADER_REQUIRED"></a>
665676
### ERR_HTTP2_HEADER_REQUIRED
666677

@@ -800,6 +811,11 @@ client.
800811
An attempt was made to use the `Http2Stream.prototype.responseWithFile()` API to
801812
send something other than a regular file.
802813

814+
<a id="ERR_HTTP2_SESSION_ERROR"></a>
815+
### ERR_HTTP2_SESSION_ERROR
816+
817+
The `Http2Session` closed with a non-zero error code.
818+
803819
<a id="ERR_HTTP2_SOCKET_BOUND"></a>
804820
### ERR_HTTP2_SOCKET_BOUND
805821

@@ -817,10 +833,11 @@ Use of the `101` Informational status code is forbidden in HTTP/2.
817833
An invalid HTTP status code has been specified. Status codes must be an integer
818834
between `100` and `599` (inclusive).
819835

820-
<a id="ERR_HTTP2_STREAM_CLOSED"></a>
821-
### ERR_HTTP2_STREAM_CLOSED
836+
<a id="ERR_HTTP2_STREAM_CANCEL"></a>
837+
### ERR_HTTP2_STREAM_CANCEL
822838

823-
An action was performed on an HTTP/2 Stream that had already been closed.
839+
An `Http2Stream` was destroyed before any data was transmitted to the connected
840+
peer.
824841

825842
<a id="ERR_HTTP2_STREAM_ERROR"></a>
826843
### ERR_HTTP2_STREAM_ERROR

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.