]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA: silence proselint warnings and an error
authorViktor Szakats <commit@vsz.me>
Mon, 14 Oct 2024 09:27:54 +0000 (11:27 +0200)
committerViktor Szakats <commit@vsz.me>
Tue, 15 Oct 2024 14:44:17 +0000 (16:44 +0200)
Fix new issues found by `proselint`.

Also:
- silence this technical warning:
  ```
  :0: DeprecationWarning: /home/runner/.proselintrc was found instead of a JSON file. Rename to /home/runner/.proselintrc.json.
  ```
- fix an input filename.
  `proselints` fails now if an input file is missing.

Reported-by: Jay Satiro
Bug: https://github.com/curl/curl/pull/15291#issuecomment-2410505100
Closes #15293

84 files changed:
.github/CONTRIBUTING.md
.github/workflows/checkdocs.yml
README.md
docs/CIPHERS.md
docs/ECH.md
docs/HTTP3.md
docs/INSTALL.md
docs/MAIL-ETIQUETTE.md
docs/MANUAL.md
docs/SPONSORS.md
docs/SSL-PROBLEMS.md
docs/TheArtOfHttpScripting.md
docs/URL-SYNTAX.md
docs/cmdline-opts/_EXITCODES.md
docs/cmdline-opts/_OPTIONS.md
docs/cmdline-opts/data-urlencode.md
docs/cmdline-opts/head.md
docs/cmdline-opts/libcurl.md
docs/cmdline-opts/range.md
docs/cmdline-opts/url.md
docs/cmdline-opts/version.md
docs/examples/README.md
docs/internals/HYPER.md
docs/internals/NEW-PROTOCOL.md
docs/libcurl/curl_easy_getinfo.md
docs/libcurl/curl_easy_setopt.md
docs/libcurl/curl_easy_unescape.md
docs/libcurl/curl_escape.md
docs/libcurl/curl_formadd.md
docs/libcurl/curl_formfree.md
docs/libcurl/curl_formget.md
docs/libcurl/curl_free.md
docs/libcurl/curl_getenv.md
docs/libcurl/curl_global_init_mem.md
docs/libcurl/curl_mprintf.md
docs/libcurl/curl_multi_perform.md
docs/libcurl/curl_multi_socket.md
docs/libcurl/curl_url_cleanup.md
docs/libcurl/curl_url_dup.md
docs/libcurl/curl_version.md
docs/libcurl/libcurl-errors.md
docs/libcurl/libcurl-security.md
docs/libcurl/libcurl-share.md
docs/libcurl/libcurl-url.md
docs/libcurl/libcurl.md
docs/libcurl/opts/CURLINFO_LASTSOCKET.md
docs/libcurl/opts/CURLINFO_PROTOCOL.md
docs/libcurl/opts/CURLINFO_RTSP_SERVER_CSEQ.md
docs/libcurl/opts/CURLOPT_CHUNK_BGN_FUNCTION.md
docs/libcurl/opts/CURLOPT_CONNECT_ONLY.md
docs/libcurl/opts/CURLOPT_COOKIEJAR.md
docs/libcurl/opts/CURLOPT_DNS_USE_GLOBAL_CACHE.md
docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYHOST.md
docs/libcurl/opts/CURLOPT_FTP_CREATE_MISSING_DIRS.md
docs/libcurl/opts/CURLOPT_FTP_USE_PRET.md
docs/libcurl/opts/CURLOPT_HEADER.md
docs/libcurl/opts/CURLOPT_HEADERFUNCTION.md
docs/libcurl/opts/CURLOPT_HEADEROPT.md
docs/libcurl/opts/CURLOPT_HTTP09_ALLOWED.md
docs/libcurl/opts/CURLOPT_HTTPHEADER.md
docs/libcurl/opts/CURLOPT_IOCTLFUNCTION.md
docs/libcurl/opts/CURLOPT_LOW_SPEED_LIMIT.md
docs/libcurl/opts/CURLOPT_LOW_SPEED_TIME.md
docs/libcurl/opts/CURLOPT_MAXFILESIZE.md
docs/libcurl/opts/CURLOPT_MAX_SEND_SPEED_LARGE.md
docs/libcurl/opts/CURLOPT_MIMEPOST.md
docs/libcurl/opts/CURLOPT_NOBODY.md
docs/libcurl/opts/CURLOPT_PATH_AS_IS.md
docs/libcurl/opts/CURLOPT_PROTOCOLS.md
docs/libcurl/opts/CURLOPT_PROXY_SSL_VERIFYHOST.md
docs/libcurl/opts/CURLOPT_READFUNCTION.md
docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS.md
docs/libcurl/opts/CURLOPT_RTSP_REQUEST.md
docs/libcurl/opts/CURLOPT_SEEKFUNCTION.md
docs/libcurl/opts/CURLOPT_SSH_KEYFUNCTION.md
docs/libcurl/opts/CURLOPT_SSL_SESSIONID_CACHE.md
docs/libcurl/opts/CURLOPT_SSL_VERIFYSTATUS.md
docs/libcurl/opts/CURLOPT_STREAM_DEPENDS.md
docs/libcurl/opts/CURLOPT_STREAM_DEPENDS_E.md
docs/libcurl/opts/CURLOPT_STREAM_WEIGHT.md
docs/libcurl/opts/CURLOPT_UPLOAD.md
docs/libcurl/opts/CURLOPT_WRITEFUNCTION.md
tests/FILEFORMAT.md
tests/http/README.md

