Fix various speeling issues
authorJean Baptiste Favre <debian@jbfavre.org>
Thu, 2 Nov 2023 16:00:26 +0000 (17:00 +0100)
committerJean Baptiste Favre <debian@jbfavre.org>
Thu, 2 Nov 2023 16:00:26 +0000 (17:00 +0100)
Forwarded: https://github.com/apache/trafficserver/pull/4750
Applied-Upstream: https://github.com/apache/trafficserver/commit/af0ad4a1880a21743e98331855bb78e15d5406ef
Last-Update: 2019-01-03

Last-Update: 2019-01-03
Gbp-Pq: Name 0012-fix-spelling-checks.patch

57 files changed:
build/pkg.m4
doc/admin-guide/files/ip_allow.config.en.rst
doc/admin-guide/files/parent.config.en.rst
doc/admin-guide/files/records.config.en.rst
doc/admin-guide/files/remap.config.en.rst
doc/admin-guide/files/storage.config.en.rst
doc/admin-guide/plugins/header_rewrite.en.rst
doc/appendices/command-line/traffic_ctl.en.rst
doc/developer-guide/api/functions/TSCacheRemove.en.rst
doc/developer-guide/api/functions/TSContSchedule.en.rst
doc/developer-guide/api/functions/TSHttpConnectWithPluginId.en.rst
doc/developer-guide/api/functions/TSHttpOverridableConfig.en.rst
doc/developer-guide/api/functions/TSHttpTxnErrorBodySet.en.rst
doc/developer-guide/api/functions/TSHttpTxnMilestoneGet.en.rst
doc/developer-guide/api/functions/TSHttpTxnServerIntercept.en.rst
doc/developer-guide/api/functions/TSIOBufferReader.en.rst
doc/developer-guide/api/functions/TSSslContext.en.rst
doc/developer-guide/api/functions/TSSslSession.en.rst
doc/developer-guide/api/functions/TSStat.en.rst
doc/developer-guide/api/functions/TSVConnReenable.en.rst
doc/developer-guide/api/functions/TSfwrite.en.rst
include/tscpp/util/TextView.h
iocore/cache/CacheHosting.cc
iocore/cache/CacheVol.cc
iocore/dns/SplitDNS.cc
iocore/eventsystem/IOBuffer.cc
iocore/eventsystem/I_IOBuffer.h
iocore/net/OCSPStapling.cc
iocore/net/Socks.cc
iocore/net/UnixUDPNet.cc
lib/records/RecHttp.cc
mgmt/Alarms.cc
mgmt/Rollback.cc
plugins/esi/lib/EsiProcessor.cc
plugins/esi/lib/Variables.cc
plugins/experimental/collapsed_forwarding/collapsed_forwarding.cc
plugins/experimental/fq_pacing/fq_pacing.c
plugins/experimental/header_normalize/header_normalize.cc
plugins/experimental/prefetch/plugin.cc
plugins/experimental/url_sig/url_sig.c
plugins/generator/generator.cc
plugins/header_rewrite/header_rewrite.cc
plugins/lua/ts_lua_transform.c
plugins/s3_auth/s3_auth.cc
proxy/ParentSelection.cc
proxy/hdrs/HdrHeap.cc
proxy/http/HttpSessionManager.cc
proxy/logging/LogBuffer.cc
proxy/logging/LogObject.cc
src/traffic_cache_tool/CacheTool.cc
src/traffic_crashlog/traffic_crashlog.cc
src/traffic_logstats/logstats.cc
src/traffic_manager/traffic_manager.cc
src/traffic_server/CoreUtils.h
src/traffic_server/InkAPITest.cc
src/tscore/ArgParser.cc
src/tscore/HostLookup.cc

index b7ca359a88a638e672a5b6cffc8fb30a168297c0..dd5a6313a5728dd12aa2e282361aae2bf195c14e 100644 (file)
@@ -53,7 +53,7 @@ fi[]dnl
 # to PKG_CHECK_MODULES(), but does not set variables or print errors.
 #
 # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-# only at the first occurence in configure.ac, so if the first place
+# only at the first occurrence in configure.ac, so if the first place
 # it's called might be skipped (such as if it is within an "if", you
 # have to call PKG_CHECK_EXISTS manually
 # --------------------------------------------------------------
index 2917c12663b8df923f8010a5da7a2b40aded2c7c..53fd76ecfb5a68e56b1c2f52859b9c66742ff820 100644 (file)
@@ -55,7 +55,7 @@ range with the lower and upper values equal to that IP address).
 The value of ``method`` is a string which must consist of either HTTP method names separated by the
 character '|' or the keyword literal ``ALL``. This keyword may omitted in which case it is treated
 as if it were ``method=ALL``. Methods can also be specified by having multiple instances of the
-``method`` keyword, each specifiying a single method. E.g., ``method=GET|HEAD`` is the same as
+``method`` keyword, each specifying a single method. E.g., ``method=GET|HEAD`` is the same as
 ``method=GET method=HEAD``. The method names are not validated which means non-standard method names
 can be specified.
 
@@ -104,7 +104,7 @@ If the entire subnet were to be denied, that would be::
 
    src_ip=123.45.6.0/24 action=ip_deny
 
-The following example allows to any upstream servers::
+The following example allows one to any upstream servers::
 
    dest_ip=0.0.0.0-255.255.255.255 action=ip_allow
 
index c6af59a62d9011ecf05f1d50debf4aac191a2f34..2f885045b58fb95ae0ad469c8a91591bddea66ac 100644 (file)
@@ -210,7 +210,7 @@ The following list shows the possible actions and their allowed values.
     - ``simple_retry`` - If the parent origin server returns a 404 response on a request
       a new parent is selected and the request is retried.  The number of retries is controlled
       by ``max_simple_retries`` which is set to 1 by default.
-    - ``unavailable_server_retry`` - If the parent returns a 503 response or if the reponse matches
+    - ``unavailable_server_retry`` - If the parent returns a 503 response or if the response matches
       a list of http 5xx responses defined in ``unavailable_server_retry_responses``, the currently selected
       parent is marked down and a new parent is selected to retry the request.  The number of
       retries is controlled by ``max_unavailable_server_retries`` which is set to 1 by default.
@@ -228,7 +228,7 @@ The following list shows the possible actions and their allowed values.
 
 ``max_simple_retries``
   By default the value for ``max_simple_retries`` is 1.  It may be set to any value in the range 1 to 5.
