misc: spelling improvements

Closes #8956
diff --git a/docs/libcurl/opts/CURLOPT_PORT.3 b/docs/libcurl/opts/CURLOPT_PORT.3
index a5a0656..45a90d7 100644
--- a/docs/libcurl/opts/CURLOPT_PORT.3
+++ b/docs/libcurl/opts/CURLOPT_PORT.3
@@ -30,7 +30,7 @@
 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PORT, long number);
 .fi
 .SH DESCRIPTION
-We discourage using this option since it's scope is not obvious and hard to
+We discourage using this option since its scope is not obvious and hard to
 predict. Set the preferred port number in the URL instead.
 
 This option sets \fInumber\fP to be the remote port number to connect to,
diff --git a/docs/libcurl/opts/CURLOPT_SSH_HOSTKEYFUNCTION.3 b/docs/libcurl/opts/CURLOPT_SSH_HOSTKEYFUNCTION.3
index c5a16a3..be6563f 100644
--- a/docs/libcurl/opts/CURLOPT_SSH_HOSTKEYFUNCTION.3
+++ b/docs/libcurl/opts/CURLOPT_SSH_HOSTKEYFUNCTION.3
@@ -50,9 +50,9 @@
 The callback MUST return one of the following return codes to tell libcurl how
 to act:
 .IP CURLKHMATCH_OK
-The hostkey is accepted, the connexion should continue.
+The hostkey is accepted, the connection should continue.
 .IP CURLKHMATCH_MISMATCH
-the hostkey is rejected, the connexion is canceled.
+the hostkey is rejected, the connection is canceled.
 .SH DEFAULT
 NULL
 .SH PROTOCOLS
diff --git a/lib/altsvc.c b/lib/altsvc.c
index f5aee73..f6fa37d 100644
--- a/lib/altsvc.c
+++ b/lib/altsvc.c
@@ -186,7 +186,7 @@
  * Load alt-svc entries from the given file. The text based line-oriented file
  * format is documented here: https://curl.se/docs/alt-svc.html
  *
- * This function only returns error on major problems that prevents alt-svc
+ * This function only returns error on major problems that prevent alt-svc
  * handling to work completely. It will ignore individual syntactical errors
  * etc.
  */
diff --git a/lib/transfer.c b/lib/transfer.c
index 01f764a..5367c03 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -1570,7 +1570,7 @@
           data->state.referer_alloc = FALSE;
         }
 
-        /* Make a copy of the URL without crenditals and fragment */
+        /* Make a copy of the URL without credentials and fragment */
         u = curl_url();
         if(!u)
           return CURLE_OUT_OF_MEMORY;
diff --git a/tests/data/test373 b/tests/data/test373
index 753247f..b11f227 100644
--- a/tests/data/test373
+++ b/tests/data/test373
@@ -53,7 +53,7 @@
 http
 </server>
 <name>
-Chunked transfer encoding - Multple valid chunks with binary zeros.
+Chunked transfer encoding - Multiple valid chunks with binary zeros.
 </name>
 <features>
 proxy
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 19c5f37..d51dd60 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -879,7 +879,7 @@
   else {
     if(req->skip)
       /* we are instructed to not read the entire thing, so we make sure to
-         only read what we're supposed to and NOT read the enire thing the
+         only read what we're supposed to and NOT read the entire thing the
          client wants to send! */
       got = sread(sock, reqbuf + req->offset, req->cl);
     else