index 18be9ed224a4639b53ea8deef89bbb02fea2c3ee..0cb7f45a11f2c4bf80b40c9b1f64cf2fc9173d6a 100644 (file)
@@ -26,4 +26,4 @@ Send your suggestions using one of these methods:
 
  3. as an [issue](https://github.com/curl/curl/issues)
 
-/ The curl team!
+/ The curl team
index b02bf0712a1ae92e37ca5971a5665a32873c4441..0d6ff551f4a1b8603b217437fc55d589fbf842ce 100644 (file)
@@ -47,7 +47,7 @@ jobs:
       # config file help: https://github.com/amperser/proselint/
       - name: create proselint config
         run: |
-          cat <<JSON > $HOME/.proselintrc
+          cat <<JSON > $HOME/.proselintrc.json
           {
             "checks": {
               "typography.diacritical_marks": false,
@@ -62,24 +62,25 @@ jobs:
         run: git ls-files -z '*.md' | xargs -0 -n1 .github/scripts/trimmarkdownheader.pl
 
       - name: check prose
-        run: git ls-files -z '*.md' | grep -Evz 'CHECKSRC.md|DISTROS.md|CURLOPT_INTERFACE.md|interface.md' | xargs -0 proselint README
+        run: git ls-files -z '*.md' | grep -Evz 'CHECKSRC.md|DISTROS.md|curl_mprintf.md|CURLOPT_INTERFACE.md|interface.md' | xargs -0 proselint README
 
       # This is for CHECKSRC and files with aggressive exclamation mark needs
       - name: create second proselint config
         run: |
-          cat <<JSON > $HOME/.proselintrc
+          cat <<JSON > $HOME/.proselintrc.json
           {
             "checks": {
               "typography.diacritical_marks": false,
               "typography.symbols": false,
               "typography.exclamation": false,
+              "lexical_illusions.misc": false,
               "annotations.misc": false
             }
           }
           JSON
 
       - name: check special prose
-        run: proselint docs/CHECKSRC.md docs/libcurl/opts/CURLOPT_INTERFACE.md docs/cmdline-opts/interface.md
+        run: proselint docs/internals/CHECKSRC.md docs/libcurl/curl_mprintf.md docs/libcurl/opts/CURLOPT_INTERFACE.md docs/cmdline-opts/interface.md
 
   # Docs: https://github.com/marketplace/actions/markdown-link-check
   linkcheck:
index 7ade2d1186b58bb506fe144789e07c39b2e4a9e1..703e0e2a931edb2b8851a4a0968bf44a16cc7f0c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -61,7 +61,7 @@ distribution terms.
 
 ## Backers
 
-Thank you to all our backers! 🙏 [Become a backer](https://opencollective.com/curl#section-contribute).
+Thank you to all our backers 🙏 [Become a backer](https://opencollective.com/curl#section-contribute).
 
 ## Sponsors
 
index 0807423d214c73d8116bd3a24c6e43756410d109..6e899e52dfad3794bac585795b0cebc0935134f8 100644 (file)
@@ -59,7 +59,7 @@ TLS_AES_128_CCM_8_SHA256
 In addition to above list the following cipher suites can be used:
 `TLS_SM4_GCM_SM3` `TLS_SM4_CCM_SM3` `TLS_SHA256_SHA256` `TLS_SHA384_SHA384`.
 Usage of these cipher suites is not recommended. (The last two cipher suites
-are NULL ciphers!)
+are NULL ciphers, offering no encryption whatsoever.)
 
 ### Schannel notes
 
index 1532db0b86e9b900b08b5e60cbee5eef499f724b..572292dbc048592015032908a4deaed15475983f 100644 (file)
@@ -330,7 +330,7 @@ Then:
     autoreconf -fi
     LDFLAGS="-Wl,-rpath,$HOME/code/boringssl/inst/lib" ./configure --with-ssl=$HOME/code/boringssl/inst --enable-ech --enable-httpsrr
     ...lots of output...
-    WARNING: ECH HTTPSRR enabled but marked EXPERIMENTAL. Use with caution!
+    WARNING: ECH HTTPSRR enabled but marked EXPERIMENTAL. Use with caution.
     make
 ```
 
index a7025f17343debde59c5da9f90e57a8e7dd85b37..3ff73c8e5b7d49dcc40cceda2fa23fabcd0946a2 100644 (file)
@@ -245,9 +245,9 @@ You can build curl with cmake:
      % cd ..
      % git clone https://github.com/curl/curl
      % cd curl
-     % cmake . -B build -DCURL_USE_OPENSSL=ON -DUSE_OPENSSL_QUIC=ON
-     % cmake --build build
-     % cmake --install build
+     % cmake . -B bld -DCURL_USE_OPENSSL=ON -DUSE_OPENSSL_QUIC=ON
+     % cmake --build bld
+     % cmake --install bld
 
  If `make install` results in `Permission denied` error, you need to prepend
  it with `sudo`.
@@ -404,7 +404,7 @@ Get, build and install nghttp2:
      % git clone https://github.com/nghttp2/nghttp2.git
      % cd nghttp2
      % autoreconf -fi
-     % PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/daniel/build-quictls/lib/pkgconfig:/home/daniel/build-nghttp3/lib/pkgconfig:/home/daniel/build-ngtcp2/lib/pkgconfig  LDFLAGS=-L/home/daniel/build-quictls/lib CFLAGS=-I/home/daniel/build-quictls/include ./configure --enable-maintainer-mode --prefix=/home/daniel/build-nghttp2 --disable-shared --enable-app --enable-http3 --without-jemalloc --without-libxml2 --without-systemd
+     % PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/daniel/build-quictls/lib/pkgconfig:/home/daniel/build-nghttp3/lib/pkgconfig:/home/daniel/build-ngtcp2/lib/pkgconfig LDFLAGS=-L/home/daniel/build-quictls/lib CFLAGS=-I/home/daniel/build-quictls/include ./configure --enable-maintainer-mode --prefix=/home/daniel/build-nghttp2 --disable-shared --enable-app --enable-http3 --without-jemalloc --without-libxml2 --without-systemd
      % make && make install
 
 Run the local h3 server on port 9443, make it proxy all traffic through to
index 0cb888c9d14fad898d37858ad811856c8938bbc9..bfcbd2e7866272941b5988652ee165f4b274e95a 100644 (file)
@@ -570,7 +570,7 @@ that are not automatically detected:
 
 This is a probably incomplete list of known CPU architectures and operating
 systems that curl has been compiled for. If you know a system curl compiles
-and runs on, that is not listed, please let us know!
+and runs on, that is not listed, please let us know.
 
 ## 101 Operating Systems
 
index e3cf702be88003b4edfeb7a874b6ae204dfef74b..3de77b17bf7a5338a457e55c7d60b5596e2a1ffb 100644 (file)
@@ -232,7 +232,7 @@ We allow subscribers to subscribe to the "digest" version of the mailing
 lists. A digest is a collection of mails lumped together in one single mail.
 
 Should you decide to reply to a mail sent out as a digest, there are two
-things you MUST consider if you really really cannot subscribe normally
+things you MUST consider if you really, really cannot subscribe normally
 instead:
 
 Cut off all mails and chatter that is not related to the mail you want to
index 33596663c1121bffff9b00efeb27d99de34193a3..35a944849a8bbe90637a202e874f2fa60b7b0742 100644 (file)
@@ -274,7 +274,7 @@ To get even more details and information on what curl does, try using the
 `--trace` or `--trace-ascii` options with a given filename to log to, like
 this:
 
-    curl --trace trace.txt www.haxx.se
+    curl --trace my-trace.txt www.haxx.se
 
 
 ## Detailed Information
index bb1109760486a3fffacef7f029f18e5f051a8cd7..c9cf42a7f65c27c34917ca37a45b18206c52a2c8 100644 (file)
@@ -44,4 +44,4 @@ gambling, pornography, social media manipulation etc.
 ## Past Sponsors
 
 Sponsors that stop paying are considered *Past Sponsors* and are not displayed
-on the sponsor page anymore. We thank you for your contributions!
+on the sponsor page anymore. We thank you for your contributions.
index 26deed3911a97514c4e62f86abe3c86a3979fc3a..620392c4ea7d99c0ef93f9e1ca7ec4974ea0837a 100644 (file)
@@ -44,7 +44,7 @@ SPDX-License-Identifier: curl
   when connecting to make the connection succeed.
 
   An additional complication can be that modern SSL libraries sometimes are
-  built with support for older SSL and TLS versions disabled!
+  built with support for older SSL and TLS versions disabled.
 
   All versions of SSL and the TLS versions before 1.2 are considered insecure
   and should be avoided. Use TLS 1.2 or later.
index 659fbdd11b6ef5ccde85f7f6f99a67b0b300ee11..f4efd11bb21202cd66932cf6dc1e25d474075d34 100644 (file)
@@ -571,7 +571,7 @@ SPDX-License-Identifier: curl
 
  Curl supports encrypted fetches when built to use a TLS library and it can be
  built to use one out of a fairly large set of libraries - `curl -V` shows
- which one your curl was built to use (if any!). To get a page from an HTTPS
+ which one your curl was built to use (if any). To get a page from an HTTPS
  server, simply run curl like:
 
     curl https://secure.example.com
index 3c921f8570d15cfe9915f81e2a0fe5aa28b8883f..61682f4252f3e698aea13d240e8d180a622497d4 100644 (file)
@@ -32,7 +32,7 @@ unlikely that multiple parsers treat URLs the same way.
 
 Due to the inherent differences between URL parser implementations, it is
 considered a security risk to mix different implementations and assume the
-same behavior!
+same behavior.
 
 For example, if you use one parser to check if a URL uses a good hostname or
 the correct auth field, and then pass on that same URL to a *second* parser,
index c5a928b5904da54b862b2d7128253774de3129ad..a16f475276aa88fa30af10ecbe9629970a1d6287 100644 (file)
@@ -105,7 +105,7 @@ Too many redirects. When following redirects, curl hit the maximum amount.
 ## 48
 Unknown option specified to libcurl. This indicates that you passed a weird
 option to curl that was passed on to libcurl and rejected. Read up in the
-manual!
+manual.
 ## 49
 Malformed telnet option.
 ## 52
index ef208ade0f48c86df9e7546996da2587b2b3a286..b6b75b3f345e3de0002eb4a852beea26709dd62f 100644 (file)
@@ -1,6 +1,7 @@
 <!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
 <!-- SPDX-License-Identifier: curl -->
 # OPTIONS
+
 Options start with one or two dashes. Many of the options require an
 additional value next to them. If provided text does not start with a dash, it
 is presumed to be and treated as a URL.
index 4edfb4d764f6a6b320fb24d7e7d21c22ed5c4021..b4680e61acae11930f2708c821455b8845f5fd70 100644 (file)
@@ -30,7 +30,7 @@ curl using one of the following syntaxes:
 ## content
 URL-encode the content and pass that on. Just be careful so that the content
 does not contain any `=` or `@` symbols, as that makes the syntax match one of
-the other cases below!
+the other cases below.
 
 ## =content
 URL-encode the content and pass that on. The preceding `=` symbol is not
index be4dbb87fd6a0c102e0c58a32727f7e276c79c5f..353ef9a0118dce42cfcb600f3802d0d49a32ce28 100644 (file)
@@ -18,6 +18,6 @@ Example:
 
 # `--head`
 
-Fetch the headers only! HTTP-servers feature the command HEAD which this uses
-to get nothing but the header of a document. When used on an FTP or FILE file,
+Fetch the headers only. HTTP-servers feature the command HEAD which this uses
+to get nothing but the header of a document. When used on an FTP or FILE URL,
 curl displays the file size and last modification time only.
index 60af6054066bab57a13a22fc4d0e821e00a71350..e37e5aa0fadd26e2c5d64af59324af5dfadfbd29 100644 (file)
@@ -18,4 +18,4 @@ Example:
 
 Append this option to any ordinary curl command line, and you get
 libcurl-using C source code written to the file that does the equivalent of
-what your command-line operation does!
+what your command-line operation does.
index abfdf216f8f814c50280b9b1552ec2c250c1083e..c2cee2e1f6ccb8852ef109f58222359264ed17a5 100644 (file)
@@ -42,7 +42,7 @@ specifies two separate 100-byte ranges(*) (HTTP)
 ##
 
 (*) = NOTE that these make the server reply with a multipart response, which
-is returned as-is by curl! Parsing or otherwise transforming this response is
+is returned as-is by curl. Parsing or otherwise transforming this response is
 the responsibility of the caller.
 
 Only digit characters (0-9) are valid in the 'start' and 'stop' fields of the
index 851f0abacacacb8aa9a1958fb1ad1a299b5757ee..ca62b38939bae7ebad04a4ab5ee2a452d2880d5b 100644 (file)
@@ -29,4 +29,4 @@ To control where this URL is written, use the --output or the --remote-name
 options.
 
 **WARNING**: On Windows, particular `file://` accesses can be converted to
-network accesses by the operating system. Beware!
+network accesses by the operating system. Beware.
index 948e9672f1922765d14dbef2936b1b0dbb37db49..0597f84a27c34280d9cf8f45a63bde7320799708 100644 (file)
@@ -44,7 +44,7 @@ curl was built with support for character set conversions (like EBCDIC)
 
 ## `Debug`
 This curl uses a libcurl built with Debug. This enables more error-tracking
-and memory debugging etc. For curl-developers only!
+and memory debugging etc. For curl-developers only.
 
 ## `ECH`
 ECH support is present.
index 3f95f03c006cf41accb0e7b38925e14ae68744fd..a6a31c9388a091c6571f76d8c5778579dc17debf 100644 (file)
@@ -21,12 +21,12 @@ first.
 
 Most examples should build fine using a command line like this:
 
-    `curl-config --cc --cflags --libs` -o example example.c
+    `curl-config --cc --cflags --libs` -o example-my example.c
 
 Some compilers do not like having the arguments in this order but instead
 want you do reorganize them like:
 
-    `curl-config --cc` -o example example.c `curl-config --cflags --libs`
+    `curl-config --cc` -o example-my example.c `curl-config --cflags --libs`
 
 **Please** do not use the `curl.se` site as a test target for your libcurl
 applications/experiments. Even if some of the examples use that site as a URL
index 591b6fc30f638f784e521d1dec5bc81884a7a9ca..bbaa4e4d59b80e97f7df989add546dd7b5879100 100644 (file)
@@ -9,7 +9,7 @@ SPDX-License-Identifier: curl
 Hyper is a separate HTTP library written in Rust. curl can be told to use this
 library as a backend to deal with HTTP.
 
-## Experimental!
+## EXPERIMENTAL
 
 Hyper support in curl is considered **EXPERIMENTAL** until further notice. It
 needs to be explicitly enabled at build-time.
index be7fc9846527eec7b18b6bcde5d819381e7b05a5..35beba6edb13ca21f7ce4cbf80378589de751b32 100644 (file)
@@ -101,7 +101,7 @@ peculiarities of the protocol. It needs documentation.
 
 Maybe it even needs some internal documentation so that the developers who try
 to debug something five years from now can figure out functionality a little
-easier!
+easier.
 
 The protocol specification itself should be freely available without requiring
 a non-disclosure agreement or similar.
index 396fb17e879f630e358f038cd835bfc0a0e9f45c..31efc316560cbd3899a2daee1f24a2d07fd6313e 100644 (file)
@@ -351,7 +351,7 @@ In microseconds. See CURLINFO_STARTTRANSFER_TIME_T(3)
 ## CURLINFO_TLS_SESSION
 
 (**Deprecated**) TLS session info that can be used for further processing. See
-CURLINFO_TLS_SESSION(3). Use CURLINFO_TLS_SSL_PTR(3) instead!
+CURLINFO_TLS_SESSION(3). Use CURLINFO_TLS_SSL_PTR(3) instead.
 
 ## CURLINFO_TLS_SSL_PTR
 
index e9df2469b5493867bdb410c716ed4a7a4da48038..e0fe95cacf1dd90b2bec4b76f435e16deac6d0c1 100644 (file)
@@ -37,7 +37,7 @@ appropriate options, the application can change libcurl's behavior. All
 options are set with an *option* followed by a *parameter*. That parameter can
 be a **long**, a **function pointer**, an **object pointer** or a
 **curl_off_t**, depending on what the specific option expects. Read this
-manual carefully as bad input values may cause libcurl to behave badly! You
+manual carefully as bad input values may cause libcurl to behave badly. You
 can only set one option in each function call. A typical application uses many
 curl_easy_setopt(3) calls in the setup phase.
 
index b6b25993c57d27b2eac19fc80e7896f788d1ae95..2e78ad5d9f074af6d71fa882043310c56ce2e7c2 100644 (file)
@@ -59,7 +59,7 @@ int main(void)
     int decodelen;
     char *decoded = curl_easy_unescape(curl, "%63%75%72%6c", 12, &decodelen);
     if(decoded) {
-      /* do not assume printf() works on the decoded data! */
+      /* do not assume printf() works on the decoded data */
       printf("Decoded: ");
       /* ... */
       curl_free(decoded);
index 6dce68ec6d3c293046a96fc9ad66fff9abb7aed0..c24d1890d493161b0088992002983538f9865b5c 100644 (file)
@@ -26,7 +26,7 @@ char *curl_escape(const char *string, int length);
 
 # DESCRIPTION
 
-Obsolete function. Use curl_easy_escape(3) instead!
+Obsolete function. Use curl_easy_escape(3) instead.
 
 This function converts the given input **string** to a URL encoded string
 and return that as a new allocated string. All input characters that are not
index 6e0993bb002734238e5930411de9de32d1bbd673..b0f82f08c6d5bc655761820ea43c31c9e6f02130 100644 (file)
@@ -105,7 +105,7 @@ you must make sure strlen() on the data pointer returns zero.
 
 ## CURLFORM_CONTENTSLENGTH
 
-(This option is deprecated. Use *CURLFORM_CONTENTLEN* instead!)
+(This option is deprecated. Use *CURLFORM_CONTENTLEN* instead.)
 
 followed by a long giving the length of the contents. Note that for
 *CURLFORM_STREAM* contents, this option is mandatory.
index e431f3aca58d98b28a32adb4e57d5385b8e175ed..d7b4e303d33c1747f7b317bf3cc7a1406ae08502 100644 (file)
@@ -27,7 +27,7 @@ void curl_formfree(struct curl_httppost *form);
 
 # DESCRIPTION
 
-This function is deprecated. Do not use. See curl_mime_init(3) instead!
+This function is deprecated. Do not use. See curl_mime_init(3) instead.
 
 curl_formfree() is used to clean up data previously built/appended with
 curl_formadd(3). This must be called when the data has been used, which
index 4724bba6204e695b304fff7c3018647d4959f83f..ad3efb9d448e956819a409c9b96ef1b5f9d51653 100644 (file)
@@ -44,7 +44,7 @@ return the buffer length passed to it on success.
 
 If the **CURLFORM_STREAM** option is used in the formpost, it prevents
 curl_formget(3) from working until you have performed the actual HTTP request.
-This, because first then does libcurl known which actual read callback to use!
+This, because first then does libcurl known which actual read callback to use.
 
 # %PROTOCOLS%
 
index f59e1218fc5a478d9722d493227388ceed613593..c10ca28034c49a150666c635714de7e8bd1f2033 100644 (file)
@@ -42,7 +42,7 @@ int main(void)
 {
   char *width = curl_getenv("COLUMNS");
   if(width) {
-    /* it was set! */
+    /* it was set */
     curl_free(width);
   }
 }
index 4f62161f44c6db7129a2f573316ce45ecc2d3671..2cfb58148ce73df18e96d2085df2c66eb9cca960 100644 (file)
@@ -40,7 +40,7 @@ int main(void)
 {
   char *width = curl_getenv("COLUMNS");
   if(width) {
-    /* it was set! */
+    /* it was set */
     curl_free(width);
   }
 }
index 6f49abfad7e39fc3a5aae11e1b495c9e12ae3348..4ac22fbeb8b645b9f442a2ff549f21ce4ade9d4e 100644 (file)
@@ -69,7 +69,7 @@ to that man page for documentation.
 # CAUTION
 
 Manipulating these gives considerable powers to the application to severely
-screw things up for libcurl. Take care!
+screw things up for libcurl. Take care.
 
 # %PROTOCOLS%
 
index ef88e4ed2b58f9bd713ced3a6dd3bc8467f10e15..8f1daa8c2646e1e5b56de5125b9d9a16b6f86c2a 100644 (file)
@@ -185,7 +185,7 @@ pointer to a long argument
 
 (ell-ell). A following integer conversion corresponds to a *long long* or
 *unsigned long long* argument, or a following n conversion corresponds to
-a pointer to a long long argument.
+a pointer to a *long long* argument.
 
 ## q
 
index 9b854d146568d76b6f71fd053887673776ca4a04..db7714b0a85bda04c1d9541acccdb81739b36615 100644 (file)
@@ -85,7 +85,7 @@ int main(void)
         break;
       }
 
-    /* if there are still transfers, loop! */
+    /* if there are still transfers, loop */
     } while(still_running);
   }
 }
index 53fe2f7ee2840f51663e6958bd327cd62942cb39..5903a1e1fa8de4ee3af4e0b5ed45b96d53b8822b 100644 (file)
@@ -76,7 +76,7 @@ int main(void)
 
 # DEPRECATED
 
-curl_multi_socket(3) is deprecated, use curl_multi_socket_action(3) instead!
+curl_multi_socket(3) is deprecated, use curl_multi_socket_action(3) instead.
 
 # %AVAILABILITY%
 
index 80eff3590fa24f4986564e9a36da790c4b6c698e..36455fc0be729ba39f7915280227460c2c9fdb63 100644 (file)
@@ -29,7 +29,7 @@ void curl_url_cleanup(CURLU *handle);
 
 # DESCRIPTION
 
-Frees all the resources associated with the given *CURLU* handle!
+Frees all the resources associated with the given *CURLU* handle.
 
 Passing in a NULL pointer in *handle* makes this function return
 immediately with no action.
index 5c0b4b0210bfa58bbff75c10920c312863738a91..28a661a473ce82c0b11d485a1f65071aa6c19754 100644 (file)
@@ -45,7 +45,7 @@ int main(void)
   CURLU *url2;
   rc = curl_url_set(url, CURLUPART_URL, "https://example.com", 0);
   if(!rc) {
-    url2 = curl_url_dup(url); /* clone it! */
+    url2 = curl_url_dup(url); /* clone it */
     curl_url_cleanup(url2);
   }
   curl_url_cleanup(url);
index 012be6ed8771e3efc0be93c15011c723331e83b9..25c5eb9892831f055182b9a45ae04a3bb5655f0b 100644 (file)
@@ -28,7 +28,7 @@ char *curl_version();
 Returns a human readable string with the version number of libcurl and some of
 its important components (like OpenSSL version).
 
-We recommend using curl_version_info(3) instead!
+We recommend using curl_version_info(3) instead.
 
 # %PROTOCOLS%
 
index e994bd497b8682e29e295fe7b3d1e58333869936..1b5e411125817ca8ba5bf927a3879a7f0e23d923 100644 (file)
@@ -60,7 +60,7 @@ The URL was not properly formatted.
 
 ## CURLE_NOT_BUILT_IN (4)
 
-A requested feature, protocol or option was not found built-in in this libcurl
+A requested feature, protocol or option was not found built into this libcurl
 due to a build-time decision. This means that a feature or option was not
 enabled or explicitly disabled when libcurl was built and in order to get it
 to function you have to get a rebuilt libcurl.
@@ -525,7 +525,7 @@ You are doomed.
 
 ## CURLM_INTERNAL_ERROR (4)
 
-This can only be returned if libcurl bugs. Please report it to us!
+This can only be returned if libcurl bugs. Please report it to us.
 
 ## CURLM_BAD_SOCKET (5)
 
index 466506bf961db2aeb982dbf86e657005b07ce38f..e1301698bcf2bd1139fdbd477084bf0d99740af6 100644 (file)
@@ -460,7 +460,7 @@ created.
 libcurl itself uses *fork()* and *execl()* if told to use the
 **CURLAUTH_NTLM_WB** authentication method which then invokes the helper
 command in a child process with file descriptors duplicated. Make sure that
-only the trusted and reliable helper program is invoked!
+only the trusted and reliable helper program is invoked.
 
 This feature was removed from curl in 8.8.0.
 
index 6d00c9c674f2947ea196c8cf3813d45664ac62fb..040059313d6b6836f71520a7d19bb5ccb471afce 100644 (file)
@@ -36,7 +36,7 @@ The share interface was added to enable sharing of data between curl handles.
 
 You can have multiple easy handles share data between them. Have them update
 and use the **same** cookie database, DNS cache, TLS session cache and/or
-connection cache! This way, each single transfer takes advantage from data
+connection cache. This way, each single transfer takes advantage from data
 updates made by the other transfer(s).
 
 # SHARE OBJECT
index 1d9e592470584b876e76a4cac2bfe08f6308bbc6..82de7e7821fd0d6fcc78dd29ccd34d1dc8034662 100644 (file)
@@ -104,7 +104,7 @@ Extracted parts are not URL decoded unless the user also asks for it with the
 *CURLU_URLDECODE* flag set in the fourth bitmask argument.
 
 Remember to free the returned string with curl_free(3) when you are done
-with it!
+with it.
 
 # SET PARTS
 
index 5625aa07d24e749ff776c39b3d77c98dd0310961..b6d4af36e35d750d6978f416a52dcdf5a4190d08 100644 (file)
@@ -119,7 +119,7 @@ a lowercase c). You can find other functions in the library source code, but
 other prefixes indicate that the functions are private and may change without
 further notice in the next release.
 