-  If ``parent_retry`` is set to ``simple_retry`` or ``both`` a 404 reponse
+  If ``parent_retry`` is set to ``simple_retry`` or ``both`` a 404 response
   from a parent origin server will cause the request to be retried using a new parent at most 1 to 5
   times as configured by ``max_simple_retries``.
 
@@ -236,7 +236,7 @@ The following list shows the possible actions and their allowed values.
 
 ``max_unavailable_server_retries``
   By default the value for ``max_unavailable_server_retries`` is 1.  It may be set to any value in the range 1 to 5.
-  If ``parent_retry`` is set to ``unavailable_server_retries`` or ``both`` a 503 reponse
+  If ``parent_retry`` is set to ``unavailable_server_retries`` or ``both`` a 503 response
   by default or any http 5xx response listed in the list ``unavailable_server_retry_responses`` from a parent origin server will
   cause the request to be retried using a new parent after first marking the current parent down.  The request
   will be retried at most 1 to 5 times as configured by ``max_unavailable_server_retries``.
index fc9aae122f407c00ec8a70d501ba05aa87159b24..d2d390f5a863cd90fc71ce5472ac1a4bdac4515b 100644 (file)
@@ -833,7 +833,7 @@ mptcp
    ===== ======================================================================
    Value Description
    ===== ======================================================================
-   ``0`` |TS| will buffer the request until the post body has been recieved and
+   ``0`` |TS| will buffer the request until the post body has been received and
          then send the request to the origin server.
    ``1`` Immediately return a ``100 Continue`` from |TS| without waiting for
          the post body.
@@ -1653,7 +1653,7 @@ Proxy User Variables
    connection=full     Full user agent connection :ref:`protocol tags <protocol_tags>`
    ==================  ===============================================================
 
-   Each paramater in the list must be separated by ``|`` or ``:``.  For example, ``for|by=uuid|proto`` is
+   Each parameter in the list must be separated by ``|`` or ``:``.  For example, ``for|by=uuid|proto`` is
    a valid value for this variable.  Note that the ``connection`` parameter is a non-standard extension to
    RFC 7239.  Also note that, while Traffic Server allows multiple ``by`` parameters for the same proxy, this
    is prohibited by RFC 7239. Currently, for the ``host`` parameter to provide the original host from the
@@ -1681,7 +1681,7 @@ Proxy User Variables
        information.
        See :ts:cv:`proxy.config.http.server_ports` for information on how to enable Proxy Protocol on a port.
 
-   See :ref:`proxy-protocol` for more discussion on how |TS| tranforms the `Forwarded: header.
+   See :ref:`proxy-protocol` for more discussion on how |TS| transforms the `Forwarded: header.
 
 .. ts:cv:: CONFIG proxy.config.http.normalize_ae INT 1
    :reloadable:
@@ -2387,7 +2387,7 @@ DNS
 
 .. ts:cv:: CONFIG proxy.config.dns.resolv_conf STRING /etc/resolv.conf
 
-   Allows to specify which ``resolv.conf`` file to use for finding resolvers. While the format of this file must be the same as the
+   Allows one to specify which ``resolv.conf`` file to use for finding resolvers. While the format of this file must be the same as the
    standard ``resolv.conf`` file, this option allows an administrator to manage the set of resolvers in an external configuration file,
    without affecting how the rest of the operating system uses DNS.
 
@@ -2654,7 +2654,7 @@ HostDB
    Set the frequency (in seconds) to sync hostdb to disk.
 
    Note: hostdb is syncd to disk on a per-partition basis (of which there are 64).
-   This means that the minumum time to sync all data to disk is :ts:cv:`proxy.config.cache.hostdb.sync_frequency` * 64
+   This means that the minimum time to sync all data to disk is :ts:cv:`proxy.config.cache.hostdb.sync_frequency` * 64
 
 Logging Configuration
 =====================
@@ -2988,7 +2988,7 @@ Diagnostic Logging Configuration
 
 .. ts:cv:: CONFIG proxy.config.diags.debug.tags STRING http|dns
 
-   Each |TS| `diag` and `debug` level message is annotated with a subsytem tag.  This configuration
+   Each |TS| `diag` and `debug` level message is annotated with a subsystem tag.  This configuration
    contains an anchored regular expression that filters the messages based on the tag. The
    expressions are prefix matched which creates an implicit ``.*`` at the end. Therefore the default
    value ``http|dns`` will match tags such as ``http``, ``http_hdrs``, ``dns``, and ``dns_recv``.
@@ -2996,7 +2996,7 @@ Diagnostic Logging Configuration
    Some commonly used debug tags are:
 
    ============  =====================================================
-   Tag           Subsytem usage
+   Tag           Subsystem usage
    ============  =====================================================
    dns           DNS query resolution
    http_hdrs     Logs the headers for HTTP requests and responses
@@ -3152,7 +3152,7 @@ SSL Termination
 .. ts:cv:: CONFIG proxy.config.ssl.client.groups_list STRING <See notes under proxy.config.ssl.server.groups_list.>
 
    Configures the list of supported groups provided by OpenSSL which
-   |TS| will use for the "key_share" and "supported groups" extention
+   |TS| will use for the "key_share" and "supported groups" extension
    of TLSv1.3 connections. The value is a colon separated list of
    group NIDs or names, for example "P-521:P-384:P-256". For
    instructions, see "Groups" section of `TLS1.3 - OpenSSLWiki <https://wiki.openssl.org/index.php/TLS1.3#Groups>`_.
@@ -3295,7 +3295,7 @@ SSL Termination
    ``0`` Disables the session cache entirely.
    ``1`` Enables the session cache using OpenSSL's implementation.
    ``2`` Default. Enables the session cache using |TS|'s implementation. This
-         implentation should perform much better than the OpenSSL
+         implementation should perform much better than the OpenSSL
          implementation.
    ===== ======================================================================
 
index bbd5f6dfccdc0d334b392f42203e4dee482fd55f..bd7ee3d21dae9288315e09ff1c56658aa9673562 100644 (file)
@@ -415,7 +415,7 @@ Acl Filters
 
 Acl filters can be created to control access of specific remap lines. The markup
 is very similar to that of :file:`ip_allow.config`, with slight changes to
-accomodate remap markup
+accommodate remap markup
 
 Examples
 --------
index 943dc94e22ac4591c6d9449582847781f7a64c1a..91b72b5e775844c7a5eae95fae00f55260b9ca9b 100644 (file)
@@ -92,7 +92,7 @@ which will effectively clear most of the cache. This can be problem when drives
 reboot causes the path names to change.
 
 The :arg:`id` option can be used to create a fixed string that an administrator can use to keep the
