Skip to content

Commit 3b16f7a

Browse files
committed
Small fixes
1 parent b0303c6 commit 3b16f7a

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

include/cookie_time.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The MIT License (MIT)
33
*
44
* Copyright (c) 2023 - Giuseppe Persico
5-
* File - cookie_date.h
5+
* File - cookie_time.h
66
*
77
* Permission is hereby granted, free of charge, to any person obtaining a copy
88
* of this software and associated documentation files (the "Software"), to deal

include/curl_config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* The MIT License (MIT)
33
*
44
* Copyright (c) 2015 - Qiangqiang Wu, Ferdinand Thiessen
5+
* File - cookie_config.h
56
*
67
* Permission is hereby granted, free of charge, to any person obtaining a copy
78
* of this software and associated documentation files (the "Software"), to deal

include/curl_easy.h

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
#include "curl_form.h"
3838
#include "curl_easy_info.h"
3939

40+
4041
#define CURLCPP_DEFINE_OPTION(opt, value_type)\
4142
template <> struct option_t<opt> {\
4243
using type = value_type;\
@@ -139,7 +140,7 @@ namespace curl {
139140
// TLS session info that can be used for further processing.
140141
CURLCPP_DEFINE_INFO(CURLINFO_TLS_SSL_PTR,struct curl_tlssessioninfo *);
141142
#endif
142-
// Whether or not a time conditional was met.
143+
// Whether a time conditional was met.
143144
CURLCPP_DEFINE_INFO(CURLINFO_CONDITION_UNMET,long);
144145
// RTSP session ID.
145146
CURLCPP_DEFINE_INFO(CURLINFO_RTSP_SESSION_ID,char *);
@@ -205,7 +206,7 @@ namespace curl {
205206
CURLCPP_DEFINE_OPTION(CURLOPT_USERAGENT, const char*);
206207
/* If the download receives less than "low speed limit" bytes/second
207208
* during "low speed time" seconds, the operations is aborted.
208-
* You could i.e if you have a pretty high speed connection, abort if
209+
* You could, for example, if you have a pretty high speed connection, abort if
209210
* it is less than 2000 bytes/sec during 20 seconds.
210211
*/
211212
/* Set the "low speed limit" */
@@ -229,7 +230,7 @@ namespace curl {
229230
list is also used for RTSP (in spite of its name) */
230231
CURLCPP_DEFINE_OPTION(CURLOPT_HTTPHEADER, const struct curl_slist*);
231232

232-
/* This points to a linked list of post entries, struct curl_httppost */
233+
/* This points to a linked list of post-entries, struct curl_httppost */
233234
CURLCPP_DEFINE_OPTION(CURLOPT_HTTPPOST, const struct curl_httppost*);
234235

235236
/* name of the file keeping your private SSL-certificate */
@@ -321,7 +322,7 @@ namespace curl {
321322
/* size of the POST input data, if strlen() is not good to use */
322323
CURLCPP_DEFINE_OPTION(CURLOPT_POSTFIELDSIZE, long);
323324

324-
/* tunnel non-http operations through a HTTP proxy */
325+
/* tunnel non-http operations through an HTTP proxy */
325326
CURLCPP_DEFINE_OPTION(CURLOPT_HTTPPROXYTUNNEL, long);
326327

327328
/* Set the interface string to use as outgoing network interface */
@@ -460,7 +461,7 @@ namespace curl {
460461
CURLCPP_DEFINE_OPTION(CURLOPT_BUFFERSIZE, long);
461462

462463
/* Instruct libcurl to not use any signal/alarm handlers, even when using
463-
timeouts. This option is useful for multi-threaded applications.
464+
timeouts. This option is useful for multithreaded applications.
464465
See libcurl-the-guide for more background information. */
465466
CURLCPP_DEFINE_OPTION(CURLOPT_NOSIGNAL, long);
466467

@@ -488,7 +489,7 @@ namespace curl {
488489
CURLCPP_DEFINE_OPTION(CURLOPT_UNRESTRICTED_AUTH, long);
489490

490491
/* Specifically switch on or off the FTP engine's use of the EPRT command (
491-
it also disables the LPRT attempt). By default, those ones will always be
492+
it also disables the LPRT attempt). By default, those will always be
492493
attempted before the good old traditional PORT command. */
493494
CURLCPP_DEFINE_OPTION(CURLOPT_FTP_USE_EPRT, long);
494495

@@ -526,7 +527,7 @@ namespace curl {
526527

527528
/* Set this option to one of the CURL_IPRESOLVE_* defines (see below) to
528529
tell libcurl to resolve names to those IP versions only. This only has
529-
affect on systems with support for more than one, i.e IPv4 _and_ IPv6. */
530+
affect on systems with support for more than one, i.e. IPv4 _and_ IPv6. */
530531
CURLCPP_DEFINE_OPTION(CURLOPT_IPRESOLVE, long);
531532

532533
/* Set this option to limit the size of a file that will be downloaded from
@@ -572,7 +573,7 @@ namespace curl {
572573

573574
/* When FTP over SSL/TLS is selected (with CURLOPT_USE_SSL), this option
574575
can be used to change libcurl's default action which is to first try
575-
"AUTH SSL" and then "AUTH TLS" in this order, and proceed when a OK
576+
"AUTH SSL" and then "AUTH TLS" in this order, and proceed when an OK
576577
response has been received.
577578
578579
Available parameters are:
@@ -595,7 +596,7 @@ namespace curl {
595596
/* ignore Content-Length */
596597
CURLCPP_DEFINE_OPTION(CURLOPT_IGNORE_CONTENT_LENGTH, long);
597598

598-
/* Set to non-zero to skip the IP address received in a 227 PASV FTP server
599+
/* Set to non-zero in order to skip the IP address received in a 227 PASV FTP server
599600
response. Typically used for FTP-SSL purposes but is not restricted to
600601
that. libcurl will then instead use the same IP address it used for the
601602
control connection. */
@@ -680,7 +681,7 @@ namespace curl {
680681
CURLCPP_DEFINE_OPTION(CURLOPT_SSH_HOST_PUBLIC_KEY_MD5, const char*);
681682

682683
/* Callback function for opening socket (instead of socket(2)). Optionally,
683-
callback is able change the address or refuse to connect returning
684+
callback is able to change the address or refuse to connect returning
684685
CURL_SOCKET_BAD. The callback should have type
685686
curl_opensocket_callback */
686687
CURLCPP_DEFINE_OPTION(CURLOPT_OPENSOCKETFUNCTION, curl_socket_t(*)(void *clientp,
@@ -926,7 +927,7 @@ namespace curl {
926927
/* Enable/disable TLS ALPN extension (http2 over ssl might fail without) */
927928
CURLCPP_DEFINE_OPTION(CURLOPT_SSL_ENABLE_ALPN, long);
928929

929-
/* Time to wait for a response to a HTTP request containing an
930+
/* Time to wait for a response to an HTTP request containing an
930931
* Expect: 100-continue header before sending the data anyway. */
931932
CURLCPP_DEFINE_OPTION(CURLOPT_EXPECT_100_TIMEOUT_MS, long);
932933
#endif

include/curl_ios.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
21
/**
32
* The MIT License (MIT)
43
*
54
* Copyright (c) 2023 - Giuseppe Persico
6-
* File - curl_header.h
5+
* File - curl_ios.h
76
*
87
* Permission is hereby granted, free of charge, to any person obtaining a copy
98
* of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)