-Only use documented functions and functionality!
+Only use documented functions and functionality.
 
 # PORTABILITY
 
index 5a71886247fbbef1fc31b8abed0a087448954b89..957f21f4b8b8fda47cf789570d81552bb3564fde 100644 (file)
@@ -51,7 +51,7 @@ int main(void)
   CURL *curl = curl_easy_init();
   if(curl) {
     CURLcode res;
-    long sockfd; /* does not work on win64! */
+    long sockfd; /* does not work on win64 */
     curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
 
     /* Do not do the transfer - only connect to host */
index 9dadae91c725f847ee6f1145e9701dcaec0b3eb2..6e466f77764ead4f8546bfe57a74b74f8194d3a3 100644 (file)
@@ -29,7 +29,7 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PROTOCOL, long *p);
 
 This option is deprecated. We strongly recommend using
 CURLINFO_SCHEME(3) instead, because this option cannot return all
-possible protocols!
+possible protocols.
 
 Pass a pointer to a long to receive the version used in the last http
 connection. The returned value is set to one of the CURLPROTO_* values:
index 1b1d73d88d22f107dd6a4fb2eb6235ac5d6e557f..ee306e8e6b95eab01d92e52f15bb3d6afaae1ae4 100644 (file)
@@ -31,7 +31,7 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_RTSP_SERVER_CSEQ,
 Pass a pointer to a long to receive the next CSeq that is expected to be used
 by the application.
 
