fixed grammatically wrong expressions to make it clear
Reviewed By: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/2490
PR-URL: https://github.com/nodejs/node/pull/2489
// is a no-op if no final chunk remains.
socket.read();
- // NOTE: Its important to get parser here, because it could be freed by
+ // NOTE: It's important to get parser here, because it could be freed by
// the `socketOnData`.
var parser = socket.parser;
req.emit('close');
}
if (empty) {
ClearOut();
- // However if there any data that should be written to socket,
- // callback should not be invoked immediately
+ // However, if there is any data that should be written to the socket,
+ // the callback should not be invoked immediately
if (BIO_pending(enc_out_) == 0)
return stream_->DoWrite(w, bufs, count, send_handle);
}