diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-01-21 01:22:27 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-02-28 18:31:10 +0100 |
commit | 9edce1e12a7b69e7986dd15fce18d6e46590161a (patch) | |
tree | c5d37d8016a27bab698520ecc51cda4f7ad99d40 /lib/net.js | |
parent | 7b674697d8005c29391ebaaf562eb4d92ed9b129 (diff) | |
download | android-node-v8-9edce1e12a7b69e7986dd15fce18d6e46590161a.tar.gz android-node-v8-9edce1e12a7b69e7986dd15fce18d6e46590161a.tar.bz2 android-node-v8-9edce1e12a7b69e7986dd15fce18d6e46590161a.zip |
benchmark,doc,lib,test: capitalize comments
This updates a lot of comments.
PR-URL: https://github.com/nodejs/node/pull/26223
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Diffstat (limited to 'lib/net.js')
-rw-r--r-- | lib/net.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/net.js b/lib/net.js index 2726e73272..b649c6779a 100644 --- a/lib/net.js +++ b/lib/net.js @@ -299,7 +299,7 @@ function Socket(options) { } } - // shut down the socket when we're finished with it. + // Shut down the socket when we're finished with it. this.on('end', onReadableStreamEnd); initSocketHandle(this); @@ -311,7 +311,7 @@ function Socket(options) { // buffer. if not, then this will happen when we connect if (this._handle && options.readable !== false) { if (options.pauseOnCreate) { - // stop the handle from reading and pause the stream + // Stop the handle from reading and pause the stream this._handle.reading = false; this._handle.readStop(); this.readableFlowing = false; @@ -374,7 +374,7 @@ function afterShutdown(status) { this.callback(); - // callback may come after call to destroy. + // Callback may come after call to destroy. if (self.destroyed) return; @@ -1044,7 +1044,7 @@ function afterConnect(status, handle, req, readable, writable) { self.emit('connect'); self.emit('ready'); - // start the first read, or get an immediate EOF. + // Start the first read, or get an immediate EOF. // this doesn't actually consume any bytes, because len=0. if (readable && !self.isPaused()) self.read(0); |