-Listening for server initiated requests is not implemented!
+Listening for server initiated requests is not implemented.
 
 Applications wishing to resume an RTSP session on another connection should
 retrieve this info before closing the active connection.
index 5882a9e25cdae68fddc5e7845fd9af9b92285371..7d9af2ea3d2f7c18b1df91bd7d7e74247aa3213d 100644 (file)
@@ -24,7 +24,7 @@ CURLOPT_CHUNK_BGN_FUNCTION - callback before a transfer with FTP wildcard match
 struct curl_fileinfo {
   char *filename;
   curlfiletype filetype;
-  time_t time;   /* always zero! */
+  time_t time;   /* always zero */
   unsigned int perm;
   int uid;
   int gid;
index f5a87f00a2c87104ed35a224874fa151c82e952e..7b2e713afe3bd6b5eda7279ec5f77a07c4239790 100644 (file)
@@ -69,7 +69,7 @@ int main(void)
     curl_easy_setopt(curl, CURLOPT_CONNECT_ONLY, 1L);
     ret = curl_easy_perform(curl);
     if(ret == CURLE_OK) {
-      /* only connected! */
+      /* only connected */
     }
   }
 }
index 3f76eb7e690c75629d1ce1cd431b01ea54265bff..f9c17e8538ae840c9452c70340e9b5e99d6c96d0 100644 (file)
@@ -73,7 +73,7 @@ int main(void)
 
     res = curl_easy_perform(curl);
 
