diff --git a/doc/api/http2.md b/doc/api/http2.md index 461b0018a52..abf6983e9ae 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -125,7 +125,7 @@ Every `Http2Session` instance is associated with exactly one [`net.Socket`][] or [`tls.TLSSocket`][] when it is created. When either the `Socket` or the `Http2Session` are destroyed, both will be destroyed. -Because the of the specific serialization and processing requirements imposed +Because of the specific serialization and processing requirements imposed by the HTTP/2 protocol, it is not recommended for user code to read data from or write data to a `Socket` instance bound to a `Http2Session`. Doing so can put the HTTP/2 session into an indeterminate state causing the session and @@ -1132,7 +1132,7 @@ added: v9.5.0 * {HTTP/2 Headers Object} -An object containing the outbound trailers sent for this this `HttpStream`. +An object containing the outbound trailers sent for this `HttpStream`. #### http2stream.session