diff --git a/src/ngx_base_fetch.cc b/src/ngx_base_fetch.cc index 2f86e0838..13358ba73 100644 --- a/src/ngx_base_fetch.cc +++ b/src/ngx_base_fetch.cc @@ -144,7 +144,7 @@ void NgxBaseFetch::HandleHeadersComplete() { } } - // For the IPRO lookup, supress notification of the nginx side here. + // For the IPRO lookup, suppress notification of the nginx side here. // If we send both this event and the one from done, nasty stuff will happen // if we loose the race with with the nginx side destructing this base fetch // instance (and thereby clearing the byte and its pending extraneous event. diff --git a/src/ngx_fetch.cc b/src/ngx_fetch.cc index 35de64df2..4654e9e9c 100644 --- a/src/ngx_fetch.cc +++ b/src/ngx_fetch.cc @@ -447,7 +447,7 @@ const char* NgxFetch::str_url() { return str_url_.c_str(); } -// This function should be called only once. The only argument is sucess or +// This function should be called only once. The only argument is success or // not. void NgxFetch::CallbackDone(bool success) { ngx_log_error(NGX_LOG_DEBUG, log_, 0, "NgxFetch %p: CallbackDone: %s\n", diff --git a/src/ngx_url_async_fetcher.h b/src/ngx_url_async_fetcher.h index d13fa7f09..228c4edda 100644 --- a/src/ngx_url_async_fetcher.h +++ b/src/ngx_url_async_fetcher.h @@ -59,7 +59,7 @@ class NgxUrlAsyncFetcher : public UrlAsyncFetcher { ~NgxUrlAsyncFetcher(); // It should be called in the module init_process callback function. Do some - // intializations which can't be done in the master process + // initializations which can't be done in the master process bool Init(); // shutdown all the fetches.