-    /* close the handle, write the cookies! */
+    /* close the handle, write the cookies */
     curl_easy_cleanup(curl);
   }
 }
index f236c3885a965a5117ee9a9e4644c18b05547f61..20670db00acc319c70327e3593d07ebd2aff954d 100644 (file)
@@ -27,7 +27,7 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DNS_USE_GLOBAL_CACHE,
 
 # DESCRIPTION
 
-Has no function since 7.62.0. Do not use!
+Has no function since 7.62.0. Do not use.
 
 Pass a long. If the *enable* value is 1, it tells curl to use a global DNS
 cache that survives between easy handle creations and deletions. This is not
index bcde0e1065ff0d9cb2d9c9e46f3ccd5a3ebc14bb..95227616c5ff4b5b76644e9e13ffad84c03e9933 100644 (file)
@@ -51,7 +51,7 @@ for consistency with the other *VERIFYHOST* options we suggest use 2 and
 not 1.
 
 When the *verify* value is set to 0L, the connection succeeds regardless of
-the names used in the certificate. Use that ability with caution!
+the names used in the certificate. Use that ability with caution.
 
 See also CURLOPT_DOH_SSL_VERIFYPEER(3) to verify the digital signature
 of the DoH server certificate.
index 7601278e465b2c960fbb0283c17c132405f90fd8..f428243ca00b8f8c056fc2cf16cfef85f2fdd4c8 100644 (file)
@@ -50,7 +50,7 @@ retry the CWD command again if the subsequent **MKD** command fails. This is
 especially useful if you are doing many simultaneous connections against the
 same server and they all have this option enabled, as then CWD may first fail
 but then another connection does **MKD** before this connection and thus
