This is an automated email from the ASF dual-hosted git repository.
rrm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new efe823c Fixes spelling in miscellaneous files
efe823c is described below
commit efe823c6811a375c57749e89f0d5487897c21263
Author: Randall Meyer <[email protected]>
AuthorDate: Tue Apr 30 07:18:51 2019 -0700
Fixes spelling in miscellaneous files
in configs, contrib, doc, example and tools
---
README | 6 +++---
ci/docker/yum/Dockerfile | 2 +-
configs/logging.yaml.default | 2 +-
contrib/install_trafficserver.sh | 2 +-
contrib/python/compare_RecordsConfigcc.py | 2 +-
doc/admin-guide/plugins/prefetch.en.rst | 2 +-
doc/developer-guide/core-architecture/rpc.en.rst | 2 +-
doc/uml/RPC-sequence-diagram.uml | 4 ++--
doc/uml/RPC-states.uml | 2 +-
example/response_header_1/response_header_1.c | 2 +-
example/thread_pool/psi.c | 2 +-
example/thread_pool/test/SDKTest/psi_server.c | 2 +-
tools/compare_servers.pl | 2 +-
tools/http_load/http_load.c | 2 +-
tools/http_load/merge_stats.pl | 2 +-
tools/jtest/README.zh.md | 4 ++--
tools/jtest/jtest.cc | 8 ++++----
tools/traffic_primer | 4 ++--
18 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/README b/README
index 1a5f545..707c767 100644
--- a/README
+++ b/README
@@ -11,13 +11,13 @@ plugins to build large scale web applications.
|-- ci/ ................... Quality assurance and other CI tools and configs
|-- configs/ .............. Configurations
|-- contrib/ .............. Various contributed auxiliary pieces
- |-- doc/ .................. Documentations for Traffic Server
+ |-- doc/ .................. Documentation for Traffic Server
|-- admin-guide/ ...... Admin guide documentations
|-- appendices/ ....... Appendices of Traffic Server
- |-- developer-guide/ .. Documentaions for developers
+ |-- developer-guide/ .. Documentation for developers
|-- dot/ .............. Graphviz source files for docs pictures
|-- static/ ........... Static resources
- |-- uml/ .............. Documentations in UML
+ |-- uml/ .............. Documentation in UML
|-- example/ .............. Example plugins
|-- iocore/ ...............
|-- aio/ .............. Asynchronous I/O core
diff --git a/ci/docker/yum/Dockerfile b/ci/docker/yum/Dockerfile
index eeff9ca..774fa26 100644
--- a/ci/docker/yum/Dockerfile
+++ b/ci/docker/yum/Dockerfile
@@ -21,7 +21,7 @@
# limitations under the License.
################################################################################
-# These can (should?) be overriden from the command line with ----build-arg,
e.g.
+# These can (should?) be overridden from the command line with ----build-arg,
e.g.
# docker build --build-arg OS_VERSION=7 --build-arg OS_TYPE=centos
#
ARG OS_VERSION=28
diff --git a/configs/logging.yaml.default b/configs/logging.yaml.default
index ea593ee..da116d6 100644
--- a/configs/logging.yaml.default
+++ b/configs/logging.yaml.default
@@ -3,7 +3,7 @@
# Documentation on logging:
#
https://docs.trafficserver.apache.org/en/8.0.x/admin-guide/logging/index.en.html
#
-# Documentaion on logging.yaml file format:
+# Documentation on logging.yaml file format:
#
https://docs.trafficserver.apache.org/en/8.0.x/admin-guide/files/logging.yaml.en.html
#
# Example log configurations:
diff --git a/contrib/install_trafficserver.sh b/contrib/install_trafficserver.sh
index e826943..4223efa 100644
--- a/contrib/install_trafficserver.sh
+++ b/contrib/install_trafficserver.sh
@@ -136,7 +136,7 @@ function dev() {
git clone git://git.apache.org/trafficserver.git
cd $EC2_EPHEMERAL/$trafficserver
- #swtich to dev build
+ #switch to dev build
git checkout -b remotes/origin/dev
#------------------------------------------------------
}
diff --git a/contrib/python/compare_RecordsConfigcc.py
b/contrib/python/compare_RecordsConfigcc.py
index d41ac6d..b01a133 100644
--- a/contrib/python/compare_RecordsConfigcc.py
+++ b/contrib/python/compare_RecordsConfigcc.py
@@ -65,7 +65,7 @@ with open("%s/proxy/config/records.config.default.in" %
src_dir) as fh:
if m:
rc_in[m.group(1)] = (m.group(2), m.group(3))
-# Process records.comfig documentation.
+# Process records.config documentation.
# eg. .. ts:cv:: CONFIG proxy.config.proxy_binary STRING traffic_server
with open("%s/doc/admin-guide/files/records.config.en.rst" % src_dir) as fh:
doc_re = re.compile(r'ts:cv:: CONFIG (\S+)\s+(\S+)\s+(\S+)')
diff --git a/doc/admin-guide/plugins/prefetch.en.rst
b/doc/admin-guide/plugins/prefetch.en.rst
index 93a7e3c..9b3b8c6 100644
--- a/doc/admin-guide/plugins/prefetch.en.rst
+++ b/doc/admin-guide/plugins/prefetch.en.rst
@@ -212,7 +212,7 @@ compromises:
object** would be cached as well.
* **Don't fetch the response body** and **never cache** at the **front-tier**.
The **front-tier** marks the prefetch request with a special API header
defined
- by ``--api-header`` plugin parameter. When recieved the **back-tier**
responds
+ by ``--api-header`` plugin parameter. When received the **back-tier**
responds
right away before actually fetching the object (without a body), it just
schedules the real prefetch at the **back-tier**. ``Cache-Control: no-store``
is used to make sure the prefetch request response is never cached at the
**front-tier**.
diff --git a/doc/developer-guide/core-architecture/rpc.en.rst
b/doc/developer-guide/core-architecture/rpc.en.rst
index 0b5cdea..1e43989 100644
--- a/doc/developer-guide/core-architecture/rpc.en.rst
+++ b/doc/developer-guide/core-architecture/rpc.en.rst
@@ -63,7 +63,7 @@ Runtime Structure
Message Passing
===============
-Sequence diagram for a command sent from |TCtl| to when it is recieved by a
plugin.
+Sequence diagram for a command sent from |TCtl| to when it is received by a
plugin.
.. figure:: ../../uml/images/RPC-sequence-diagram.svg
diff --git a/doc/uml/RPC-sequence-diagram.uml b/doc/uml/RPC-sequence-diagram.uml
index 17d543d..5a5c0d3 100644
--- a/doc/uml/RPC-sequence-diagram.uml
+++ b/doc/uml/RPC-sequence-diagram.uml
@@ -38,8 +38,8 @@ traffic_server -[#blue]-> local_rpc : <font
color="blue">//unserialize message//
traffic_server -> plugin : invoke hook and attach ""TSPluginMsg""
plugin -> plugin : hooks ""TS_LIFECYCLE_MSG_HOOK""\nand reads ""TSPluginMsg""
traffic_manager -[#green]-> remote_rpc : <font color="green">TS_ERR_OK</font>
-note right : traffic_manager has no idea if\nplugin actually recieved message
+note right : traffic_manager has no idea if\nplugin actually received message
remote_rpc -> traffic_ctl : parse response
-@enduml
\ No newline at end of file
+@enduml
diff --git a/doc/uml/RPC-states.uml b/doc/uml/RPC-states.uml
index ad73b58..c95ade5 100644
--- a/doc/uml/RPC-states.uml
+++ b/doc/uml/RPC-states.uml
@@ -20,7 +20,7 @@ state "LocalManager\nruns in traffic_manager main event loop"
as traffic_manager
state "poll socket" as tm_poll_sock : ""mgmt_select""
state "new connection" as tm_new_process : register new client socket
fd\nto start getting msgs from\nclient
state "new message" as tm_new_message : new message from process
- state "handle msg" as tm_handle_msg : ""handleMgmtMsgFromProcesses""
will\noften ""signalAlarm"" with recieved\nmsg_id
+ state "handle msg" as tm_handle_msg : ""handleMgmtMsgFromProcesses""
will\noften ""signalAlarm"" with received\nmsg_id
tm_poll_sock -d-> tm_new_process : new process trying to connect
tm_poll_sock -d-> tm_new_message : msg from ""traffic_server""
diff --git a/example/response_header_1/response_header_1.c
b/example/response_header_1/response_header_1.c
index 65f173a..9a0430f 100644
--- a/example/response_header_1/response_header_1.c
+++ b/example/response_header_1/response_header_1.c
@@ -195,7 +195,7 @@ modify_header(TSHttpTxn txnp)
* Additional 200/304 processing can go here, if so desired.
*/
- /* Caller reneables */
+ /* Caller reenables */
}
static int
diff --git a/example/thread_pool/psi.c b/example/thread_pool/psi.c
index c21eefc..4793c69 100644
--- a/example/thread_pool/psi.c
+++ b/example/thread_pool/psi.c
@@ -438,7 +438,7 @@ _basename(const char *filename)
data continuation for the current transaction
Output :
data->psi_buffer contains the file content
- data->psi_sucess 0 if include failed, 1 if success
+ data->psi_success 0 if include failed, 1 if success
Return Value:
0 if failure
1 if success
diff --git a/example/thread_pool/test/SDKTest/psi_server.c
b/example/thread_pool/test/SDKTest/psi_server.c
index 71d2124..cfa209e 100644
--- a/example/thread_pool/test/SDKTest/psi_server.c
+++ b/example/thread_pool/test/SDKTest/psi_server.c
@@ -29,7 +29,7 @@
* - PSI header
* - PSI include in body
*
- * Ratio for generating PSI response is specifid in config file.
+ * Ratio for generating PSI response is specified in config file.
*
* Added Options in Synth_server.config -
* psi_ratio : percentage of response with psi embedded we want to generate
diff --git a/tools/compare_servers.pl b/tools/compare_servers.pl
index 4c485da..a7bfaaa 100755
--- a/tools/compare_servers.pl
+++ b/tools/compare_servers.pl
@@ -79,7 +79,7 @@ sub compareHeaderValues($$)
my @test_headers =
qw(ETag Cache-Control Connection Accept-Ranges Server Content-Type
Access-Control-Allow-Methods Access-Control-Allow-Origin
Strict-Transport-Security);
- my $return_val = 0; # header valuse match
+ my $return_val = 0; # header value match
if ($verbose >= 3) {
foreach my $field ($response1->header_field_names) {
diff --git a/tools/http_load/http_load.c b/tools/http_load/http_load.c
index 9268f74..da8c74c 100644
--- a/tools/http_load/http_load.c
+++ b/tools/http_load/http_load.c
@@ -2846,7 +2846,7 @@ close_connection(int cnum)
url_num = connections[cnum].url_num;
/* Only check to update got_bytes, byte count errors and/or checksums
- if the request was succesful (i.e. no HTTP error). */
+ if the request was successful (i.e. no HTTP error). */
if (connections[cnum].http_status >= 0 && connections[cnum].http_status <
400) {
if (do_checksum) {
if (!urls[url_num].got_checksum) {
diff --git a/tools/http_load/merge_stats.pl b/tools/http_load/merge_stats.pl
index db40600..317460b 100644
--- a/tools/http_load/merge_stats.pl
+++ b/tools/http_load/merge_stats.pl
@@ -66,7 +66,7 @@ while (<>) {
}
print "Total runs: ", $runs, "\n";
-printf "%d fetches on %d conns, %d max parallell, %.5e bytes in %d seconds\n",
+printf "%d fetches on %d conns, %d max parallel, %.5e bytes in %d seconds\n",
$fetches, $conns, $parallel, $bytes, $seconds / $runs;
print $mean_bytes/ $runs, " mean bytes/fetch\n";
printf "%.2f fetches/sec, %.5e bytes/sec\n", $fetches_sec, $bytes_sec;
diff --git a/tools/jtest/README.zh.md b/tools/jtest/README.zh.md
index c7d43f4..286ad9e 100644
--- a/tools/jtest/README.zh.md
+++ b/tools/jtest/README.zh.md
@@ -190,8 +190,8 @@ hash是jtest、ats里无处不在的,如何让hash互相影响,甚至测试h
-N, --alternates int 0 Number of Alternates
-e, --client_rate int 0 Clients Per Sec
-o, --abort_retry_speed int 0 Abort/Retry Speed
- - , --abort_retry_bytes int 0 Abort/Retry Threshhold (bytes)
- - , --abort_retry_secs int 5 Abort/Retry Threshhold (secs)
+ - , --abort_retry_bytes int 0 Abort/Retry Threshold (bytes)
+ - , --abort_retry_secs int 5 Abort/Retry Threshold (secs)
-W, --reload_rate dbl 0.000 Reload Rate
* -D,用于生成url的随机数,如果有多个jtest并发运行,可以对这个随机的seed进行区分以控制cache的多小等
diff --git a/tools/jtest/jtest.cc b/tools/jtest/jtest.cc
index 6f612aa..da22fe1 100644
--- a/tools/jtest/jtest.cc
+++ b/tools/jtest/jtest.cc
@@ -92,7 +92,7 @@
#define MAX_BUFSIZE (65536 + 4096)
//
-// Contants
+// Constants
//
#define MAXFDS 65536
#define HEADER_DONE -1
@@ -294,7 +294,7 @@ static const ArgumentDescription argument_descriptions[] = {
{"alternates", 'N', "Number of Alternates", "I", &alternates,
"JTEST_ALTERNATES", nullptr},
{"client_rate", 'e', "Clients Per Sec", "I", &client_rate,
"JTEST_CLIENT_RATE", nullptr},
{"abort_retry_speed", 'o', "Abort/Retry Speed", "I", &abort_retry_speed,
"JTEST_ABORT_RETRY_SPEED", nullptr},
- {"abort_retry_bytes", ' ', "Abort/Retry Threshhold (bytes)", "I",
&abort_retry_bytes, "JTEST_ABORT_RETRY_THRESHHOLD_BYTES",
+ {"abort_retry_bytes", ' ', "Abort/Retry Threshold (bytes)", "I",
&abort_retry_bytes, "JTEST_ABORT_RETRY_THRESHHOLD_BYTES",
nullptr},
{"abort_retry_secs", ' ', "Abort/Retry Threshhold (secs)", "I",
&abort_retry_secs, "JTEST_ABORT_RETRY_THRESHHOLD_SECS", nullptr},
{"reload_rate", 'W', "Reload Rate", "D", &reload_rate, "JTEST_RELOAD_RATE",
nullptr},
@@ -2523,7 +2523,7 @@ read_response(int sock)
}
if (check_content && !cl) {
if (verbose || verbose_errors) {
- printf("missiing Content-Length '%s'\n", fd[sock].base_url);
+ printf("missing Content-Length '%s'\n", fd[sock].base_url);
}
return read_response_error(sock);
}
@@ -4280,7 +4280,7 @@ ink_web_canonicalize_url(const char *base_url, const char
*emb_url, char *dest_u
} else {
use_base_host = 1;
- /* step 4 - if emb_path preceeded by slash, skip to 7 */
+ /* step 4 - if emb_path preceded by slash, skip to 7 */
if (emb.leading_slash != 1) {
/* step 5 */
diff --git a/tools/traffic_primer b/tools/traffic_primer
index 4c3dc4c..2d73c9d 100755
--- a/tools/traffic_primer
+++ b/tools/traffic_primer
@@ -18,7 +18,7 @@
# Simple script to fetch a URL through one proxy, and then PUSH that response
(headers
# and body) to a set of hosts. The host:port defaults to localhost:80 for
fetching
-# the URL, but can be overriden with -h/-p.
+# the URL, but can be overridden with -h/-p.
# Default values for command line options
@@ -72,7 +72,7 @@ push() {
if [ $? -gt 0 ]; then
echo -e "\tError: ${h}:${PORT} is down"
else
- echo -en "\tProcesing ${h}:${PORT}..."
+ echo -en "\tProcessing ${h}:${PORT}..."
# PURGE the object first if we -f (force) it
if [ $FORCE -gt 0 ]; then
echo -n " purged..."