-assignment table consistent by maintaing the mapping from physical device to base string even in the presence of hardware changes and failures.
+assignment table consistent by maintaining the mapping from physical device to base string even in the presence of hardware changes and failures.
 
 Examples
 ========
index 2e6b89430922f8fad19c51bd3a9392960b7e8956..de105d3c9f7c1433e6690433dc1de4586d0c6842 100644 (file)
@@ -330,7 +330,7 @@ The data that can be checked is ::
    %{INBOUND:REMOTE-PORT}     The client port for the connection.
    %{INBOUND:TLS}             The TLS protocol if the connection is over TLS, otherwise the empty string.
    %{INBOUND:H2}              The string "h2" if the connection is HTTP/2, otherwise the empty string.
-   %{INBOUND:IPV4}            The string "ipv4" if the connection is IPv4, otherwise the emtpy string.
+   %{INBOUND:IPV4}            The string "ipv4" if the connection is IPv4, otherwise the empty string.
    %{INBOUND:IPV6}            The string "ipv6" if the connection is IPv6, otherwise the empty string.
    %{INBOUND:IP-FAMILY}       The IP family, either "ipv4" or "ipv6".
    %{INBOUND:STACK}           The full protocol stack separated by ','.
@@ -854,7 +854,7 @@ Variable                Description
 %<INBOUND:TLS>          The TLS protocol for the inbound connection if it is over TLS, otherwise the
                         empty string.
 %<INBOUND:H2>           The string "h2" if the inbound connection is HTTP/2, otherwise the empty string.
-%<INBOUND:IPV4>         The string "ipv4" if the inbound connection is IPv4, otherwise the emtpy string.
+%<INBOUND:IPV4>         The string "ipv4" if the inbound connection is IPv4, otherwise the empty string.
 %<INBOUND:IPV6>         The string "ipv6" if the inbound connection is IPv6, otherwise the empty string.
 %<INBOUND:IP-FAMILY>    The IP family of the inbound connection (either "ipv4" or "ipv6").
 %<INBOUND:STACK>        The full protocol stack of the inbound connection separated by ','.
index cbb7ab36f89016c2804b44152e42f00f02b449d7..1abe37cc5d7165448078e9d447ad95cb023ea79b 100644 (file)
@@ -255,7 +255,7 @@ traffic_ctl host
 .. program:: traffic_ctl host
 .. option:: status HOSTNAME [HOSTNAME ...]
 
-    Get the current status of the hosts used in parent.config as a next hop in a multi-tiered cache heirarchy.  The value 0 or 1 is returned indicating that the host is marked as down '0' or marked as up '1'.  If a host is marked as down, it will not be used as the next hop parent, another host marked as up will be chosen.
+    Get the current status of the hosts used in parent.config as a next hop in a multi-tiered cache hierarchy.  The value 0 or 1 is returned indicating that the host is marked as down '0' or marked as up '1'.  If a host is marked as down, it will not be used as the next hop parent, another host marked as up will be chosen.
 
 .. program:: traffic_ctl host
 .. option:: down --time seconds --reason 'active|local|manual' HOSTNAME [HOSTNAME ...]
index 73cfd7d20b79c594dce4251ed5e2accaad569af1..f5647d59a32c395cbb10909ee0f33ed157a826e2 100644 (file)
@@ -41,4 +41,4 @@ the cache calls :arg:`contp` back with the event
 In both of these callbacks, the user (:arg:`contp`) does not have to do
 anything.  The user does not get any vconnection from the cache, since
 no data needs to be transferred.  When the cache calls :arg:`contp` back with
-:data:`TS_EVENT_CACHE_REMOVE`, the remove has already been commited.
+:data:`TS_EVENT_CACHE_REMOVE`, the remove has already been committed.
index 27820cdcb5d539e97542f9531505e3b0bc2393e1..944a481402b37e5f6d6dca79f5ac972ccde40938 100644 (file)
@@ -32,7 +32,7 @@ Description
 ===========
 
 Schedules :arg:`contp` to run :arg:`delay` milliseconds in the future. This is approximate. The delay
-will be at least :arg:`delay` but possibly more. Resultions finer than roughly 5 milliseconds will
+will be at least :arg:`delay` but possibly more. Resolutions finer than roughly 5 milliseconds will
 not be effective. :arg:`contp` is required to have a mutex, which is provided to
 :func:`TSContCreate`.
 
index 88e805cb32874cd316438570601d1c5417ec16f5..0f6186f5ec99f9e292a514a1e9cf791b640a6361 100644 (file)
@@ -79,7 +79,7 @@ virtual connection.
 
 The combination of :arg:`tag` and :arg:`id` is intended to enable correlation
 in log post processing. The :arg:`tag` identifies the connection as related
-to the plugin and the :arg:`id` can be used in conjuction with plugin
+to the plugin and the :arg:`id` can be used in conjunction with plugin
 generated logs to correlate the log records.
 
 Notes
index 4ea4be412dcbcfaa9fe9c5877e23241a0fa3bc8f..c08925e016122174e55b30cdcfbdae47c72ba3c1 100644 (file)
@@ -43,7 +43,7 @@ Description
 
 Some of the values that are set in :file:`records.config` can be changed for a
 specific transaction. It is important to note that these functions change the
-configuration values stored for the transation, which is not quite the same as
+configuration values stored for the transaction, which is not quite the same as
 changing the actual operating values of the transaction. The critical effect is
 the value must be changed before it is used by the transaction - after that,
 changes will not have any effect.
index cee7207fbd26d87fbb172efeffdcb61a575a3b10..52fc4c01c71609a6d54144f79ff0ea64fd40386e 100644 (file)
@@ -36,4 +36,4 @@ Description
 Note that both string arguments must be allocated with :c:func:`TSmalloc` or
 :c:func:`TSstrdup`.  The :arg:`mimetype` is optional, and if not provided it
 defaults to :literal:`text/html`. Sending an empty string would prevent setting
-a content type header (but that is not adviced).
+a content type header (but that is not advised).
index 08fb5d34ee2de15583fa3da17b4c6f24aaf6d8af..1c0ee733053f9a940537e748a0bee1b57778bf36 100644 (file)
@@ -138,7 +138,7 @@ is successful.
 
        .. macro:: TS_MILESTONE_LAST_ENTRY
 
-               A psuedo index which is set to be one more than the last valid index. This is useful for looping over the data.
+               A pseudo index which is set to be one more than the last valid index. This is useful for looping over the data.
 
 
 *  The server connect times predate the transmission of the :literal:`SYN`