-**MKD** fails but trying CWD works!
+**MKD** fails but trying CWD works.
 
 # DEFAULT
 
index 1e078581f6b0dc139929a5410954da10095ca320..d50be758a143d4e7b38da8d63ff8f296577244f7 100644 (file)
@@ -48,7 +48,7 @@ int main(void)
     curl_easy_setopt(curl, CURLOPT_URL,
                      "ftp://example.com/old-server/file.txt");
 
-    /* a drftpd server, do it! */
+    /* a drftpd server, do it */
     curl_easy_setopt(curl, CURLOPT_FTP_USE_PRET, 1L);
 
     res = curl_easy_perform(curl);
index 348f4d99a00ede287cbfae2ceae8ff6208bed6e8..fd81b37c81080973f15baa30bc286427878d15c6 100644 (file)
@@ -48,7 +48,7 @@ It is often better to use CURLOPT_HEADERFUNCTION(3) to get the header
 data separately.
 
 While named confusingly similar, CURLOPT_HTTPHEADER(3) is used to set
-custom HTTP headers!
+custom HTTP headers.
 
 # DEFAULT
 
index 1953f8b8a5cfd5813715e8ff5fcb50267d3bd301..3c7e0a9e54c2aeab938ea1fd31ebc90c3d7b453e 100644 (file)
@@ -45,7 +45,7 @@ header data. The header callback is called once for each header and only
 complete header lines are passed on to the callback. Parsing headers is easy
 to do using this callback. *buffer* points to the delivered data, and the size
 of that data is *nitems*; *size* is always 1. The provided header line is not
-null-terminated! Do not modify the passed in buffer.
+null-terminated. Do not modify the passed in buffer.
 
 The pointer named *userdata* is the one you set with the CURLOPT_HEADERDATA(3)
 option.
index bf2a6f6bc0f47e2960d1390371657a9fd5937c43..9c74c6fa53f6e1aa45f1613c88c8118ddc9510c4 100644 (file)
@@ -64,7 +64,7 @@ int main(void)
 
     /* HTTPS over a proxy makes a separate CONNECT to the proxy, so tell
        libcurl to not send the custom headers to the proxy. Keep them
-       separate! */
+       separate. */
     curl_easy_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE);
     ret = curl_easy_perform(curl);
     curl_slist_free_all(list);
index 28fbe0a9137855f6fcc75b00f0954697c31a9f2d..56c177cfae4e25254d0fe04024b0ca09e7b209a6 100644 (file)
@@ -30,7 +30,7 @@ Pass the long argument *allowed* set to 1L to allow HTTP/0.9 responses.
 
 An HTTP/0.9 response is a server response entirely without headers and only a
 body. You can connect to lots of random TCP services and still get a response
-that curl might consider to be HTTP/0.9!
+that curl might consider to be HTTP/0.9.
 
 # DEFAULT
 
index d3c06457b6b3b76712f516ce5a5de37b274ab0cc..cd49b1b89ef2ac72e6f5ea5c4ed03aefdb463c23 100644 (file)
@@ -35,7 +35,7 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_HTTPHEADER,
 
 Pass a pointer to a linked list of HTTP headers to pass to the server and/or
 proxy in your HTTP request. The same list can be used for both host and proxy
-requests!
+requests.
 
 When used within an IMAP or SMTP request to upload a MIME mail, the given
 header list establishes the document-level MIME headers to prepend to the
index b26a542f7a8f75353e6315d744d5b6e60a15b551..8aa01a9efc313999256b19c8d65eff13f7de38dc 100644 (file)
@@ -57,7 +57,7 @@ The *clientp* argument to the callback is set with the
 CURLOPT_IOCTLDATA(3) option.
 
 **This option is deprecated**. Do not use it. Use CURLOPT_SEEKFUNCTION(3)
