misc: typo and grammar fixes

- Replace `Github` with `GitHub`.
- Replace `windows` with `Windows`
- Replace `advice` with `advise` where a verb is used.
- A few fixes on removing repeated words.
- Replace `a HTTP` with `an HTTP`

Closes #9802
This commit is contained in:
Ayesh Karunaratne 2022-10-26 12:29:35 +05:30 committed by Daniel Stenberg
parent b7260c4fda
commit 4484270afc
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
57 changed files with 106 additions and 106 deletions

View file

@ -148,7 +148,7 @@ changes.
### About pull requests
With github it is easy to send a [pull
With GitHub it is easy to send a [pull
request](https://github.com/curl/curl/pulls) to the curl project to have
changes merged.

View file

@ -10,7 +10,7 @@ Experimental support in curl means:
"carved in stone".
2. You must enable the feature when invoking configure as otherwise curl will
not be built with the feature present.
3. We strongly advice against using this feature in production.
3. We strongly advise against using this feature in production.
4. **We reserve the right to change behavior** of the feature without sticking
to our API/ABI rules as we do for regular features, as long as it is marked
experimental.

View file

@ -158,7 +158,7 @@ When you are merging patches/pull requests...
- squash patch sets into a few logical commits even if the PR did not, if
necessary
- avoid the "merge" button on GitHub, do it "manually" instead to get full
control and full audit trail (github leaves out you as "Committer:")
control and full audit trail (GitHub leaves out you as "Committer:")
- remember to credit the reporter and the helpers.
## Who are maintainers?

View file

@ -9,7 +9,7 @@ Hyper support in curl is considered **EXPERIMENTAL** until further notice. It
needs to be explicitly enabled at build-time.
Further development and tweaking of the Hyper backend support in curl will
happen in in the master branch using pull-requests, just like ordinary
happen in the master branch using pull-requests, just like ordinary
changes.
## Hyper version

View file

@ -164,7 +164,7 @@ problems may have been fixed or changed somewhat since this was written.
18. HTTP/3
18.1 If the HTTP/3 server closes connection during upload curl hangs
18.2 Transfer closed with n bytes remaining to read
18.4 timeout when reusing a http3 connection
18.4 timeout when reusing an http3 connection
18.9 connection migration does not work
==============================================================================
@ -1159,7 +1159,7 @@ problems may have been fixed or changed somewhat since this was written.
https://github.com/curl/curl/issues/8523
18.4 timeout when reusing a http3 connection
18.4 timeout when reusing an http3 connection
HTTP/3 with quiche seems to not work and always timeout a subsequent transfer
that reuses an already established connection

View file

@ -649,7 +649,7 @@ which of them to use. Default address can also be used:
curl -P - ftp.download.com
Download with `PORT` but use the IP address of our `le0` interface (this does
not work on windows):
not work on Windows):
curl -P le0 ftp.download.com
@ -829,7 +829,7 @@ The usage of the `-x`/`--proxy` flag overrides the environment variables.
Unix introduced the `.netrc` concept a long time ago. It is a way for a user
to specify name and password for commonly visited FTP sites in a file so that
you do not have to type them in each time you visit those sites. You realize
this is a big security risk if someone else gets hold of your passwords, so
this is a big security risk if someone else gets hold of your passwords,
therefore most Unix programs will not read this file unless it is only readable
by yourself (curl does not care though).

View file

@ -1,6 +1,6 @@
# Rustls
[Rustls is a TLS backend written in Rust.](https://docs.rs/rustls/). Curl can
[Rustls is a TLS backend written in Rust](https://docs.rs/rustls/). Curl can
be built to use it as an alternative to OpenSSL or other TLS backends. We use
the [rustls-ffi C bindings](https://github.com/rustls/rustls-ffi/). This
version of curl depends on version v0.8.2 of rustls-ffi.

View file

@ -66,7 +66,7 @@
Schannel in Windows XP is not able to connect to servers that no longer
support the legacy handshakes and algorithms used by those versions, so we
advice against building curl to use Schannel on really old Windows versions.
advise against building curl to use Schannel on really old Windows versions.
Reference: [Prohibiting RC4 Cipher
Suites](https://datatracker.ietf.org/doc/html/draft-popov-tls-prohibiting-rc4-01)

View file

@ -17,7 +17,7 @@ WebSocket with libcurl can be done two ways.
of it).
2. Set `CURLOPT_CONNECT_ONLY` to 2L (new for WebSocket), which makes libcurl
do a HTTP GET + `Upgrade:` request plus response in the
do an HTTP GET + `Upgrade:` request plus response in the
`curl_easy_perform()` call before it returns and then you can use
`curl_ws_recv()` and `curl_ws_send()` to receive and send WebSocket frames
from and to the server.

View file

@ -44,7 +44,7 @@
#endif
/*
* This example shows a HTTP PUT operation with authentication using "any"
* This example shows an HTTP PUT operation with authentication using "any"
* type. It PUTs a file given as a command line argument to the URL also given
* on the command line.
*

View file

@ -22,7 +22,7 @@
*
***************************************************************************/
/* <DESC>
* CA cert in memory with OpenSSL to get a HTTPS page.
* CA cert in memory with OpenSSL to get an HTTPS page.
* </DESC>
*/

View file

@ -40,7 +40,7 @@ int main(void)
curl = curl_easy_init();
if(curl) {
/* First set the URL that is about to receive our POST. This URL can
just as well be a https:// URL if that is what should receive the
just as well be an https:// URL if that is what should receive the
data. */
curl_easy_setopt(curl, CURLOPT_URL, "http://postit.example.com/moo.cgi");
/* Now specify the POST data */

View file

@ -43,7 +43,7 @@ static const char olivertwist[]=
509 byte limit. */
/*
* This example shows a HTTP PUT operation that sends a fixed buffer with
* This example shows an HTTP PUT operation that sends a fixed buffer with
* CURLOPT_POSTFIELDS to the URL given as an argument.
*/

View file

@ -31,7 +31,7 @@
#include <curl/curl.h>
/*
* This example shows a HTTP PUT operation. PUTs a file given as a command
* This example shows an HTTP PUT operation. PUTs a file given as a command
* line argument to the URL also given on the command line.
*
* This example also uses its own read callback.

View file

@ -38,7 +38,7 @@
#include <curl/curl.h>
/*
* Download a HTTP file and upload an FTP file simultaneously.
* Download an HTTP file and upload an FTP file simultaneously.
*/
#define HANDLECOUNT 2 /* Number of simultaneous transfers */

View file

@ -126,7 +126,7 @@ int my_trace(CURL *handle, curl_infotype type,
}
/*
* Simply download a HTTP file.
* Simply download an HTTP file.
*/
int main(void)
{

View file

@ -38,7 +38,7 @@
#include <curl/curl.h>
/*
* Download a HTTP file and upload an FTP file simultaneously.
* Download an HTTP file and upload an FTP file simultaneously.
*/
#define HANDLECOUNT 2 /* Number of simultaneous transfers */

View file

@ -37,7 +37,7 @@
#include <curl/curl.h>
/*
* Simply download a HTTP file.
* Simply download an HTTP file.
*/
int main(void)
{

View file

@ -101,7 +101,7 @@ int main(void)
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
/*
If you use POST to a HTTP 1.1 server, you can send data without knowing
If you use POST to an HTTP 1.1 server, you can send data without knowing
the size before starting the POST if you use chunked encoding. You
enable this by adding a header like "Transfer-Encoding: chunked" with
CURLOPT_HTTPHEADER. With HTTP 1.0 or without chunked transfer, you must

View file

@ -22,7 +22,7 @@
*
***************************************************************************/
/* <DESC>
* Make a HTTP POST with data from memory and receive response in memory.
* Make an HTTP POST with data from memory and receive response in memory.
* </DESC>
*/
#include <stdio.h>