index a546aa3340304ae6f61b175be61df464f9bb59ce..bc70ecc588355278913f47b05605073d9c26e72b 100644 (file)
@@ -53,7 +53,7 @@ The response from the plugin is cached subject to standard and configured HTTP
 caching rules. Should the plugin wish the response not be cached, the plugin
 must use appropriate HTTP response headers to prevent caching. The primary
 purpose of :func:`TSHttpTxnServerIntercept` is allow plugins to provide gateways
-to other protocols or to allow to plugin to its own transport for the next hop
+to other protocols or to allow one to plugin to its own transport for the next hop
 to the server. :func:`TSHttpTxnServerIntercept` overrides parent cache
 configuration.
 
index 95919620c1d70ba0b0a688794950283503078f03..a5c5702f19e9b25649c2b25753fffe5317330fcf 100644 (file)
@@ -59,7 +59,7 @@ has two very important consequences --
 *  Conversely keeping a reader around unused will pin the buffer data in memory. This can be useful or harmful.
 
 A buffer has a fixed amount of possible readers (currently 5) which is determined at compile
-time. Reader allocation is fast and cheap until this maxium is reached at which point it fails.
+time. Reader allocation is fast and cheap until this maximum is reached at which point it fails.
 
 :func:`TSIOBufferReaderAlloc` allocates a reader for the IO buffer :arg:`bufp`. This should only be
       called on a newly allocated buffer. If not the location of the reader in the buffer will be
index e921d5bacf6b1573d5cd390a8f85dc82a2f21068..9337895a5251837feb7dfcfb858f022187be9f48 100644 (file)
@@ -36,11 +36,11 @@ Description
 ===========
 
 :func:`TSSslContextFindByName` searches for a SSL server context
-created from :file:`ssl_multicert.config`, matching against the
+created from :file:`ssl_multicert.config`, matchingg against the
 server :arg:`name`.
 
 :func:`TSSslContextFindByAddr` searches for a SSL server context
-created from :file:`ssl_multicert.config` matchin against the server
+created from :file:`ssl_multicert.config` matching against the server
 :arg:`address`.
 
 
index ebf9fccd30ad411c8cdb8ddc18964f726e96c8b2..321f34fc94266b76b043540584e057d2fb861fce 100644 (file)
@@ -46,7 +46,7 @@ The functions also work with the :type:`TSSslSession` object which can be cast t
 
 These functions perform the appropriate locking on the session cache to avoid errors.
 
-The :func:`TSSslSessionGet` and :func:`TSSslSessionGetBuffer` functions retreive the :type:`TSSslSession` object that is identifed by the
+The :func:`TSSslSessionGet` and :func:`TSSslSessionGetBuffer` functions retrieve the :type:`TSSslSession` object that is identifed by the
 :type:`TSSslSessionID` object.  If there is no matching sesion object, :func:`TSSslSessionGet` returns NULL and :func:`TSSslSessionGetBuffer`
 returns 0.
 
index 43d585fa2d7168b82efed75608c7f4b9eff67f96..64b539f2bbc0e60ca55a94ed3c5ab0b8b65a3c26 100644 (file)
@@ -46,9 +46,9 @@ Description
 
 A plugin statistic is created by :func:`TSStatCreate`. The :arg:`name` must be globally unique and
 should follow the standard dotted tag form. To avoid collisions and for easy of use the first tag
-should be the plugin name or something easily derived from it. Currently only integers are suppored
+should be the plugin name or something easily derived from it. Currently only integers are supported
 therefore :arg:`type` must be :macro:`TS_RECORDDATATYPE_INT`. The return value is the index of the
-statistic. In general thsi should work but if it doesn't it will :code:`assert`. In particular,
+statistic. In general this should work but if it doesn't it will :code:`assert`. In particular,
 creating the same statistic twice will fail in this way, which can happen if statistics are created
 as part of or based on configuration files and |TS| is reloaded.
 
index 847c69017609da0d24a0aa0d77a681ff5a70e993..8ac6e0c25ff1e542977f376e0e2b99f490641072 100644 (file)
@@ -32,7 +32,7 @@ Description
 ===========
 
 Reenable the SSL connection :arg:`svc`. If a plugin hook is called, ATS
-processing on that connnection will not resume until this is invoked for that
+processing on that connection will not resume until this is invoked for that
 connection.
 
 If the server is running OpenSSL 1.0.1 with the appropraite patch installed or
index 30b33aec8acff87191550ebce3282976426e9354..3b064ace9dbd7f01ee91c7024da83d387fa5dd73 100644 (file)
@@ -44,4 +44,4 @@ The behavior is undefined if length is greater than SSIZE_MAX.
 Return Value
 ============
 
-Returns the number of bytes actually written, or -1 if an error occured.
+Returns the number of bytes actually written, or -1 if an error occurred.
index 1ab8bd2f6c1f2e228a7c7351e311baa9556eebfe..f9c9aeace4dad0667d492d2a2de58b3bcc28ea1c 100644 (file)
@@ -265,7 +265,7 @@ public:
   self_type prefix(size_t n) const;
   /// Convenience overload to avoid ambiguity for literal numbers.
   self_type prefix(int n) const;
-  /** Get the prefix delimited by the first occurence of the character @a c.
+  /** Get the prefix delimited by the first occurrence of the character @a c.
 
       If @a c is not found the entire view is returned.
       The delimiter character is not included in the returned view.
@@ -273,7 +273,7 @@ public:
       @return A view of the prefix.
   */
   self_type prefix(char c) const;