-instead to provide seeking! If CURLOPT_SEEKFUNCTION(3) is set, this
+instead to provide seeking. If CURLOPT_SEEKFUNCTION(3) is set, this
 parameter is ignored when seeking.
 
 # DEFAULT
index 58415df12ef254183639fb813394987b1e302a2d..068c6572cd53b3e6302748b325870f45195db824 100644 (file)
@@ -54,7 +54,7 @@ int main(void)
     curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 30L);
     res = curl_easy_perform(curl);
     if(CURLE_OPERATION_TIMEDOUT == res) {
-      printf("Timeout!\n");
+      printf("Timeout.\n");
     }
     /* always cleanup */
     curl_easy_cleanup(curl);
index 04edef33461b7e03b147036a5c487b0ceae547d8..819e7c1ccade65c2643c50edbb0ed4b7caf3da19 100644 (file)
@@ -51,7 +51,7 @@ int main(void)
     curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 30L);
     res = curl_easy_perform(curl);
     if(CURLE_OPERATION_TIMEDOUT == res) {
-      printf("Timeout!\n");
+      printf("Timeout.\n");
     }
     /* always cleanup */
     curl_easy_cleanup(curl);
index a90763012824fde03e9abcb629beb532882c5d02..d28f3dc0ef6f160b2515df314fa6919a9bb1eac6 100644 (file)
@@ -56,7 +56,7 @@ int main(void)
   if(curl) {
     CURLcode ret;
     curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
-    /* refuse to download if larger than 1000 bytes! */
+    /* refuse to download if larger than 1000 bytes */
     curl_easy_setopt(curl, CURLOPT_MAXFILESIZE, 1000L);
     ret = curl_easy_perform(curl);
   }
index 22f3cb065890cc436deb8aed3e5b70f05b2e82bc..4619f272eef7861588c912e13ddb2e1dcd855023 100644 (file)
@@ -58,7 +58,7 @@ int main(void)
     curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
     /* cap the upload speed to 1000 bytes/sec */
     curl_easy_setopt(curl, CURLOPT_MAX_SEND_SPEED_LARGE, (curl_off_t)1000);
-    /* (set some upload options as well!) */
+    /* (set some upload options as well) */
     ret = curl_easy_perform(curl);
   }
 }
index 9e3b3806c2e34b1aafdbc90370de5e6c29b1f5ad..4cd3238bf69e0c477236030f4d897d1b1135c9a4 100644 (file)
@@ -68,7 +68,7 @@ int main(void)
       /* Set the form info */
       curl_easy_setopt(curl, CURLOPT_MIMEPOST, multipart);
 
-      curl_easy_perform(curl); /* post away! */
+      curl_easy_perform(curl); /* post away */
       curl_mime_free(multipart); /* free the post data */
     }
   }
index 0168912add888a3245c8d46c82922bb63fc42dde..e1643fb1b4b81d9203168bd553c202e5acec5c81 100644 (file)
@@ -61,7 +61,7 @@ int main(void)
   if(curl) {
     curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
 
-    /* get us the resource without a body - use HEAD! */
+    /* get us the resource without a body - use HEAD */
     curl_easy_setopt(curl, CURLOPT_NOBODY, 1L);
 
     /* Perform the request */
index 744de5c3fdbd4c0f2b110af3a8ee170ba43450e1..ef78004320e5625180f2f8949fde58a1b5bce2b6 100644 (file)
@@ -16,7 +16,7 @@ Added-in: 7.42.0
 
 # NAME
 
-CURLOPT_PATH_AS_IS - do not handle dot dot sequences
+CURLOPT_PATH_AS_IS - do not handle dot-dot sequences
 
 # SYNOPSIS
 
@@ -35,7 +35,7 @@ This instructs libcurl to NOT squash sequences of "/../" or "/./" that may
 exist in the URL's path part and that is supposed to be removed according to
 RFC 3986 section 5.2.4.
 
-Some server implementations are known to (erroneously) require the dot dot
+Some server implementations are known to (erroneously) require the dot-dot
 sequences to remain in the path and some clients want to pass these on in
 order to try out server implementations.
 
index e631bca9ddb03b9de7fa3605c3090393b8896577..346d9f58ff2cb7913910e9ec51eeb570a78a9d27 100644 (file)
@@ -29,7 +29,7 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROTOCOLS, long bitmask);
 
 This option is deprecated. We strongly recommend using
 CURLOPT_PROTOCOLS_STR(3) instead because this option cannot control all
-available protocols!
+available protocols.
 
 Pass a long that holds a bitmask of CURLPROTO_* defines. If used, this bitmask
 limits what protocols libcurl may use in the transfer. This allows you to have
index d97cd74bfa77c2ff6211571e5f0e55087495a407..0d195daf764505386a53ce4be9f3ccdfb51f7131 100644 (file)
@@ -56,7 +56,7 @@ an error and leaving the flag untouched.
 From 7.66.0: treats 1 and 2 the same.
 
 When the *verify* value is 0L, the connection succeeds regardless of the
-names used in the certificate. Use that ability with caution!
+names used in the certificate. Use that ability with caution.
 
 See also CURLOPT_PROXY_SSL_VERIFYPEER(3) to verify the digital signature
 of the proxy certificate.
index 72e9e75bfcb72b49df927134204db45c6164d46d..9e3c3d1f85494fb7004adee63890989f21cfff3c 100644 (file)
@@ -86,7 +86,7 @@ size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userdata)
   curl_off_t nread;
 
   /* copy as much data as possible into the 'ptr' buffer, but no more than
-     'size' * 'nmemb' bytes! */
+     'size' * 'nmemb' bytes. */
   size_t retcode = fread(ptr, size, nmemb, readhere);
 
   nread = (curl_off_t)retcode;
index 278e4dcd013fbac2efcef279b3491c907ccdd94d..28fd76b102bb90b9e3d855236dd316ad09138419 100644 (file)
@@ -30,7 +30,7 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_REDIR_PROTOCOLS, long bitmask);
 
 This option is deprecated. We strongly recommend using
 CURLOPT_REDIR_PROTOCOLS_STR(3) instead because this option cannot
-control all available protocols!
+control all available protocols.
 
 Pass a long that holds a bitmask of CURLPROTO_* defines. If used, this bitmask
 limits what protocols libcurl may use in a transfer that it follows to in a
index 99a94bce46c98caf9e495dacc4f4dd03a933f699..4173ce624ebb524e6f6dcaf2c828928c7816f1d3 100644 (file)
@@ -123,7 +123,7 @@ int main(void)
   if(curl) {
     CURLcode res;
     curl_easy_setopt(curl, CURLOPT_URL, "rtsp://example.com/");
-    /* ask for options! */
+    /* ask for options */
     curl_easy_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS);
     res = curl_easy_perform(curl);
     curl_easy_cleanup(curl);
