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 — src: fix http2 typos · nodejs/node@e92b89a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node_http2.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node_http2.cc‎

Copy file name to clipboardExpand all lines: src/node_http2.cc
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ void Http2Stream::EmitStatistics() {
521521
Http2StreamPerformanceEntry* entry =
522522
new Http2StreamPerformanceEntry(env(), id_, statistics_);
523523
env()->SetImmediate([](Environment* env, void* data) {
524-
// This takes ownership, the entr is destroyed at the end of this scope.
524+
// This takes ownership, the entry is destroyed at the end of this scope.
525525
std::unique_ptr<Http2StreamPerformanceEntry> entry {
526526
static_cast<Http2StreamPerformanceEntry*>(data) };
527527
if (!HasHttp2Observer(env))
@@ -1000,7 +1000,7 @@ int Http2Session::OnDataChunkReceived(nghttp2_session* handle,
10001000
// `buf.base == nullptr` is the default Http2StreamListener's way
10011001
// of saying that it wants a pointer to the raw original.
10021002
// Since it has access to the original socket buffer from which the data
1003-
// was read in the first place, it can use that to minizime ArrayBuffer
1003+
// was read in the first place, it can use that to minimize ArrayBuffer
10041004
// allocations.
10051005
if (LIKELY(buf.base == nullptr))
10061006
buf.base = reinterpret_cast<char*>(const_cast<uint8_t*>(data));
@@ -1340,7 +1340,7 @@ void Http2Session::OnStreamAfterWrite(WriteWrap* w, int status) {
13401340
}
13411341

13421342
// If the underlying nghttp2_session struct has data pending in its outbound
1343-
// queue, MaybeScheduleWrite will schedule a SendPendingData() call to occcur
1343+
// queue, MaybeScheduleWrite will schedule a SendPendingData() call to occur
13441344
// on the next iteration of the Node.js event loop (using the SetImmediate
13451345
// queue), but only if a write has not already been scheduled.
13461346
void Http2Session::MaybeScheduleWrite() {
@@ -2182,7 +2182,7 @@ void Http2Session::RefreshSettings(const FunctionCallbackInfo<Value>& args) {
21822182

21832183
// A TypedArray instance is shared between C++ and JS land to contain state
21842184
// information of the current Http2Session. This updates the values in the
2185-
// TypedRray so those can be read in JS land.
2185+
// TypedArray so those can be read in JS land.
21862186
void Http2Session::RefreshState(const FunctionCallbackInfo<Value>& args) {
21872187
Environment* env = Environment::GetCurrent(args);
21882188
Http2Session* session;
@@ -2515,7 +2515,7 @@ void Http2Session::AltSvc(int32_t id,
25152515
origin, origin_len, value, value_len), 0);
25162516
}
25172517

2518-
// Submits an AltSvc frame to the sent to the connected peer.
2518+
// Submits an AltSvc frame to be sent to the connected peer.
25192519
void Http2Session::AltSvc(const FunctionCallbackInfo<Value>& args) {
25202520
Environment* env = Environment::GetCurrent(args);
25212521
Http2Session* session;

0 commit comments

Comments
0 (0)
You are visitor 01402775 — 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.