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 — doc: fix comments in tls_wrap.cc and _http_client.js · nodejs/node@09437e0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • lib
    • _http_client.js
  • src
    • tls_wrap.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎lib/_http_client.js‎

Copy file name to clipboardExpand all lines: lib/_http_client.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ function socketCloseListener() {
216216
// is a no-op if no final chunk remains.
217217
socket.read();
218218

219-
// NOTE: Its important to get parser here, because it could be freed by
219+
// NOTE: It's important to get parser here, because it could be freed by
220220
// the `socketOnData`.
221221
var parser = socket.parser;
222222
req.emit('close');
Collapse file

‎src/tls_wrap.cc‎

Copy file name to clipboardExpand all lines: src/tls_wrap.cc
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,8 @@ int TLSWrap::DoWrite(WriteWrap* w,
561561
}
562562
if (empty) {
563563
ClearOut();
564-
// However if there any data that should be written to socket,
565-
// callback should not be invoked immediately
564+
// However, if there is any data that should be written to the socket,
565+
// the callback should not be invoked immediately
566566
if (BIO_pending(enc_out_) == 0)
567567
return stream_->DoWrite(w, bufs, count, send_handle);
568568
}

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.