index 120b254d5a38f87f9d001f32c147913c4b06e3dd..ea8ff5e30ebd3191822a08ad150913f3c3f33dfe 100644 (file)
@@ -60,7 +60,7 @@ done by instead reading from the input or similar.
 
 If you forward the input arguments directly to fseek(3) or lseek(3), note that
 the data type for *offset* is not the same as defined for curl_off_t on
-many systems!
+many systems.
 
 # DEFAULT
 
index bf7f03710613c74211f8348fe7453ac15cb7c33e..3d815abdb7c0e6fc4e35a4fd105b0ffa32b62399 100644 (file)
@@ -34,7 +34,7 @@ enum curl_khstat {
 
 enum curl_khmatch {
   CURLKHMATCH_OK,       /* match */
-  CURLKHMATCH_MISMATCH, /* host found, key mismatch! */
+  CURLKHMATCH_MISMATCH, /* host found, key mismatch */
   CURLKHMATCH_MISSING,  /* no matching host/key found */
 };
 
index 1ed5a91f1e94ed974ceed81c5e84f070b63166cb..369070269c13791be94b701df11e5de42464f987 100644 (file)
@@ -52,7 +52,7 @@ int main(void)
   if(curl) {
     CURLcode res;
     curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
-    /* switch off session-id use! */
+    /* switch off session-id use */
     curl_easy_setopt(curl, CURLOPT_SSL_SESSIONID_CACHE, 0L);
     res = curl_easy_perform(curl);
     curl_easy_cleanup(curl);
index d9ee57c0d61516120cbb986c27820774ed85337f..aa8653d1c0c621ec6610c18d4d6857a01dca172a 100644 (file)
@@ -53,7 +53,7 @@ int main(void)
   if(curl) {
     CURLcode res;
     curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
-    /* ask for OCSP stapling! */
+    /* ask for OCSP stapling */
     curl_easy_setopt(curl, CURLOPT_SSL_VERIFYSTATUS, 1L);
     res = curl_easy_perform(curl);
     curl_easy_cleanup(curl);
index 99664423d53c28d0f82990855c1edfa4248e212c..1429de1f80f7053182cfc9f44dc6930a529e49f3 100644 (file)
@@ -64,7 +64,7 @@ int main(void)
     curl_easy_setopt(curl2, CURLOPT_URL, "https://example.com/two");
     curl_easy_setopt(curl2, CURLOPT_STREAM_DEPENDS, curl);
 
-    /* then add both to a multi handle and transfer them! */
+    /* then add both to a multi handle and transfer them */
   }
 }
 ~~~
index 158c831a11190507e5b716c53dc9f4a73cdfa0ad..bddfead62f3ada55ae132693e564fe6e3e350558 100644 (file)
@@ -67,7 +67,7 @@ int main(void)
     curl_easy_setopt(curl2, CURLOPT_URL, "https://example.com/two");
     curl_easy_setopt(curl2, CURLOPT_STREAM_DEPENDS_E, curl);
 
-    /* then add both to a multi handle and transfer them! */
+    /* then add both to a multi handle and transfer them */
   }
 }
 ~~~
index 99558a199e1a0c94d42ab43cfc2a6261959a7d55..57088a79067bbd343b2dba26a259dc8f9ef96b8c 100644 (file)
@@ -67,7 +67,7 @@ int main(void)
     curl_easy_setopt(curl2, CURLOPT_URL, "https://example.com/two");
     curl_easy_setopt(curl2, CURLOPT_STREAM_WEIGHT, 20L);
 
-    /* then add both to a multi handle and transfer them! */
+    /* then add both to a multi handle and transfer them */
   }
 }
 ~~~
index 4576d27ff6782fa185959a2acba9ff479b4d2694..eec0906629cd94c796c8fdbf761afddbec7e58ce 100644 (file)
@@ -83,7 +83,7 @@ int main(void)
     /* Set the size of the file to upload */
     curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t)fsize);
 
-    /* Now run off and do what you have been told! */
+    /* Now run off and do what you have been told */
     curl_easy_perform(curl);
   }
 }
index 022f5da0b04adaa0240dbf58e2bf298c450a3d69..3ee11d8e476ef7478af8fed70e5af7490f429c63 100644 (file)
@@ -95,7 +95,7 @@ static size_t cb(char *data, size_t size, size_t nmemb, void *clientp)
 
   char *ptr = realloc(mem->response, mem->size + realsize + 1);
   if(!ptr)
-    return 0;  /* out of memory! */
+    return 0;  /* out of memory */
 
   mem->response = ptr;
   memcpy(&(mem->response[mem->size]), data, realsize);
index d3eadede5dd54a31b8884df6dd3194868f4b6887..824e435b0c9dabe4e41800cfb7309f4189385433 100644 (file)
@@ -545,7 +545,7 @@ If there is no test number found above, the HTTP test server uses the number
 following the last dot in the given hostname (made so that a CONNECT can still
 pass on test number) so that "foo.bar.123" gets treated as test case
 123. Alternatively, if an IPv6 address is provided to CONNECT, the last
-hexadecimal group in the address is used as the test number! For example the
+hexadecimal group in the address is used as the test number. For example the
 address "[1234::ff]" would be treated as test case 255.
 
 Set `type="perl"` to write the test case as a perl script. It implies that
index 7a0dc187acc3e449e828d640f663bf322157d16a..fc3a0b22b2dab26049d40c6e6b28cb331252bdcf 100644 (file)
@@ -85,7 +85,7 @@ There is a lot of [`pytest` documentation](https://docs.pytest.org/) with exampl
 
 In `conftest.py` 3 "fixtures" are defined that are used by all test cases:
 
-1. `env`: the test environment. It is an instance of class `testenv/env.py:Env`. It holds all information about paths, availability of features (HTTP/3!), port numbers to use, domains and SSL certificates for those.
+1. `env`: the test environment. It is an instance of class `testenv/env.py:Env`. It holds all information about paths, availability of features (HTTP/3), port numbers to use, domains and SSL certificates for those.
 2. `httpd`: the Apache httpd instance, configured and started, then stopped at the end of the test suite. It has sites configured for the domains from `env`. It also loads a local module `mod_curltest?` and makes it available in certain locations. (more on mod_curltest below).
 3. `nghttpx`: an instance of nghttpx that provides HTTP/3 support. `nghttpx` proxies those requests to the `httpd` server. In a direct mapping, so you may access all the resources under the same path as with HTTP/2. Only the port number used for HTTP/3 requests will be different.