| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1a23eab commit 345c8c3
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -779,8 +779,8 @@ function responseOnTimeout() { | |||
| 779 | 779 | res.emit('timeout'); | |
| 780 | 780 | } | |
| 781 | 781 | ||
| 782 | - // This function is necessary in the case where we receive the entire reponse | ||
| 783 | - // from server before we finish sending out the request | ||
| 782 | + // This function is necessary in the case where we receive the entire response | ||
| 783 | + // from the server before we finish sending out the request. | ||
| 784 | 784 | function requestOnFinish() { | |
| 785 | 785 | const req = this; | |
| 786 | 786 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -426,7 +426,7 @@ function onerror(err) { | |||
| 426 | 426 | // so self._tlsError will return null instead of actual error | |
| 427 | 427 | ||
| 428 | 428 | // Set closing the socket after emitting an event since the socket needs to | |
| 429 | - // be accessible when the `tlsClientError` event is emmited. | ||
| 429 | + // be accessible when the `tlsClientError` event is emitted. | ||
| 430 | 430 | owner._closeAfterHandlingError = true; | |
| 431 | 431 | owner.destroy(err); | |
| 432 | 432 | } else if (owner._tlsOptions?.isServer && | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -250,7 +250,7 @@ inline T* Unwrap(v8::Local<v8::Value> obj) { | |||
| 250 | 250 | // reset to nullptr once the BaseObject is destroyed. | |
| 251 | 251 | // The API matches std::shared_ptr closely. However, this class is not thread | |
| 252 | 252 | // safe, that is, we can't have different BaseObjectPtrImpl instances in | |
| 253 | - // different threads refering to the same BaseObject instance. | ||
| 253 | + // different threads referring to the same BaseObject instance. | ||
| 254 | 254 | template <typename T, bool kIsWeak> | |
| 255 | 255 | class BaseObjectPtrImpl final { | |
| 256 | 256 | public: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -117,7 +117,7 @@ namespace node { | |||
| 117 | 117 | // | |
| 118 | 118 | // For idempotent DataQueues, any number of readers can be created and | |
| 119 | 119 | // pull concurrently from the same DataQueue. The DataQueue can be read | |
| 120 | - // multiple times. Succesful reads should always produce the same result. | ||
| 120 | + // multiple times. Successful reads should always produce the same result. | ||
| 121 | 121 | // If, for whatever reason, the implementation cannot ensure that the | |
| 122 | 122 | // data read will remain the same, the read must fail with an error status. | |
| 123 | 123 | // | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -246,7 +246,7 @@ BaseObjectPtr<ContextifyContext> ContextifyContext::New( | |||
| 246 | 246 | const ContextOptions& options) { | |
| 247 | 247 | HandleScope scope(env->isolate()); | |
| 248 | 248 | // This only initializes part of the context. The primordials are | |
| 249 | - // only initilaized when needed because even deserializing them slows | ||
| 249 | + // only initialized when needed because even deserializing them slows | ||
| 250 | 250 | // things down significantly and they are only needed in rare occasions | |
| 251 | 251 | // in the vm contexts. | |
| 252 | 252 | if (InitializeContextRuntime(v8_context).IsNothing()) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments