Skip to content

Commit 9effcad

Browse files
jbamptonptitSeb
authored andcommitted
misc: fix spelling
Closes curl#11733
1 parent 734dfa9 commit 9effcad

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

docs/URL-SYNTAX.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ character or string.
125125

126126
For example, this could look like:
127127

128-
http://user:[email protected]:80/index.hmtl?foo=bar#top
128+
http://user:[email protected]:80/index.html?foo=bar#top
129129

130130
## Scheme
131131

lib/cf-h2-proxy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,12 +1271,12 @@ static ssize_t cf_h2_proxy_send(struct Curl_cfilter *cf,
12711271
goto out;
12721272
}
12731273
else if(ctx->tunnel.upload_blocked_len) {
1274-
/* the data in `buf` has alread been submitted or added to the
1274+
/* the data in `buf` has already been submitted or added to the
12751275
* buffers, but have been EAGAINed on the last invocation. */
12761276
DEBUGASSERT(len >= ctx->tunnel.upload_blocked_len);
12771277
if(len < ctx->tunnel.upload_blocked_len) {
12781278
/* Did we get called again with a smaller `len`? This should not
1279-
* happend. We are not prepared to handle that. */
1279+
* happen. We are not prepared to handle that. */
12801280
failf(data, "HTTP/2 proxy, send again with decreased length");
12811281
*err = CURLE_HTTP2;
12821282
nwritten = -1;

lib/http.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ void Curl_http_req_free(struct httpreq *req);
294294

295295
/**
296296
* Create the list of HTTP/2 headers which represent the request,
297-
* using HTTP/2 pseudo headers preceeding the `req->headers`.
297+
* using HTTP/2 pseudo headers preceding the `req->headers`.
298298
*
299299
* Applies the following transformations:
300300
* - if `authority` is set, any "Host" header is removed.

lib/http2.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ static CURLcode on_stream_frame(struct Curl_cfilter *cf,
10111011
ctx->h2, stream->id);
10121012
if(wsize > 0 && (uint32_t)wsize != stream->local_window_size) {
10131013
/* H2 flow control is not absolute, as the server might not have the
1014-
* same view, yet. When we recieve more than we want, we enforce
1014+
* same view, yet. When we receive more than we want, we enforce
10151015
* the local window size again to make nghttp2 send WINDOW_UPATEs
10161016
* accordingly. */
10171017
nghttp2_session_set_local_window_size(ctx->h2,
@@ -2167,14 +2167,14 @@ static ssize_t cf_h2_send(struct Curl_cfilter *cf, struct Curl_easy *data,
21672167
goto out;
21682168
}
21692169
else if(stream->upload_blocked_len) {
2170-
/* the data in `buf` has alread been submitted or added to the
2170+
/* the data in `buf` has already been submitted or added to the
21712171
* buffers, but have been EAGAINed on the last invocation. */
21722172
/* TODO: this assertion triggers in OSSFuzz runs and it is not
21732173
* clear why. Disable for now to let OSSFuzz continue its tests.
21742174
DEBUGASSERT(len >= stream->upload_blocked_len); */
21752175
if(len < stream->upload_blocked_len) {
21762176
/* Did we get called again with a smaller `len`? This should not
2177-
* happend. We are not prepared to handle that. */
2177+
* happen. We are not prepared to handle that. */
21782178
failf(data, "HTTP/2 send again with decreased length");
21792179
*err = CURLE_HTTP2;
21802180
nwritten = -1;

lib/vquic/curl_ngtcp2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1770,7 +1770,7 @@ static ssize_t cf_ngtcp2_send(struct Curl_cfilter *cf, struct Curl_easy *data,
17701770
stream = H3_STREAM_CTX(data);
17711771
}
17721772
else if(stream->upload_blocked_len) {
1773-
/* the data in `buf` has alread been submitted or added to the
1773+
/* the data in `buf` has already been submitted or added to the
17741774
* buffers, but have been EAGAINed on the last invocation. */
17751775
DEBUGASSERT(len >= stream->upload_blocked_len);
17761776
if(len < stream->upload_blocked_len) {

0 commit comments

Comments
 (0)