-  /** Get the prefix delimited by the first occurence of a character in @a delimiters.
+  /** Get the prefix delimited by the first occurrence of a character in @a delimiters.
 
       If no such character is found the entire view is returned.
       The delimiter character is not included in the returned view.
index e7895b37f54ccbd962615729a1b7df7fb1e6b3c5..08573d7cdfc0551f404d6197e3001fc4aebb0183 100644 (file)
@@ -715,7 +715,7 @@ ConfigVolumes::BuildListFromString(char *config_file_path, char *file_buf)
           // added by YTS Team, yamsat for bug id 59632
           total += size;
           if (size > 100 || total > 100) {
-            err = "Total volume size added upto more than 100 percent, No volumes created";
+            err = "Total volume size added up to more than 100 percent, No volumes created";
             break;
           }
           // ends here
index 98009a459f7358c63f989125153ce5f5fb8ed303..113ca523eb7de2616660972bfcbbd23694216d06 100644 (file)
@@ -400,7 +400,7 @@ CacheVC::scanOpenWrite(int /* event ATS_UNUSED */, Event * /* e ATS_UNUSED */)
   // get volume lock
   if (writer_lock_retry > SCAN_WRITER_LOCK_MAX_RETRY) {
     int r = _action.continuation->handleEvent(CACHE_EVENT_SCAN_OPERATION_BLOCKED, nullptr);
-    Debug("cache_scan", "still havent got the writer lock, asking user..");
+    Debug("cache_scan", "still haven't got the writer lock, asking user..");
     switch (r) {
     case CACHE_SCAN_RESULT_RETRY:
       writer_lock_retry = 0;
index c139e827d8e9420de09ee71dd8b6aeb7d8b12555..65b36b530baec25f0a8c92eac5c3b4bddd7b4f00 100644 (file)
@@ -339,7 +339,7 @@ SplitDNSRecord::ProcessDNSHosts(char *val)
       if (tmp - current > (MAXDNAME - 1)) {
         return "DNS server name (ip) is too long";
       } else if (tmp - current == 0) {
-        return "server string is emtpy";
+        return "server string is empty";
       }
       *tmp = 0;
     }
index b56b82587de5d0c880f1e06e8c6e34f4dc4165dd..22cb9b74bcd8fe752e7b95a2df09a763e836eac0 100644 (file)
@@ -182,7 +182,7 @@ MIOBuffer::puts(char *s, int64_t len)
     }
     if (!*pb || *pb == '\n') {
       int64_t n = (int64_t)(pb - s);
-      memcpy(end(), s, n + 1); // Upto and including '\n'
+      memcpy(end(), s, n + 1); // Up to and including '\n'
       end()[n + 1] = 0;
       fill(n + 1);
       return n + 1;
index ebef0580fd128c63852aca84e000e82cf22114e0..7934f2e271f7c50d6763cfb353b35c8a276f5c14 100644 (file)
@@ -680,7 +680,7 @@ public:
   /**
     Perform a memchr() across the list of IOBufferBlocks. Returns the
     offset from the current start point of the reader to the first
-    occurence of character 'c' in the buffer.
+    occurrence of character 'c' in the buffer.
 
     @param c character to look for.
     @param len number of characters to check. If len exceeds the number
index 3123e86799549ef9970401183de94a73132ea04f..4e96c3f9f0b55b8d5e9934cfeecd1290fc069779 100644 (file)
@@ -99,7 +99,7 @@ stapling_get_issuer(SSL_CTX *ssl_ctx, X509 *x)
 
 #ifdef SSL_CTX_select_current_cert
   if (!SSL_CTX_select_current_cert(ssl_ctx, x)) {
-    Warning("OCSP: could not select current certifcate chain %p", x);
+    Warning("OCSP: could not select current certificate chain %p", x);
   }
 #endif
 
index e1915f2dc95d7fc709f1228dadc890f3746c923f..a1a59999b9617db658bebb377cbdd74fe87552f0 100644 (file)
@@ -694,7 +694,7 @@ socks5PasswdAuthHandler(int event, unsigned char *p, void (**h_ptr)(void))
     // NEC thinks it is 5 RFC seems to indicate 1.
     switch (p[1]) {
     case 0:
-      Debug("Socks", "Username/Passwd succeded");
+      Debug("Socks", "Username/Passwd succeeded");
       *h_ptr = nullptr;
       break;
 
index 326cfd846db5e0fac3dc384e84008e20d4a57602..08b8aea71b8b7f6a1917a7146a874ece4184def2 100644 (file)
@@ -628,7 +628,7 @@ UDPNetProcessor::CreateUDPSocket(int *resfd, sockaddr const *remote_addr, Action
     }
 
     if (safe_getsockname(fd, &local_addr.sa, &local_addr_len) < 0) {
-      Debug("udpnet", "CreateUdpsocket: getsockname didnt' work");
+      Debug("udpnet", "CreateUdpsocket: getsockname didn't work");
       goto HardError;
     }
   }
index f3e503964b43e5c9af2123443a4179555c1fb3aa..23a992ba9123c70088035684dbc4b013ab574cd0 100644 (file)
@@ -435,7 +435,7 @@ HttpProxyPort::processOptions(const char *opts)
     if (in_ip_set_p && m_family != m_inbound_ip.family()) {
       std::string_view iname{ats_ip_family_name(m_inbound_ip.family())};
       std::string_view fname{ats_ip_family_name(m_family)};
-      Warning("Invalid port descriptor '%s' - the inbound adddress family [%.*s] is not the same type as the explicit family value "
+      Warning("Invalid port descriptor '%s' - the inbound address family [%.*s] is not the same type as the explicit family value "
               "[%.*s]",
               opts, static_cast<int>(iname.size()), iname.data(), static_cast<int>(fname.size()), fname.data());
       zret = false;
index 0ab514ddff33d5dab87a05f36eeb7fd85c3ea4c4..5f7bb845689819eb19388a384a86cd0a993850f9 100644 (file)
@@ -297,7 +297,7 @@ Alarms::signalAlarm(alarm_t a, const char *desc, const char *ip)
     (*(func))(a, ip, desc);
   }
 
-  /* Priority 2 alarms get signalled if they are the first unsolved occurence. */
+  /* Priority 2 alarms get signalled if they are the first unsolved occurrence. */
   if (priority == 2 && !ip) {
     execAlarmBin(desc);
   }
index 11321dff6680e5166e5d492c6936e0d721a9c38d..a7d22ec01c9acf419aac534b2823b6100d6dbe6f 100644 (file)
@@ -133,7 +133,7 @@ Rollback::Rollback(const char *fileName_, bool root_access_needed_, Rollback *pa
           mgmt_log("[RollBack::Rollback] Automatic Rollback to prior version failed for %s : %s\n", fileName, strerror(errno));
           needZeroLength = true;
         } else {
-          mgmt_log("[RollBack::Rollback] Automatic Rollback to version succeded for %s\n", fileName, strerror(errno));
+          mgmt_log("[RollBack::Rollback] Automatic Rollback to version succeeded for %s\n", fileName, strerror(errno));
           needZeroLength = false;
           highestSeen--;
           // Since we've made the highestVersion active
index bb74e5a634abd47b664f4dca5fa31468aacc0942..272c3ef102a4d51f588911cc9df785f9fdbeca8b 100644 (file)
@@ -305,7 +305,7 @@ EsiProcessor::process(const char *&data, int &data_len)
 
     /* FAILURE CACHE */
     FailureData *data = static_cast<FailureData *>(pthread_getspecific(threadKey));
-    _debugLog("plugin_esi_failureInfo", "[%s]Fetched data related to thread specfic %p", __FUNCTION__, data);
+    _debugLog("plugin_esi_failureInfo", "[%s]Fetched data related to thread specific %p", __FUNCTION__, data);
 
     for (iter = try_iter->attempt_nodes.begin(); iter != try_iter->attempt_nodes.end(); ++iter) {
       if ((iter->type == DocNode::TYPE_INCLUDE) || iter->type == DocNode::TYPE_SPECIAL_INCLUDE) {
@@ -342,7 +342,7 @@ EsiProcessor::process(const char *&data, int &data_len)
       }
     }
     if (attempt_succeeded) {
-      _debugLog(_debug_tag, "[%s] attempt section succeded; using attempt section", __FUNCTION__);
+      _debugLog(_debug_tag, "[%s] attempt section succeeded; using attempt section", __FUNCTION__);
       _node_list.splice(try_iter->pos, try_iter->attempt_nodes);
     } else {
       _debugLog(_debug_tag, "[%s] attempt section errored; trying except section", __FUNCTION__);
@@ -436,7 +436,7 @@ EsiProcessor::flush(string &data, int &overall_len)
 
     /* FAILURE CACHE */
     FailureData *fdata = static_cast<FailureData *>(pthread_getspecific(threadKey));
-    _debugLog("plugin_esi_failureInfo", "[%s]Fetched data related to thread specfic %p", __FUNCTION__, fdata);
+    _debugLog("plugin_esi_failureInfo", "[%s]Fetched data related to thread specific %p", __FUNCTION__, fdata);
 
     for (iter = try_iter->attempt_nodes.begin(); iter != try_iter->attempt_nodes.end(); ++iter) {
       if ((iter->type == DocNode::TYPE_INCLUDE) || iter->type == DocNode::TYPE_SPECIAL_INCLUDE) {
@@ -473,7 +473,7 @@ EsiProcessor::flush(string &data, int &overall_len)
       }
     }
     if (attempt_succeeded) {
-      _debugLog(_debug_tag, "[%s] attempt section succeded; using attempt section", __FUNCTION__);
+      _debugLog(_debug_tag, "[%s] attempt section succeeded; using attempt section", __FUNCTION__);
       _n_prescanned_nodes = _n_prescanned_nodes + try_iter->attempt_nodes.size();
       _node_list.splice(try_iter->pos, try_iter->attempt_nodes);
     } else {
index ca30485771504000412fd7f5945e6856ce263da1..adec87e72e1a37c62dd73b18da59dbfdabe9720b 100644 (file)
@@ -437,18 +437,18 @@ Variables::_parseDictVariable(const std::string &variable, const char *&header,
   for (int i = 0; i < (var_size - 1); ++i) {
     if (variable[i] == '{') {
       if (paranth_index != -1) {
-        _debugLog(_debug_tag, "[%s] Cannot have multiple paranthesis in dict variable [%.*s]", __FUNCTION__, var_size, var_ptr);
+        _debugLog(_debug_tag, "[%s] Cannot have multiple parenthesis in dict variable [%.*s]", __FUNCTION__, var_size, var_ptr);
         return false;
       }
       paranth_index = i;
     }
     if (variable[i] == '}') {
-      _debugLog(_debug_tag, "[%s] Cannot have multiple paranthesis in dict variable [%.*s]", __FUNCTION__, var_size, var_ptr);
+      _debugLog(_debug_tag, "[%s] Cannot have multiple parenthesis in dict variable [%.*s]", __FUNCTION__, var_size, var_ptr);
       return false;
     }
   }
   if (paranth_index == -1) {
-    _debugLog(_debug_tag, "[%s] Could not find opening paranthesis in variable [%.*s]", __FUNCTION__, var_size, var_ptr);
+    _debugLog(_debug_tag, "[%s] Could not find opening parenthesis in variable [%.*s]", __FUNCTION__, var_size, var_ptr);
     return false;
   }
   if (paranth_index == 0) {
index 9e4d41ed2ba6e8ddbeaa24b21fee80e9ded4eb3a..d9165bed6ff4553eae29a4b4d0b7271a5a1cc79f 100644 (file)
@@ -353,7 +353,7 @@ TSRemapInit(TSRemapInterface * /* api_info */, char * /* errbuf */, int /* errbu
     TSError("Cannot initialize %s as both global and remap plugin", DEBUG_TAG);
     return TS_ERROR;
   } else {
-    TSDebug(DEBUG_TAG, "plugin is succesfully initialized for remap");
+    TSDebug(DEBUG_TAG, "plugin is successfully initialized for remap");
     return TS_SUCCESS;
   }
 }
index 297e23fbd7cbff520d6aed8367f28d18bc065b12..b38a433fb28dff87ab692fe6269b0396d422ff49 100644 (file)
@@ -118,7 +118,7 @@ TSRemapInit(TSRemapInterface *api_info, char *errbuf, int errbuf_size)
     return TS_ERROR;
   }
 
-  TSDebug(PLUGIN_NAME, "plugin is succesfully initialized");
+  TSDebug(PLUGIN_NAME, "plugin is successfully initialized");
   return TS_SUCCESS;
 }
 
index 1dddf3565be84c177348d88b52783b910ca64e8c..d408ed5fdfe6477a0eea1ae4c46eb638eb894691 100644 (file)
@@ -158,7 +158,7 @@ TSRemapInit(TSRemapInterface *api_info, char *errbuf, int errbuf_size)
     return TS_ERROR;
   }
   buildHdrMap();
-  TSDebug(PLUGIN_NAME, "plugin is succesfully initialized");
+  TSDebug(PLUGIN_NAME, "plugin is successfully initialized");
   return TS_SUCCESS;
 }
 
index 1c16ae082b384825b4025f433125d4fb54eab647..e71d039695a6ea54d1e01764466ea7422fa2ea54 100644 (file)
@@ -202,7 +202,7 @@ evaluate(const String &v)
   } else {
     stmt.assign(v);
   }
-  PrefetchDebug("statement: '%s', formating length: %zu", stmt.c_str(), len);
+  PrefetchDebug("statement: '%s', formatting length: %zu", stmt.c_str(), len);
 
   int result = 0;
   pos        = stmt.find_first_of("+-");
index ef9b6132e41c7201974eac15026ae12fa61cf226..a829494327388ee1d03352227ec34a010d59cc22 100644 (file)
@@ -98,7 +98,7 @@ TSRemapInit(TSRemapInterface *api_info, char *errbuf, int errbuf_size)
     return TS_ERROR;
   }
 
-  TSDebug(PLUGIN_NAME, "plugin is succesfully initialized");
+  TSDebug(PLUGIN_NAME, "plugin is successfully initialized");
   return TS_SUCCESS;
 }
 
index 276313a75a23ab0b78e0e16909e66588ce3a7ef2..5f282cd689179980ffd1c9f725c73d8af030dc6a 100644 (file)
@@ -609,7 +609,7 @@ GeneratorTxnHook(TSCont contp, TSEvent event, void *edata)
     TSReleaseAssert(TSHttpTxnCacheLookupStatusGet(arg.txn, &status) == TS_SUCCESS);
     if (status != TS_CACHE_LOOKUP_HIT_FRESH) {
       // This transaction is going to be a cache miss, so intercept it.
-      VDEBUG("intercepting orgin server request for txn=%p", arg.txn);
+      VDEBUG("intercepting origin server request for txn=%p", arg.txn);
       TSHttpTxnServerIntercept(TSContCreate(GeneratorInterceptionHook, TSMutexCreate()), arg.txn);
     }
 
index c6b68a69814fb19a0dce5248af49dae70e5ad6a5..dca484de6f20f741ef0220d78bc5ebccd8cfd69d 100644 (file)
@@ -345,7 +345,7 @@ TSPluginInit(int argc, const char *argv[])
     // just appended to the configurations.
     TSDebug(PLUGIN_NAME, "Loading global configuration file %s", argv[i]);
     if (conf->parse_config(argv[i], TS_HTTP_READ_RESPONSE_HDR_HOOK)) {
-      TSDebug(PLUGIN_NAME, "Succesfully loaded global config file %s", argv[i]);
+      TSDebug(PLUGIN_NAME, "Successfully loaded global config file %s", argv[i]);
       got_config = true;
     } else {
       TSError("[header_rewrite] failed to parse configuration file %s", argv[i]);
@@ -416,7 +416,7 @@ TSRemapNewInstance(int argc, char *argv[], void **ih, char * /* errbuf ATS_UNUSE
       delete conf;
       return TS_ERROR;
     } else {
-      TSDebug(PLUGIN_NAME, "Succesfully loaded remap config file %s", argv[i]);
+      TSDebug(PLUGIN_NAME, "Successfully loaded remap config file %s", argv[i]);
     }
   }
 
index 56c27fc51bdddf333fc62ea0a03d35a8b2ee8670..57da47d727c4a45111e80f9304332a10a49c10bd 100644 (file)
@@ -89,7 +89,7 @@ ts_lua_transform_handler(TSCont contp, ts_lua_http_transform_ctx *transform_ctx,
   empty_input = 0;
   if (!TSVIOBufferGet(input_vio)) {
     if (transform_ctx->output.vio) {
-      TSDebug(TS_LUA_DEBUG_TAG, "[%s] reenabling ouput VIO after input VIO does not exist", __FUNCTION__);
+      TSDebug(TS_LUA_DEBUG_TAG, "[%s] reenabling output VIO after input VIO does not exist", __FUNCTION__);
       TSVIONBytesSet(transform_ctx->output.vio, transform_ctx->total);
       TSVIOReenable(transform_ctx->output.vio);
       return 0;
index 12edccca2cc8e8b254fd9719b9ac6dd890ea0398..10038f9f39766d04a4350b22e264f521ee0ad2c1 100644 (file)
@@ -869,7 +869,7 @@ event_handler(TSCont cont, TSEvent event, void *edata)
     }
 
     if (TS_HTTP_STATUS_OK == status) {
-      TSDebug(PLUGIN_NAME, "Succesfully signed the AWS S3 URL");
+      TSDebug(PLUGIN_NAME, "Successfully signed the AWS S3 URL");
     } else {
       TSDebug(PLUGIN_NAME, "Failed to sign the AWS S3 URL, status = %d", status);
       TSHttpTxnStatusSet(txnp, status);
index 505983b273c924279f6f4a21b696c82315da327d..12bc53c16c77ed148b8f597bdebd644ea8422816 100644 (file)
@@ -517,7 +517,7 @@ ParentRecord::ProcessParents(char *val, bool isPrimary)
       errPtr = "Parent hostname is too long";
       goto MERROR;
     } else if (tmp - current == 0) {
-      errPtr = "Parent string is emtpy";
+      errPtr = "Parent string is empty";
       goto MERROR;
     }
     // Update the pRecords
index 9268104a9479ca00ed8c678eaedc09834499bac5..57114477e1d0bb0bd697de0bcef14fbc4b82b9a1 100644 (file)
@@ -965,7 +965,7 @@ HdrHeap::unmarshal(int buf_length, int obj_type, HdrHeapObjImpl **found_obj, Ref
       // Nothing to do
       break;
     default:
-      fprintf(stderr, "WARNING: Unmarshal failed due to unknow obj type %d after %d bytes", (int)obj->m_type,
+      fprintf(stderr, "WARNING: Unmarshal failed due to unknown obj type %d after %d bytes", (int)obj->m_type,
               (int)(obj_data - (char *)this));
       dump_heap(unmarshal_size);
       return -1;
index 5d573cc2a4907f8fa80f8fbc0d764d216be85a48..81fc85696fbd3bb268c5e37dcc4d314f463d0830 100644 (file)
@@ -204,7 +204,7 @@ ServerSessionPool::eventHandler(int event, void *data)
         if (connection_count_below_min) {
           Debug("http_ss",
                 "[%" PRId64 "] [session_bucket] session received io notice [%s], "
-                "reseting timeout to maintain minimum number of connections",
+                "resetting timeout to maintain minimum number of connections",
                 s->con_id, HttpDebugNames::get_event_name(event));
           s->get_netvc()->set_inactivity_timeout(s->get_netvc()->get_inactivity_timeout());
           s->get_netvc()->set_active_timeout(s->get_netvc()->get_active_timeout());
index 2b2d1b192b6a2decbc4017de1a03425426665c39..d96e58176ae8af986bc113580dfefeed895f72a0 100644 (file)
@@ -270,7 +270,7 @@ LogBuffer::checkout_write(size_t *write_offset, size_t write_size)
       }
 
       if (switch_state(old_s, new_s)) {
-        // we succeded in setting the new state
+        // we succeeded in setting the new state
         break;
       }
     }
index 10dfcc1bbebd1f45c23635489192ee51b2b0b02b..55592d41ffb27e7b324040ea9558d83d48cef12f 100644 (file)
@@ -421,7 +421,7 @@ LogObject::_checkout_write(size_t *write_offset, size_t bytes_needed)
 
     switch (result_code) {
     case LogBuffer::LB_OK:
-      // checkout succeded
+      // checkout succeeded
       retry = false;
       break;
 
index a7b5abe882fae74228949450fdd6d9f2e8413b85..8bd01da7edcaed8dd8b1b94ee4545f5a6fdcf916 100644 (file)
@@ -869,7 +869,7 @@ Span::updateHeader()
       zret.push(0, errno, "Failed to update span - ", strerror(errno));
     }
   } else {
-    std::cout << "Writing not enabled, no updates perfomed" << std::endl;
+    std::cout << "Writing not enabled, no updates performed" << std::endl;
   }
   return zret;
 }
index c2848f9491efca3ac11ecd49d47f77c3dcd5b986..42aff7aebf96653810ceaef5fd1d8a55e772c4c7 100644 (file)
@@ -198,7 +198,7 @@ main(int /* argc ATS_UNUSED */, const char **argv)
   mgmterr = TSInit(nullptr, (TSInitOptionT)(TS_MGMT_OPT_NO_EVENTS | TS_MGMT_OPT_NO_SOCK_TESTS));
   if (mgmterr != TS_ERR_OKAY) {
     char *msg = TSGetErrorMessage(mgmterr);
-    Warning("failed to intialize management API: %s", msg);
+    Warning("failed to initialize management API: %s", msg);
     TSfree(msg);
   }
 
index 0edacfbb8a88899bec77c10ef3001f076137d43f..5fb788a1fdd6c073ed0895854be583be0ea2af8c 100644 (file)
@@ -1839,7 +1839,7 @@ process_file(int in_fd, off_t offset, unsigned max_age)
     unsigned second_read_size = sizeof(LogBufferHeader) - first_read_size;
     nread                     = read(in_fd, &buffer[first_read_size], second_read_size);
     if (!nread || EOF == nread) {
-      Debug("logstats", "Second read of header failed (attemped %d bytes at offset %d, got nothing), errno=%d.", second_read_size,
+      Debug("logstats", "Second read of header failed (attempted %d bytes at offset %d, got nothing), errno=%d.", second_read_size,
             first_read_size, errno);
       return 1;
     }
index f1d47f0e0729a6c35dd374fd9cbbef249e9622e5..95bad2aea9c6a8dd2581d51ef53fec71c8a669d5 100644 (file)
@@ -142,7 +142,7 @@ rotateLogs()
     if (kill(tspid, SIGUSR2) != 0) {
       mgmt_log("Could not send SIGUSR2 to TS: %s", strerror(errno));
     } else {
-      mgmt_log("Succesfully sent SIGUSR2 to TS!");
+      mgmt_log("Successfully sent SIGUSR2 to TS!");
     }
   }
 }
index f4817290523e8a32bd30acd728a7bab6a3663eb1..2a1000bc3e316cac9880b01e94ba09955fed391c 100644 (file)
@@ -44,7 +44,7 @@
 #define PC_REGNUM 12 /* Contains program counter EIP */
 #define FP_REGNUM 5  /* Virtual frame pointer EBP */
 #define NO_OF_ARGS                                             \
-  10 /* The argument depth upto which we would be looking into \
+  10 /* The argument depth up to which we would be looking into \
         the stack */
 
 // contains local and in registers, frame pointer, and stack base
@@ -63,7 +63,7 @@ struct core_stack_state {
 #include <assert.h>
 
 #define NO_OF_ARGS                                             \
-  10 /* The argument depth upto which we would be looking into \
+  10 /* The argument depth up to which we would be looking into \
         the stack */
 
 // contains local and in registers, frame pointer, and stack base
index b56fd553f8abfdaa844042edae985151ce913ee6..a544938203fc9092209d339f23d4af578367852e 100644 (file)
@@ -4243,7 +4243,7 @@ REGRESSION_TEST(SDK_API_TSHttpHdr)(RegressionTest *test, int /* atype ATS_UNUSED
         SDK_RPRINT(test, "TSHttpHdrUrlSet&Get", "TestCase1", TC_FAIL, "TSHttpHdrUrlSet returns TS_ERROR");
       } else {
         if (TSHttpHdrUrlGet(bufp1, hdr_loc1, &url_loc_Get) != TS_SUCCESS) {
-          SDK_RPRINT(test, "TSHttpHdrUrlSet&Get", "TestCase1", TC_FAIL, "TSHttpHdrUrlGet retuns TS_ERROR");
+          SDK_RPRINT(test, "TSHttpHdrUrlSet&Get", "TestCase1", TC_FAIL, "TSHttpHdrUrlGet returns TS_ERROR");
         } else {
           if (url_loc == url_loc_Get) {
             SDK_RPRINT(test, "TSHttpHdrUrlSet&Get", "TestCase1", TC_PASS, "ok");
index 6b41bb60d4d21361338ce9fd431c2f84e046d6c1..1a5c8be0c4f3c40dcd1327752c9d03d3fcad2e94 100644 (file)
@@ -154,7 +154,7 @@ ArgParser::parse(const char **argv)
   };
   // if there is anything left, then output usage
   if (!args.empty()) {
-    std::string msg = "Unkown command, option or args:";
+    std::string msg = "Unknown command, option or args:";
     for (auto it : args) {
       msg = msg + " '" + it + "'";
     }
index 8d9abcc2b1efab1391f84e81929a5510a0364395..b11c25934c66a949aecf7a4fb89c6c41415ab2cb 100644 (file)
@@ -50,7 +50,7 @@ domaincmp(const char *hostname, const char *domain)
   const char *host_cur   = hostname + strlen(hostname);
   const char *domain_cur = domain + strlen(domain);
 
-  // Check to see if were passed emtpy stings for either
+  // Check to see if were passed empty stings for either
   //  argument.  Empty strings do not match anything
   //
   if (domain_cur == domain || host_cur == hostname) {
@@ -380,7 +380,7 @@ charIndex::Insert(const char *match_data, HostBranch *toInsert)
 
     // Check to see if are at the level we supposed be at
     if (*(match_data + 1) == '\0') {
-      // The slot should always be emtpy, no duplicate
+      // The slot should always be empty, no duplicate
       //   keys are allowed
       ink_assert(cur->branch_array[index] == nullptr);
       cur->branch_array[index] = toInsert;