summaryrefslogtreecommitdiff
path: root/lib/vquic
diff options
context:
space:
mode:
authorAyesh Karunaratne <ayesh@aye.sh>2022-10-26 12:29:35 +0530
committerDaniel Stenberg <daniel@haxx.se>2022-10-27 10:01:30 +0200
commit4484270afcf3213e86da543941aff5a6d76062a0 (patch)
treea0e02eb5d09b11d2dfc2dc26b5272960660ce086 /lib/vquic
parentb7260c4fda95196b2fa16f32b5913f25323e5098 (diff)
downloadcurl-4484270afcf3213e86da543941aff5a6d76062a0.tar.gz
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
Diffstat (limited to 'lib/vquic')
-rw-r--r--lib/vquic/ngtcp2.c4
-rw-r--r--lib/vquic/quiche.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index 097cca44b..c386aa5fa 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -894,7 +894,7 @@ static int ng_getsock(struct Curl_easy *data, struct connectdata *conn,
socks[0] = conn->sock[FIRSTSOCKET];
- /* in a HTTP/2 connection we can basically always get a frame so we should
+ /* in an HTTP/2 connection we can basically always get a frame so we should
always be ready for one */
bitmap |= GETSOCK_READSOCK(FIRSTSOCKET);
@@ -1170,7 +1170,7 @@ static int cb_h3_recv_header(nghttp3_conn *conn, int64_t stream_id,
}
}
else {
- /* store as a HTTP1-style header */
+ /* store as an HTTP1-style header */
result = write_data(stream, h3name.base, h3name.len);
if(result) {
return -1;
diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c
index a52a7e8e2..65cc90fa2 100644
--- a/lib/vquic/quiche.c
+++ b/lib/vquic/quiche.c
@@ -80,7 +80,7 @@ static int quiche_getsock(struct Curl_easy *data,
socks[0] = conn->sock[FIRSTSOCKET];
- /* in a HTTP/2 connection we can basically always get a frame so we should
+ /* in an HTTP/2 connection we can basically always get a frame so we should
always be ready for one */
bitmap |= GETSOCK_READSOCK(FIRSTSOCKET);