Skip to content

Commit 4f9f3ea

Browse files
authored
Fix typos (#13064)
This is done via a script I wrote to report typos and after I checked them multiple times manually, I applied the correct ones. No AI was used.
1 parent a69cce6 commit 4f9f3ea

45 files changed

Lines changed: 58 additions & 58 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/cripts/Lulu.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ cripts::Versions::GetSV()
181181
if (_version.length() == 0) {
182182
const char *ver = TSTrafficServerVersionGet();
183183

184-
_version = cripts::string_view(ver, strlen(ver)); // ToDo: Annoyingly, we have ambiquity on the operator=
184+
_version = cripts::string_view(ver, strlen(ver)); // ToDo: Annoyingly, we have ambiguity on the operator=
185185
}
186186

187187
return _version;

src/iocore/cache/HttpTransactCache.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ HttpTransactCache::calculate_quality_of_accept_encoding_match(MIMEField *accept_
954954
///////////////////////////////////////////////////////////////////////
955955
// if no Accept-Encoding header, only match identity //
956956
// The 1.1 spec says servers MAY assume that clients will accept //
957-
// any encoding if no header is sent. Unforntunately, this does //
957+
// any encoding if no header is sent. Unfortunately, this does //
958958
// not work 1.0 clients & is particularly thorny when the proxy //
959959
// created the encoding as the result of a transform. Http 1.1 //
960960
// purists would say that if proxy encodes something it's really //

src/iocore/cache/StripeSM.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ struct StripeInitInfo {
110110
};
111111

112112
// This is weird: the len passed to the constructor for _preserved_dirs is
113-
// initialized in the superclasse's constructor. This is safe because the
113+
// initialized in the superclass' constructor. This is safe because the
114114
// superclass should always be initialized first.
115115
StripeSM::StripeSM(CacheDisk *disk, off_t blocks, off_t dir_skip, int avg_obj_size, int fragment_size)
116116
: Continuation(new_ProxyMutex()),

src/iocore/cache/unit_tests/test_RWW.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class CacheRWWTest : public CacheTestHandler
9393
}
9494

9595
protected:
96-
// start at 1 framgents
96+
// start at 1 fragments
9797
int64_t _latest_fragments = 1;
9898
size_t _size = 0;
9999
Event *_read_event = nullptr;
@@ -256,7 +256,7 @@ class CacheRWWErrorTest : public CacheRWWTest
256256
break;
257257

258258
case VC_EVENT_WRITE_COMPLETE:
259-
REQUIRE(!"should not happen because the writter aborted");
259+
REQUIRE(!"should not happen because the writer aborted");
260260
this->close_read();
261261
this->close_write();
262262
break;
@@ -289,7 +289,7 @@ class CacheRWWErrorTest : public CacheRWWTest
289289
return;
290290

291291
case VC_EVENT_READ_COMPLETE:
292-
REQUIRE(!"should not happen because the writter aborted");
292+
REQUIRE(!"should not happen because the writer aborted");
293293
this->close_read();
294294
this->close_write();
295295
break;
@@ -378,7 +378,7 @@ class CacheRWWEOSTest : public CacheRWWTest
378378
return;
379379

380380
case VC_EVENT_READ_COMPLETE:
381-
REQUIRE(!"should not happen because the writter aborted");
381+
REQUIRE(!"should not happen because the writer aborted");
382382
this->close_read();
383383
this->close_write();
384384
break;

src/iocore/net/SSLConfig.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ SSLConfigParams::updateCTX(const std::string &cert_secret_name) const
891891
//
892892
char const *s{expected};
893893
for (; *s && (static_cast<std::size_t>(s - expected) < cert_secret_name.size()); ++s) {}
894-
DbgPrint(dbg_ctl_ssl_config_updateCTX, "Update cert, indirect recusive call caused by call for %.*s",
894+
DbgPrint(dbg_ctl_ssl_config_updateCTX, "Update cert, indirect recursive call caused by call for %.*s",
895895
static_cast<int>(s - expected), expected);
896896
}
897897
return;

src/iocore/net/SSLSessionTicket.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ ssl_callback_session_ticket(SSL *ssl, unsigned char *keyname, unsigned char *iv,
5454
return srs->processSessionTicket(ssl, keyname, iv, cipher_ctx, hctx, enc);
5555
} else {
5656
// We could implement a default behavior that would have been done if this callback was not registered, but it's not necessary
57-
// at the moment because TLSSessionResumptionSupport is alawys available when the callback is registerd.
57+
// at the moment because TLSSessionResumptionSupport is always available when the callback is registered.
5858
ink_assert(!"srs should be available");
5959

6060
// For now, make it an error (this would cause handshake failure)

src/iocore/net/UnixNetAccept.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ net_accept(NetAccept *na, void *ep, bool blockable)
186186
}
187187

188188
// if we stop looping as a result of hitting the accept limit,
189-
// resechedule accepting to the end of the thread event queue
189+
// reschedule accepting to the end of the thread event queue
190190
// for the goal of fairness between accepting and other work
191191
Dbg(dbg_ctl_iocore_net_accepts, "exited accept loop - count: %d, limit: %d", count, additional_accepts);
192192
if (count >= additional_accepts) {
@@ -274,7 +274,7 @@ NetAccept::accept_per_thread(int /* event ATS_UNUSED */, void * /* ep ATS_UNUSED
274274
}
275275

276276
if (do_listen()) {
277-
Fatal("[NetAccept::accept_per_thread]:error listenting on ports");
277+
Fatal("[NetAccept::accept_per_thread]:error listening on ports");
278278
return -1;
279279
}
280280
}

src/iocore/net/UnixUDPNet.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,7 @@ UDPQueue::SendUDPPacket(UDPPacket *p)
15391539
}
15401540
} else {
15411541
#endif
1542-
// Send segments seprately if UDP_SEGMENT is not supported
1542+
// Send segments separately if UDP_SEGMENT is not supported
15431543
int offset = 0;
15441544
while (offset < p->p.chain.get()->size()) {
15451545
iov[0].iov_base = p->p.chain.get()->start() + offset;

src/iocore/utils/Machine.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Machine::init(char const *name, sockaddr const *ip)
7777

7878
Machine::Machine(char const *the_hostname, sockaddr const *addr)
7979
{
80-
// Initialize the machine IP infomation
80+
// Initialize the machine IP information
8181
bzero(&ip, sizeof(ip));
8282
bzero(&ip4, sizeof(ip4));
8383
bzero(&ip6, sizeof(ip6));

src/proxy/FetchSM.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @file
22
3-
Implements callin functions for plugins
3+
Implements calling functions for plugins
44
55
@section license License
66

0 commit comments

Comments
 (0)