diff --git a/doc/keepalive.md b/doc/keepalive.md index a54a4fa033c..4d0271ec181 100644 --- a/doc/keepalive.md +++ b/doc/keepalive.md @@ -1,4 +1,4 @@ -# Keepalive User Guide for gRPC Core (and dependants) +# Keepalive User Guide for gRPC Core (and dependents) The keepalive ping is a way to check if a channel is currently working by sending HTTP2 pings over the transport. It is sent periodically, and if the ping is not acknowledged by the peer within a certain timeout period, the transport is disconnected. diff --git a/include/grpc/impl/codegen/sync_generic.h b/include/grpc/impl/codegen/sync_generic.h index d64db58a842..eabdc513f48 100644 --- a/include/grpc/impl/codegen/sync_generic.h +++ b/include/grpc/impl/codegen/sync_generic.h @@ -18,7 +18,7 @@ #ifndef GRPC_IMPL_CODEGEN_SYNC_GENERIC_H #define GRPC_IMPL_CODEGEN_SYNC_GENERIC_H -/* Generic type defintions for gpr_sync. */ +/* Generic type definitions for gpr_sync. */ #include diff --git a/src/core/ext/filters/client_channel/subchannel.h b/src/core/ext/filters/client_channel/subchannel.h index de447d3a2a9..fde19dc4f2c 100644 --- a/src/core/ext/filters/client_channel/subchannel.h +++ b/src/core/ext/filters/client_channel/subchannel.h @@ -292,7 +292,7 @@ class Subchannel { bool empty() const { return watchers_.empty(); } private: - // TODO(roth): Once we can use C++-14 heterogenous lookups, this can + // TODO(roth): Once we can use C++-14 heterogeneous lookups, this can // be a set instead of a map. Map> diff --git a/src/core/lib/gprpp/memory.h b/src/core/lib/gprpp/memory.h index 149db3858aa..68717dd019d 100644 --- a/src/core/lib/gprpp/memory.h +++ b/src/core/lib/gprpp/memory.h @@ -37,7 +37,7 @@ inline T* New(Args&&... args) { return new (p) T(std::forward(args)...); } -// Gets the base pointer of any class, in case of multiple inheritence. +// Gets the base pointer of any class, in case of multiple inheritance. // Used by Delete and friends. template struct BasePointerGetter { diff --git a/src/core/lib/transport/connectivity_state.h b/src/core/lib/transport/connectivity_state.h index 3895cc5c836..8126ebc730d 100644 --- a/src/core/lib/transport/connectivity_state.h +++ b/src/core/lib/transport/connectivity_state.h @@ -116,7 +116,7 @@ class ConnectivityStateTracker { private: const char* name_; Atomic state_; - // TODO(roth): Once we can use C++-14 heterogenous lookups, this can + // TODO(roth): Once we can use C++-14 heterogeneous lookups, this can // be a set instead of a map. Map> diff --git a/src/csharp/Grpc.Core/Calls.cs b/src/csharp/Grpc.Core/Calls.cs index 1843c4c109a..05b9bedfccf 100644 --- a/src/csharp/Grpc.Core/Calls.cs +++ b/src/csharp/Grpc.Core/Calls.cs @@ -33,7 +33,7 @@ namespace Grpc.Core /// Invokes a simple remote call in a blocking fashion. /// /// The response. - /// The call defintion. + /// The call definition. /// Request message. /// Type of request message. /// The of response message. @@ -49,7 +49,7 @@ namespace Grpc.Core /// Invokes a simple remote call asynchronously. /// /// An awaitable call object providing access to the response. - /// The call defintion. + /// The call definition. /// Request message. /// Type of request message. /// The of response message. @@ -67,7 +67,7 @@ namespace Grpc.Core /// In server streaming scenario, client sends on request and server responds with a stream of responses. /// /// A call object providing access to the asynchronous response stream. - /// The call defintion. + /// The call definition. /// Request message. /// Type of request message. /// The of response messages. @@ -85,7 +85,7 @@ namespace Grpc.Core /// Invokes a client streaming call asynchronously. /// In client streaming scenario, client sends a stream of requests and server responds with a single response. /// - /// The call defintion. + /// The call definition. /// An awaitable call object providing access to the response. /// Type of request messages. /// The of response message. @@ -107,7 +107,7 @@ namespace Grpc.Core /// A call object providing access to the asynchronous request and response streams. /// The call definition. /// Type of request messages. - /// Type of reponse messages. + /// Type of responsemessages. public static AsyncDuplexStreamingCall AsyncDuplexStreamingCall(CallInvocationDetails call) where TRequest : class where TResponse : class diff --git a/src/csharp/Grpc.IntegrationTesting/Messages.cs b/src/csharp/Grpc.IntegrationTesting/Messages.cs index dab90d8ae46..d4d3a6a2b34 100644 --- a/src/csharp/Grpc.IntegrationTesting/Messages.cs +++ b/src/csharp/Grpc.IntegrationTesting/Messages.cs @@ -97,7 +97,7 @@ namespace Grpc.Testing { /// the server via the "gRPCLB fallback" path, and "backend" if it detects /// that the RPC reached the server via "gRPCLB backend" path (i.e. if it got /// the address of this server from the gRPCLB server BalanceLoad RPC). Exactly - /// how this detection is done is context and server dependant. + /// how this detection is done is context and server dependent. /// public enum GrpclbRouteType { /// diff --git a/src/csharp/Grpc.IntegrationTesting/Metrics.cs b/src/csharp/Grpc.IntegrationTesting/Metrics.cs index b5d8b87a680..78407416fd5 100644 --- a/src/csharp/Grpc.IntegrationTesting/Metrics.cs +++ b/src/csharp/Grpc.IntegrationTesting/Metrics.cs @@ -46,7 +46,7 @@ namespace Grpc.Testing { } #region Messages /// - /// Reponse message containing the gauge name and value + /// Response message containing the gauge name and value /// public sealed partial class GaugeResponse : pb::IMessage { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GaugeResponse()); diff --git a/src/objective-c/RxLibrary/GRXWriter.h b/src/objective-c/RxLibrary/GRXWriter.h index df4c80c28dd..d0d0f4e0055 100644 --- a/src/objective-c/RxLibrary/GRXWriter.h +++ b/src/objective-c/RxLibrary/GRXWriter.h @@ -44,7 +44,7 @@ typedef NS_ENUM(NSInteger, GRXWriterState) { /** * The writer has released its writeable and won't interact with it anymore. * - * One seldomly wants to set a writer's state to this value, as its writeable isn't notified with + * One seldom wants to set a writer's state to this value, as its writeable isn't notified with * a writesFinishedWithError: message. Instead, sending finishWithError: to the writer will make * it notify the writeable and then transition to this state. */ diff --git a/src/objective-c/tests/TestBase.h b/src/objective-c/tests/TestBase.h index 621e145d3d6..d6a6a56c69f 100644 --- a/src/objective-c/tests/TestBase.h +++ b/src/objective-c/tests/TestBase.h @@ -38,7 +38,7 @@ + (NSString *)host; /** - * Bytes of overhead of test proto responses due to encoding. This is used to excercise the behavior + * Bytes of overhead of test proto responses due to encoding. This is used to exercise the behavior * when responses are just above or below the max response size. For some reason, the local and * remote servers enconde responses with different overhead (?), so this is defined per-subclass. */ diff --git a/src/php/ext/grpc/php_grpc.c b/src/php/ext/grpc/php_grpc.c index 6d66e790459..384f720c744 100644 --- a/src/php/ext/grpc/php_grpc.c +++ b/src/php/ext/grpc/php_grpc.c @@ -173,7 +173,7 @@ void prefork() { void postfork_child() { TSRMLS_FETCH(); - // loop through persistant list and destroy all underlying grpc_channel objs + // loop through persistent list and destroy all underlying grpc_channel objs destroy_grpc_channels(); // clear completion queue diff --git a/src/php/tests/qps/generated_code/Grpc/Testing/GaugeResponse.php b/src/php/tests/qps/generated_code/Grpc/Testing/GaugeResponse.php index da658ba1985..3969a708a06 100644 --- a/src/php/tests/qps/generated_code/Grpc/Testing/GaugeResponse.php +++ b/src/php/tests/qps/generated_code/Grpc/Testing/GaugeResponse.php @@ -9,7 +9,7 @@ use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** - * Reponse message containing the gauge name and value + * Response message containing the gauge name and value * * Generated from protobuf message grpc.testing.GaugeResponse */ diff --git a/src/proto/grpc/testing/messages.proto b/src/proto/grpc/testing/messages.proto index 4fed83fb389..cda7753c7aa 100644 --- a/src/proto/grpc/testing/messages.proto +++ b/src/proto/grpc/testing/messages.proto @@ -53,7 +53,7 @@ message EchoStatus { // the server via the "gRPCLB fallback" path, and "backend" if it detects // that the RPC reached the server via "gRPCLB backend" path (i.e. if it got // the address of this server from the gRPCLB server BalanceLoad RPC). Exactly -// how this detection is done is context and server dependant. +// how this detection is done is context and server dependent. enum GrpclbRouteType { // Server didn't detect the route that a client took to reach it. GRPCLB_ROUTE_TYPE_UNKNOWN = 0; diff --git a/src/proto/grpc/testing/metrics.proto b/src/proto/grpc/testing/metrics.proto index dd8abdaad5b..69504006431 100644 --- a/src/proto/grpc/testing/metrics.proto +++ b/src/proto/grpc/testing/metrics.proto @@ -22,7 +22,7 @@ syntax = "proto3"; package grpc.testing; -// Reponse message containing the gauge name and value +// Response message containing the gauge name and value message GaugeResponse { string name = 1; oneof value {