]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tidy-up: mostly whitespace nits
authorViktor Szakats <commit@vsz.me>
Thu, 31 Aug 2023 13:28:49 +0000 (13:28 +0000)
committerViktor Szakats <commit@vsz.me>
Thu, 31 Aug 2023 23:02:10 +0000 (23:02 +0000)
- delete completed TODO from `./CMakeLists.txt`.
- convert a C++ comment to C89 in `./CMake/CurlTests.c`.
- delete duplicate EOLs from EOF.
- add missing EOL at EOF.
- delete whitespace at EOL (except from expected test results).
- convert tabs to spaces.
- convert CRLF EOLs to LF in GHA yaml.
- text casing fixes in `./CMakeLists.txt`.
- fix a codespell typo in `packages/OS400/initscript.sh`.

Closes #11772

87 files changed:
.github/ISSUE_TEMPLATE/bug_report.yml
.github/scripts/cleanspell.pl
.github/workflows/appveyor-status.yml
.gitignore
CMake/CurlTests.c
CMakeLists.txt
README.md
docs/BUFQ.md
docs/BUGS.md
docs/CONNECTION-FILTERS.md
docs/DEPRECATE.md
docs/HTTP3.md
docs/HYPER.md
docs/cmdline-opts/max-filesize.d
docs/cmdline-opts/variable.d
docs/examples/ipv6.c
docs/libcurl/libcurl-ws.3
docs/libcurl/opts/CURLOPT_HSTSREADFUNCTION.3
docs/libcurl/opts/CURLOPT_UPKEEP_INTERVAL_MS.3
docs/libcurl/opts/Makefile.inc
lib/amigaos.h
lib/cfilters.c
lib/connect.c
lib/sendf.c
m4/curl-bearssl.m4
m4/curl-mbedtls.m4
m4/curl-openssl.m4
m4/curl-rustls.m4
m4/curl-wolfssl.m4
packages/OS400/initscript.sh
projects/Windows/.gitignore
src/var.h
tests/README.md
tests/check-deprecated.pl
tests/check-translatable-options.pl
tests/conftest.py
tests/convsrctest.pl
tests/data/test1015
tests/data/test1016
tests/data/test1017
tests/data/test1018
tests/data/test1019
tests/data/test1020
tests/data/test1026
tests/data/test1063
tests/data/test1100
tests/data/test1129
tests/data/test1130
tests/data/test1131
tests/data/test1289
tests/data/test1412
tests/data/test1447
tests/data/test191
tests/data/test272
tests/data/test549
tests/data/test710
tests/data/test712
tests/data/test713
tests/data/test714
tests/data/test715
tests/data/test719
tests/data/test720
tests/ftpserver.pl
tests/http/.gitignore
tests/http/clients/.gitignore
tests/http/conftest.py
tests/http/requirements.txt
tests/http/test_03_goaway.py
tests/http/test_05_errors.py
tests/http/test_06_eyeballs.py
tests/http/test_07_upload.py
tests/http/test_08_caddy.py
tests/http/test_09_push.py
tests/http/test_10_proxy.py
tests/http/test_13_proxy_auth.py
tests/http/test_15_tracing.py
tests/http/testenv/env.py
tests/http/testenv/mod_curltest/.gitignore
tests/http/testenv/nghttpx.py
tests/http/testenv/ports.py
tests/libtest/Makefile.inc
tests/libtest/lib1662.c
tests/libtest/lib3010.c
tests/libtest/lib677.c
tests/server/.gitignore
winbuild/gen_resp_file.bat
winbuild/makedebug.cmd

index 32d6868e7689deeaa1a6e848827052e04be12336..e74ac081752d36b7827763cf702182db53baa5e4 100644 (file)
@@ -31,9 +31,9 @@ body:
     id: expected-behaviour
     attributes:
       label: I expected the following
-    validations: 
+    validations:
       required: false
-  
+
   - type: textarea
     id: version
     attributes:
index 3e4b9ece9e082abde42b06a63ade7dd12c55a4d6..329a9724038f713c38cff4c4b6d12f4b0439f948 100755 (executable)
@@ -77,4 +77,3 @@ while(<F>) {
 }
 close(F);
 close(O);
-
index 9b638b52ca4cd520f3e15635e696cf92da9147c9..df54422ff7a79ec3ac88b211ca36d6e93fae92fe 100644 (file)
@@ -1,41 +1,41 @@
-# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.\r
-#\r
-# SPDX-License-Identifier: curl\r
-\r
-name: AppVeyor Status Report\r
-\r
-on:\r
-  status\r
-\r
-concurrency:\r
-  group: ${{ github.workflow }}-${{ github.event.sha }}-${{ github.event.target_url }}\r
-  cancel-in-progress: true\r
-\r
-permissions: {}\r
-\r
-jobs:\r
-  split:\r
-    runs-on: ubuntu-latest\r
-    if: ${{ github.event.sender.login == 'appveyor[bot]' }}\r
-    permissions:\r
-      statuses: write\r
-    steps:\r
-      - name: Create individual AppVeyor build statuses\r
-        if: ${{ github.event.sha && github.event.target_url }}\r
-        env:\r
-          APPVEYOR_COMMIT_SHA: ${{ github.event.sha }}\r
-          APPVEYOR_TARGET_URL: ${{ github.event.target_url }}\r
-          APPVEYOR_REPOSITORY: ${{ github.event.repository.full_name }}\r
-          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\r
-        run: |\r
-          echo ${APPVEYOR_TARGET_URL} | sed 's/\/project\//\/api\/projects\//' | xargs -t -n1 curl -s | \\r
-            jq -c '.build.jobs[] | {target_url: ($target_url + "/job/" + .jobId),\r
-                                    context: (.name | sub("^(Environment: )?"; "AppVeyor / ")),\r
-                                    state: (.status | sub("queued"; "pending")\r
-                                                    | sub("starting"; "pending")\r
-                                                    | sub("running"; "pending")\r
-                                                    | sub("failed"; "failure")\r
-                                                    | sub("cancelled"; "error")),\r
-                                    description: .status}' \\r
-                --arg target_url ${APPVEYOR_TARGET_URL} | tee /dev/stderr | parallel --pipe -j 1 -N 1 \\r
-              gh api --silent --input - repos/${APPVEYOR_REPOSITORY}/statuses/${APPVEYOR_COMMIT_SHA}\r
+# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
+#
+# SPDX-License-Identifier: curl
+
+name: AppVeyor Status Report
+
+on:
+  status
+
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.sha }}-${{ github.event.target_url }}
+  cancel-in-progress: true
+
+permissions: {}
+
+jobs:
+  split:
+    runs-on: ubuntu-latest
+    if: ${{ github.event.sender.login == 'appveyor[bot]' }}
+    permissions:
+      statuses: write
+    steps:
+      - name: Create individual AppVeyor build statuses
+        if: ${{ github.event.sha && github.event.target_url }}
+        env:
+          APPVEYOR_COMMIT_SHA: ${{ github.event.sha }}
+          APPVEYOR_TARGET_URL: ${{ github.event.target_url }}
+          APPVEYOR_REPOSITORY: ${{ github.event.repository.full_name }}
+          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        run: |
+          echo ${APPVEYOR_TARGET_URL} | sed 's/\/project\//\/api\/projects\//' | xargs -t -n1 curl -s | \
+            jq -c '.build.jobs[] | {target_url: ($target_url + "/job/" + .jobId),
+                                    context: (.name | sub("^(Environment: )?"; "AppVeyor / ")),
+                                    state: (.status | sub("queued"; "pending")
+                                                    | sub("starting"; "pending")
+                                                    | sub("running"; "pending")
+                                                    | sub("failed"; "failure")
+                                                    | sub("cancelled"; "error")),
+                                    description: .status}' \
+                --arg target_url ${APPVEYOR_TARGET_URL} | tee /dev/stderr | parallel --pipe -j 1 -N 1 \
+              gh api --silent --input - repos/${APPVEYOR_REPOSITORY}/statuses/${APPVEYOR_COMMIT_SHA}
index 7ac6cc28cf389f8a3764d120abb754b00ea28db2..2d5c292325d8e34cf2e75ab90febcac0768b396e 100644 (file)
@@ -65,4 +65,3 @@ curl_fuzzer_seed_corpus.zip
 libstandaloneengine.a
 tests/string
 tests/config
-
index 3dbba3cbb239c954e528da94ae97e43504dac9a3..38be522d5ed3927553c043354fc1ae0adcd25cd6 100644 (file)
@@ -510,7 +510,7 @@ main() {
 int
 main() {
   _Atomic int i = 1;
-  i = 0;  // Force an atomic-write operation.
+  i = 0;  /* Force an atomic-write operation. */
   return i;
 }
 #endif
index 96a03a2206ebb19507ad834d76568a1fb4e9d9b5..077d50fa16e60169c42fdeadf3dcc1f088cd40d5 100644 (file)
@@ -391,21 +391,20 @@ if(WIN32)
 endif()
 
 # check SSL libraries
-# TODO support GnuTLS
 option(CURL_ENABLE_SSL "Enable SSL support" ON)
 
 if(APPLE)
-  cmake_dependent_option(CURL_USE_SECTRANSP "enable Apple OS native SSL/TLS" OFF CURL_ENABLE_SSL OFF)
+  cmake_dependent_option(CURL_USE_SECTRANSP "Enable Apple OS native SSL/TLS" OFF CURL_ENABLE_SSL OFF)
 endif()
 if(WIN32)
-  cmake_dependent_option(CURL_USE_SCHANNEL "enable Windows native SSL/TLS" OFF CURL_ENABLE_SSL OFF)
+  cmake_dependent_option(CURL_USE_SCHANNEL "Enable Windows native SSL/TLS" OFF CURL_ENABLE_SSL OFF)
   cmake_dependent_option(CURL_WINDOWS_SSPI "Use windows libraries to allow NTLM authentication without OpenSSL" ON
     CURL_USE_SCHANNEL OFF)
 endif()
 cmake_dependent_option(CURL_USE_MBEDTLS "Enable mbedTLS for SSL/TLS" OFF CURL_ENABLE_SSL OFF)
 cmake_dependent_option(CURL_USE_BEARSSL "Enable BearSSL for SSL/TLS" OFF CURL_ENABLE_SSL OFF)
-cmake_dependent_option(CURL_USE_WOLFSSL "enable wolfSSL for SSL/TLS" OFF CURL_ENABLE_SSL OFF)
-cmake_dependent_option(CURL_USE_GNUTLS  "Enable GNUTLS for SSL/TLS" OFF CURL_ENABLE_SSL OFF)
+cmake_dependent_option(CURL_USE_WOLFSSL "Enable wolfSSL for SSL/TLS" OFF CURL_ENABLE_SSL OFF)
+cmake_dependent_option(CURL_USE_GNUTLS "Enable GNUTLS for SSL/TLS" OFF CURL_ENABLE_SSL OFF)
 
 set(openssl_default ON)
 if(WIN32 OR CURL_USE_SECTRANSP OR CURL_USE_SCHANNEL OR CURL_USE_MBEDTLS OR CURL_USE_WOLFSSL)
@@ -607,7 +606,7 @@ if(USE_OPENSSL OR USE_WOLFSSL)
   endif()
 endif()
 
-option(USE_NGHTTP2 "Use Nghttp2 library" OFF)
+option(USE_NGHTTP2 "Use nghttp2 library" OFF)
 if(USE_NGHTTP2)
   find_package(NGHTTP2 REQUIRED)
   include_directories(${NGHTTP2_INCLUDE_DIRS})
index e2b1352661a7dd65a13f66a242d72f0d26471612..8e58662603e635c8de4cb75a83530114b1f438cb 100644 (file)
--- a/README.md
+++ b/README.md
@@ -66,4 +66,3 @@ Thank you to all our backers! 🙏 [Become a backer](https://opencollective.com/
 ## Sponsors
 
 Support this project by becoming a [sponsor](https://curl.se/sponsors.html).
-
index c5ff92e6263d94e8932938bcdfc74e8c53d9e102..5ff9e28b8cbadfce9976ee9e5aa9b168c4759db2 100644 (file)
@@ -28,9 +28,8 @@ To pass data into a `bufq` without an extra copy, read callbacks can be used.
 typedef ssize_t Curl_bufq_reader(void *reader_ctx, unsigned char *buf, size_t len,
                                  CURLcode *err);
 
-ssize_t Curl_bufq_slurp(struct bufq *q, Curl_bufq_reader *reader, void *reader_ctx, 
+ssize_t Curl_bufq_slurp(struct bufq *q, Curl_bufq_reader *reader, void *reader_ctx,
                         CURLcode *err);
-
 ```
 
 `Curl_bufq_slurp()` will invoke the given `reader` callback, passing it its own internal
@@ -44,7 +43,7 @@ The analog mechanism for write out buffer data is:
 typedef ssize_t Curl_bufq_writer(void *writer_ctx, const unsigned char *buf, size_t len,
                                  CURLcode *err);
 
-ssize_t Curl_bufq_pass(struct bufq *q, Curl_bufq_writer *writer, void *writer_ctx, 
+ssize_t Curl_bufq_pass(struct bufq *q, Curl_bufq_writer *writer, void *writer_ctx,
                        CURLcode *err);
 ```
 
@@ -106,10 +105,10 @@ If a `bufq` is created with a `bufc_pool`, the no longer used chunks are returne
 
 ## empty, full and overflow
 
-One can ask about the state of a `bufq` with methods such as `Curl_bufq_is_empty(q)`, 
+One can ask about the state of a `bufq` with methods such as `Curl_bufq_is_empty(q)`,
 `Curl_bufq_is_full(q)`, etc. The amount of data held by a `bufq` is the sum of the data in all its chunks. This is what is reported by `Curl_bufq_len(q)`.
 
-Note that a `bufq` length and it being "full" are only loosely related. A simple example: 
+Note that a `bufq` length and it being "full" are only loosely related. A simple example:
 
 * create a `bufq` with chunk_size=1000 and max_chunks=4.
 * write 4000 bytes to it, it will report "full"
@@ -140,5 +139,3 @@ A pool can be shared between many `bufq`s, as long as all of them operate in the
 
 * when all `bufq`s are empty, only memory for `max_spare` chunks in the pool is used. Empty `bufq`s will hold no memory.
 * the latest spare chunk is the first to be handed out again, no matter which `bufq` needs it. This keeps the footprint of "recently used" memory smaller.
-
-
index 9d18ffe9fa1e4e79f20cf1e93b41e81e2641f104..2a8c56fe6216b58b278ae64f8a0ae6bc6fd73fcc 100644 (file)
 
 ## Not reproducible
 
- We may require further work from you who actually see or experience the 
+ We may require further work from you who actually see or experience the
  problem if we cannot reproduce it and cannot understand it even after having
  gotten all the info we need and having studied the source code over again.
 
index cedd37cd7deda5008ce8429f47c06fddf2c63da6..c4b11dbb01dca9196adb4b9f0745f31f7b33996b 100644 (file)
@@ -1,6 +1,6 @@
 # curl connection filters
 
-Connection filters is a design in the internals of curl, not visible in its public API. They were added 
+Connection filters is a design in the internals of curl, not visible in its public API. They were added
 in curl v7.xx.x. This document describes the concepts, its high level implementation and the motivations.
 
 ## Filters
@@ -34,13 +34,13 @@ Direct:
   http://localhost/      conn -> cf-socket
   https://curl.se/       conn -> cf-ssl -> cf-socket
 Via http proxy tunnel:
-  http://localhost/      conn -> cf-http-proxy -> cf-socket 
+  http://localhost/      conn -> cf-http-proxy -> cf-socket
   https://curl.se/       conn -> cf-ssl -> cf-http-proxy -> cf-socket
 Via https proxy tunnel:
-  http://localhost/      conn -> cf-http-proxy -> cf-ssl -> cf-socket 
+  http://localhost/      conn -> cf-http-proxy -> cf-ssl -> cf-socket
   https://curl.se/       conn -> cf-ssl -> cf-http-proxy -> cf-ssl -> cf-socket
 Via http proxy tunnel via SOCKS proxy:
-  http://localhost/      conn -> cf-http-proxy -> cf-socks -> cf-socket 
+  http://localhost/      conn -> cf-http-proxy -> cf-socks -> cf-socket
 ```
 
 ### Connecting/Closing
@@ -50,7 +50,7 @@ Before `Curl_easy` can send the request, the connection needs to be established.
 Each filter does in principle the following:
 
 ```
-static CURLcode 
+static CURLcode
 myfilter_cf_connect(struct Curl_cfilter *cf,
                     struct Curl_easy *data,
                     bool *done)
@@ -63,7 +63,7 @@ myfilter_cf_connect(struct Curl_cfilter *cf,
   }
                                  /* Let the filters below connect */
   result = cf->next->cft->connect(cf->next, data, blocking, done);
-  if(result || !*done)    
+  if(result || !*done)
     return result;               /* below errored/not finished yet */
 
   /* MYFILTER CONNECT THINGS */  /* below connected, do out thing */
index 61607ed7762a9bd95bcab075e467fe741b03da33..5ea36eb57f04ade94a49029c42a1b9598f7f46bc 100644 (file)
@@ -46,4 +46,3 @@ curl will remove the support for space-separated names in July 2024.
  - Support for systems without 64 bit data types
  - NSS
  - gskit
-
index 5b1832f695e6ec7d8fe9bd79f3582427d08ab7a8..12c8ffac2279614e26ea0c7c6d445e4027fe3d84 100644 (file)
@@ -340,7 +340,7 @@ should be either in your PATH or your current directory.
 Create a `Caddyfile` with the following content:
 ~~~
 localhost:7443 {
-       respond "Hello, world! you are using {http.request.proto}"
+  respond "Hello, world! you are using {http.request.proto}"
 }
 ~~~
 
index fe3047d4cb2a0d59150df9faeff9619b886f12bb..1c3b0dded40f3112f389b7cf6ec3634176048d93 100644 (file)
@@ -67,4 +67,3 @@ still need attention and verification include:
 - h2 Upgrade:
 - receiving HTTP/1 trailers
 - sending HTTP/1 trailers
-
index 1900b9d0cbc8074f828f2cdf89c3749e25b7313f..847369d8346ee6e456e6b8474436f06f6dcae946 100644 (file)
@@ -20,4 +20,4 @@ gigabytes. Examples: 200K, 3m and 1G. (Added in 7.58.0)
 
 **NOTE**: The file size is not always known prior to download, and for such
 files this option has no effect even if the file transfer ends up being larger
-than this given limit.
\ No newline at end of file
+than this given limit.
index 77c02a5ba1a0eab01cf4c346bbb63eb2a6ed13b8..03c13212030b74606941edc2064a712e2f5a5c96 100644 (file)
@@ -54,4 +54,3 @@ shows the content URL (percent) encoded.
 expands the variable base64 encoded
 .RE
 .IP
-
index c9b4b1fe279855da13e334d4d1325326cbc93501..49a44fa7ab3098d75c4d37e9452e8009de42110a 100644 (file)
@@ -60,4 +60,3 @@ int main(void)
 #endif
   return 0;
 }
-
index 959bbc7622c56a1c40a8e1f283a52dbebde91c30..dd08f1e90d39f3290b630a6200aa652b3749fb32 100644 (file)
@@ -112,4 +112,3 @@ change API, ABI and behavior before this "goes live".
 .BR curl_ws_meta "(3), " curl_ws_recv "(3), " curl_ws_send "(3), "
 .BR curl_easy_init "(3), " CURLOPT_CONNECT_ONLY "(3), "
 .BR CURLOPT_WRITEFUNCTION "(3)" CURLOPT_WS_OPTIONS "(3), "
-
index 1f1b7d47d1d9cd8dd08f1010f5610d12f5e2204e..0ceb1866c0221358d97097e759575fb8bd9afa32 100644 (file)
@@ -86,4 +86,3 @@ This returns CURLE_OK.
 .SH "SEE ALSO"
 .BR CURLOPT_HSTSREADDATA "(3), " CURLOPT_HSTSWRITEFUNCTION "(3), "
 .BR CURLOPT_HSTS "(3), " CURLOPT_HSTS_CTRL "(3), "
-
index 506600082231091a3e02a73b5b96c1fbe5ef186b..9b35194647387ff0016014e281e34ade0feddd6e 100644 (file)
@@ -80,4 +80,3 @@ Added in 7.62.0
 Returns CURLE_OK
 .SH SEE ALSO
 .BR CURLOPT_TCP_KEEPALIVE "(3), "
-
index 8577b0317f2cd4176a4e18addab1b21f9fbbae0e..eab3c7ef417801ad55e5f209aff3f30beeeef885 100644 (file)
@@ -348,7 +348,7 @@ man_MANS =                                      \
   CURLOPT_SSL_CIPHER_LIST.3                     \
   CURLOPT_SSL_CTX_DATA.3                        \
   CURLOPT_SSL_CTX_FUNCTION.3                    \
-  CURLOPT_SSL_EC_CURVES.3                      \
+  CURLOPT_SSL_EC_CURVES.3                       \
   CURLOPT_SSL_ENABLE_ALPN.3                     \
   CURLOPT_SSL_ENABLE_NPN.3                      \
   CURLOPT_SSL_FALSESTART.3                      \
index 7997ede80e890a03911f9f81572735317ff61828..c99d963ececc5ac3692a3cb074c21ff0a904937f 100644 (file)
@@ -39,4 +39,3 @@ void Curl_amiga_cleanup(void);
 #endif
 
 #endif /* HEADER_CURL_AMIGAOS_H */
-
index 016f35b6431e531d61538e9406367902e384d57d..f74eb400397738017b879fb6c4ba779446124d61 100644 (file)
@@ -646,4 +646,3 @@ size_t Curl_conn_get_max_concurrent(struct Curl_easy *data,
                               &n, NULL) : CURLE_UNKNOWN_OPTION;
   return (result || n <= 0)? 1 : (size_t)n;
 }
-
index d652be8ae23d60c2d025b4bc6abae6d0effb1f7f..033fb7b17d623475d98a838a9bfa1bfc731db4ea 100644 (file)
@@ -1446,4 +1446,3 @@ CURLcode Curl_conn_setup(struct Curl_easy *data,
 out:
   return result;
 }
-
index 437fa74b660dd816f440c7e08c9ddb94b9890449..798a223a140114180019ff0c91de011ef3ea33c0 100644 (file)
@@ -421,4 +421,3 @@ CURLcode Curl_read(struct Curl_easy *data,   /* transfer */
 out:
   return result;
 }
-
index b8c975008d7978f3d31ff581bed77d2aec957091..f2d661de10182c566045f9997e06c98aaab183a6 100644 (file)
@@ -49,7 +49,7 @@ if test "x$OPT_BEARSSL" != xno; then
          BEARSSL_ENABLED=1
          USE_BEARSSL="yes"
          ssl_msg="BearSSL"
-        test bearssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
+         test bearssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
         ], [], -lbearssl)
     fi
 
index 78ed629afc545dd517a493e11979d470d64abb1b..64116e758b246a6e0b11b2634262795a983ff0cd 100644 (file)
@@ -49,7 +49,7 @@ if test "x$OPT_MBEDTLS" != xno; then
          MBEDTLS_ENABLED=1
          USE_MBEDTLS="yes"
          ssl_msg="mbedTLS"
-        test mbedtls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
+         test mbedtls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
         ], [], -lmbedx509 -lmbedcrypto)
     fi
 
index 3cbbb5e8ddd69b31a49690ad18eafef81f2b6de8..83fcb1428a9636554439f9ab5450a7ff83a5fe3c 100644 (file)
@@ -226,7 +226,7 @@ if test "x$OPT_OPENSSL" != xno; then
       AC_CHECK_HEADERS(openssl/x509.h openssl/rsa.h openssl/crypto.h \
                        openssl/pem.h openssl/ssl.h openssl/err.h,
         ssl_msg="OpenSSL"
-       test openssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
+        test openssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
         OPENSSL_ENABLED=1
         AC_DEFINE(USE_OPENSSL, 1, [if OpenSSL is in use]))
 
index 98283bf6c819c3ddaed180152e1a8e2861bbc0c9..75542e4a42770f5840769773db9a080dd11c8049 100644 (file)
@@ -57,7 +57,7 @@ if test "x$OPT_RUSTLS" != xno; then
          RUSTLS_ENABLED=1
          USE_RUSTLS="yes"
          ssl_msg="rustls"
-        test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
+         test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
         ], [], -lpthread -ldl -lm)
     fi
 
index f4aea3fe7e80a70710ebf3798ae5291f0e92f803..f630685bc23565cac8724a47d94c9d2d608d6d77 100644 (file)
@@ -90,16 +90,16 @@ if test "x$OPT_WOLFSSL" != xno; then
 
       AC_MSG_CHECKING([for wolfSSL_Init in -lwolfssl])
       AC_LINK_IFELSE([
-       AC_LANG_PROGRAM([[
+        AC_LANG_PROGRAM([[
 /* These aren't needed for detection and confuse WolfSSL.
    They are set up properly later if it is detected.  */
 #undef SIZEOF_LONG
 #undef SIZEOF_LONG_LONG
 #include <wolfssl/options.h>
 #include <wolfssl/ssl.h>
-       ]],[[
-         return wolfSSL_Init();
-       ]])
+        ]],[[
+          return wolfSSL_Init();
+        ]])
       ],[
          AC_MSG_RESULT(yes)
          AC_DEFINE(USE_WOLFSSL, 1, [if wolfSSL is enabled])
@@ -107,7 +107,7 @@ if test "x$OPT_WOLFSSL" != xno; then
          WOLFSSL_ENABLED=1
          USE_WOLFSSL="yes"
          ssl_msg="WolfSSL"
-        test wolfssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
+         test wolfssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
        ],
        [
          AC_MSG_RESULT(no)
index 935797c411085c8995307507f270ac9c43afec2b..b75055a8dc953b8317fb048f34ea90a0a0e38933 100755 (executable)
@@ -266,7 +266,7 @@ versioned_copy()
 #       The `sed' statement works as follows:
 #       - Join \nl-separated lines.
 #       - Retain only lines that begins with "identifier =".
-#       - Replace @...@ sustitutions by shell variable references.
+#       - Replace @...@ substitutions by shell variable references.
 #       - Turn these lines into shell variable assignments.
 
 get_make_vars()
index cab49e31d3e902374599c5ebe4e9ea3a1811723c..257839afe434c11360ee1c7122941178a0643952 100644 (file)
@@ -6,4 +6,3 @@ VC*/src/*curl.vcproj.dist
 VC*/lib/*curl.vcproj.dist
 VC*/src/*curl.vcxproj.dist
 VC*/lib/*curl.vcxproj.dist
-
index 92124945943c27b01b1791782de31d5913e585fe..4a71943a3c200ed25229e08b3586fc948f72d4aa 100644 (file)
--- a/src/var.h
+++ b/src/var.h
@@ -45,4 +45,3 @@ ParameterError varexpand(struct GlobalConfig *global,
 void varcleanup(struct GlobalConfig *global);
 
 #endif /* HEADER_CURL_VAR_H */
-
index 86597d8beb254355efb02ef78f872a6bd9eee6cc..65af2a0bd9ba32f3cbfbb772e5372143a135c077 100644 (file)
@@ -69,7 +69,7 @@ SPDX-License-Identifier: curl
 
   The HTTP server supports listening on a Unix domain socket, the default
   location is 'http.sock'.
-  
+
   For HTTP/2 and HTTP/3 testing an installed `nghttpx` is used. HTTP/3
   tests check if nghttpx supports the protocol. To override the nghttpx
   used, set the environment variable `NGHTTPX`. The default can also be
@@ -158,7 +158,7 @@ SPDX-License-Identifier: curl
 
   All logs are generated in the log/ subdirectory (it is emptied first in the
   runtests.pl script). They remain in there after a test run.
-  
+
 ### Log Verbosity
 
   A curl build with `--enable-debug` offers more verbose output in the logs.
@@ -166,28 +166,28 @@ SPDX-License-Identifier: curl
   with `curl -v`. While a curl debug built is
   ***not suitable for production***, it is often helpful in tracking down
   problems.
-  
+
   Sometimes, one needs detailed logging of operations, but does not want
   to drown in output. The newly introduced *connection filters* allows one to
   dynamically increase log verbosity for a particular *filter type*. Example:
-  
+
     CURL_DEBUG=ssl curl -v https://curl.se
 
   will make the `ssl` connection filter log more details. One may do that for
-  every filter type and also use a combination of names, separated by `,` or 
+  every filter type and also use a combination of names, separated by `,` or
   space.
-  
+
     CURL_DEBUG=ssl,http/2 curl -v https://curl.se
 
    The order of filter type names is not relevant. Names used here are
    case insensitive. Note that these names are implementation internals and
    subject to change.
-   
+
    Some, likely stable names are `tcp`, `ssl`, `http/2`. For a current list,
    one may search the sources for `struct Curl_cftype` definitions and find
    the names there. Also, some filters are only available with certain build
    options, of course.
-   
+
 ### Test input files
 
   All test cases are put in the `data/` subdirectory. Each test is stored in
index 36d461b4960e2dc57cd637cb2ea566c9e2eefaa0..b26aea8725211eedea850bcb41c6ffb078ea63f9 100755 (executable)
 # You may opt to use, copy, modify, merge, publish, distribute and/or sell
 # copies of the Software, and permit persons to whom the Software is
 # furnished to do so, under the terms of the COPYING file.
-#       
+#
 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
 # KIND, either express or implied.
-#           
+#
 # SPDX-License-Identifier: curl
 #
 #
index cd669636056aa599941a522b1e1e0ff88ed6aaa5..64d036d27299971cc88c852d4743c92ee810a8c3 100755 (executable)
 # You may opt to use, copy, modify, merge, publish, distribute and/or sell
 # copies of the Software, and permit persons to whom the Software is
 # furnished to do so, under the terms of the COPYING file.
-#       
+#
 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
 # KIND, either express or implied.
-#           
+#
 # SPDX-License-Identifier: curl
 #
 #
index 312fcdd6ff197280bbabf75df795fbf7cbaf2c30..713a17423178a322089ad6a2400905694905ed73 100644 (file)
@@ -58,5 +58,3 @@ def pytest_generate_tests(metafunc):
         count = int(metafunc.config.getoption("repeat"))
         metafunc.fixturenames.append('tmp_ct')
         metafunc.parametrize('repeat', range(count))
-
-
index fad922823ca7ad68984bfeb4a7690f375e41e9e6..cdb252aeb08bcb5add7e0464686d8ac27f92eb50 100755 (executable)
@@ -154,20 +154,20 @@ sub generate_c {
         elsif(! $seen_return) {
             if(/CURLOPT_URL/) {
                 # URL is passed in as argument or by global
-               my $var = shift @urlvars;
+                my $var = shift @urlvars;
                 s/\"[^\"]*\"/$var/;
             }
-           s/\bhnd\b/curl/;
+            s/\bhnd\b/curl/;
             # Convert to macro wrapper
             s/curl_easy_setopt/test_setopt/;
-           if(/curl_easy_perform/) {
-               s/\bret\b/res/;
-               push @code, $_;
-               push @code, "test_cleanup:\n";
-           }
-           else {
-               push @code, $_;
-           }
+            if(/curl_easy_perform/) {
+                s/\bret\b/res/;
+                push @code, $_;
+                push @code, "test_cleanup:\n";
+            }
+            else {
+                push @code, $_;
+            }
         }
     }
 
index c9971fcca53702b3919a1fecd39685461fb76856..47f382775d6e7380ef609ad5c5058ceef17e505c 100644 (file)
@@ -28,7 +28,7 @@ http
 --data-urlencode
  </name>
  <command>
-http://%HOSTIP:%HTTPPORT/%TESTNUMBER --data-urlencode "my name is moo[]" --data-urlencode "y e s=s_i_r" --data-urlencode "v_alue@%LOGDIR/%TESTNUMBER.txt" --data-urlencode @%LOGDIR/%TESTNUMBER.txt 
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --data-urlencode "my name is moo[]" --data-urlencode "y e s=s_i_r" --data-urlencode "v_alue@%LOGDIR/%TESTNUMBER.txt" --data-urlencode @%LOGDIR/%TESTNUMBER.txt
 </command>
 <file name="%LOGDIR/%TESTNUMBER.txt">
 content to _?!#$'|<>
index 91ac2da380357eb139f59de426401250cf94a581..d37e585e05d59d115957826a15ca79951ba3bbf9 100644 (file)
@@ -23,7 +23,7 @@ file
 X-Y range on a file:// URL to stdout
  </name>
 <command option="no-include">
--r 1-4 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt 
+-r 1-4 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
 </command>
 <file name="%LOGDIR/test%TESTNUMBER.txt">
 1234567890
index 59614b12f89c9003389e9c41742fe9b0c130993f..bda9c2d49fd76fe815279c5c3bfa2423a5866860 100644 (file)
@@ -24,7 +24,7 @@ file
 0-Y range on a file:// URL to stdout
  </name>
 <command option="no-include">
--r 0-3 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt 
+-r 0-3 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
 </command>
 <file name="%LOGDIR/test%TESTNUMBER.txt">
 1234567890
index 1fde0ca1a53e7f2ab6a70651da3dc852061f8b71..2d0d1574e0a618e3259b2c76bae551e9196c332a 100644 (file)
@@ -23,7 +23,7 @@ file
 X-X range on a file:// URL to stdout
  </name>
 <command option="no-include">
--r 4-4 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt 
+-r 4-4 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
 </command>
 <file name="%LOGDIR/test%TESTNUMBER.txt">
 1234567890
index 87f88f5621ffebf2ba46a90d122d147e68716561..ecf74fe9e60214e3ec5a5e2e09407e1f3a968601 100644 (file)
@@ -24,7 +24,7 @@ file
 X- range on a file:// URL to stdout
  </name>
 <command option="no-include">
--r 7- file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt 
+-r 7- file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
 </command>
 <file name="%LOGDIR/test%TESTNUMBER.txt">
 1234567890
index a17106e9d42fce5d168e972510c5e1ff730dea8a..2a92908d5f5bfeeef15c7a542078386aabe07983 100644 (file)
@@ -24,7 +24,7 @@ file
 -Y range on a file:// URL to stdout
  </name>
 <command option="no-include">
--r -9 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt 
+-r -9 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
 </command>
 <file name="%LOGDIR/test%TESTNUMBER.txt">
 1234567890
index d240f91a9e3819f0ac79f95260fe18816aec7388..f836e9875a2dbf40150e1c61ae58457ef9f80efd 100644 (file)
@@ -20,7 +20,7 @@ manual
 none
 </server>
  <name>
-curl --manual 
+curl --manual
  </name>
  <command>
 --manual
index ae9922a70f7f2d1495c909b134aec70c0a9fb620..8f263c8131f08fe2111b4fd11af850a6ef474496 100644 (file)
@@ -28,7 +28,7 @@ Invalid large X- range on a file://
 # This range value is 2**32+7, which will be truncated to the valid value 7
 # if the large file support is not working correctly
  <command>
--r 4294967303- file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt 
+-r 4294967303- file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
 </command>
 <file name="%LOGDIR/test%TESTNUMBER.txt">
 1234567890
index d6e101b13a0e3666cb717ea0a3b12311c1695f78..774cc9a80ff112df9a82ad39767fa68429953d8e 100644 (file)
@@ -80,7 +80,7 @@ CURL_GETHOSTNAME=curlhost
 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
  </setenv>
  <command>
-http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm -L -d "stuff to send away" 
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --ntlm -L -d "stuff to send away"
 </command>
 <precheck>
 chkhostname curlhost
index 2591be6d352042e6fa978c14020f2fc98713f901..b1ee1066b55c822cb66161b013d1c95e6dc54435 100644 (file)
@@ -31,7 +31,7 @@ Content-Type: text/html
 </data1>
 
 # we use skip to make the test server never read the full payload off
-# the socket and instead return the response at once 
+# the socket and instead return the response at once
 <servercmd>
 skip: 1053700
 </servercmd>
index 1b434326535ea8a6316df78aaaf272b2042fadae..233562546a14b5fcdc8df5dc906b9a56826dfcd8 100644 (file)
@@ -31,7 +31,7 @@ Content-Type: text/html
 </data1>
 
 # we use skip to make the test server never read the full payload off
-# the socket and instead return the response at once 
+# the socket and instead return the response at once
 <servercmd>
 skip: 100
 </servercmd>
index 13140dab47e5e9e7e2b0ef7b2fddaf0cace5fe3e..3235bf5df477d0eadb085b0612c9c6d5470cd09b 100644 (file)
@@ -31,7 +31,7 @@ FAILURE2
 </data1>
 
 # we use skip to make the test server never read the full payload off
-# the socket and instead return the response at once 
+# the socket and instead return the response at once
 <servercmd>
 skip: 100
 </servercmd>
index d679cc0bc81443305140e488cb4ca71de1d05b62..14a41458ab3bacca36d959b310c91ee0c66ffe66 100644 (file)
@@ -27,7 +27,7 @@ http://ur%20[0-60000000000000000000
 
 # Verify data after the test has been "shot"
 <verify>
-# curl: (3) [globbing] bad range in column 
+# curl: (3) [globbing] bad range in column
 <errorcode>
 3
 </errorcode>
index 32737dca17f99dcfae1884b14016f113af7d29b2..41f614415040560220e245f2ee2461b1c347b771 100644 (file)
@@ -91,7 +91,7 @@ http
 crypto
 </features>
  <name>
-HTTP GET with --anyauth with two URLs (picking Digest) 
+HTTP GET with --anyauth with two URLs (picking Digest)
  </name>
  <command>
 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --anyauth http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001
index 8a651f0092acd208a568e3d7d64d41f3a4db8ab7..2a22e558bdc580311f141c6d09990fe9333bd324 100644 (file)
@@ -21,7 +21,7 @@ http
 proxy
 </features>
  <name>
-Provide illegal proxy name 
+Provide illegal proxy name
  </name>
  <command>
 --proxy "http://a:b@/x" http://%HOSTIP:%NOLISTENPORT
index 1fde7687349fe71aba6ce292ad86e365fd0bff5d..e6e701173d3e5129a416b8f8e8f0ba3b9b4bb818 100644 (file)
@@ -18,7 +18,7 @@ data in file
 ftp
 </server>
  <name>
-FTP URL with ?-letters in username and password 
+FTP URL with ?-letters in username and password
  </name>
  <command>
 "ftp://use%3fr:pass%3fword@%HOSTIP:%FTPPORT/%TESTNUMBER"
index c959ff3aea89005cb80665a8bea32697edba44a1..90f9e419876728b0ba0aba5f888d502b241611fc 100644 (file)
@@ -19,7 +19,7 @@ RETR
 ftp
 </server>
  <name>
-FTP timed conditioned get file with identical time stamp 
+FTP timed conditioned get file with identical time stamp
  </name>
  <command>
 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -z "2004 jan 1 12:12:12 UTC"
index 9f6ade6fd40c5a18cafa80b5fa2838ad0f2f5587..c7573a0329aeba6ff7ba7251741f42c663627702 100644 (file)
@@ -42,7 +42,7 @@ FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE
  </name>
 # first URL then proxy
  <command>
-ftp://www.example.com/moo/%TESTNUMBER http://%HOSTIP:%HTTPPORT 
+ftp://www.example.com/moo/%TESTNUMBER http://%HOSTIP:%HTTPPORT
 </command>
 </client>
 
index 6400eefb3859f53654547d461ba22103b4212b8e..20a1af053304f9487dba60e66bc84377b7f2e10c 100644 (file)
@@ -40,7 +40,7 @@ socks5
 HTTP GET via SOCKS5 set with --proxy
  </name>
  <command>
-http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy socks5://%HOSTIP:%SOCKSPORT 
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER --proxy socks5://%HOSTIP:%SOCKSPORT
 </command>
 </client>
 
index dbdf1adbec83eba7d8a12313150675e90772499b..76859f4531f33231c113929d94a8890d57fbc88b 100644 (file)
@@ -30,7 +30,7 @@ socks5
 FTP fetch with --proxy set to socks5://
  </name>
  <command>
-ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --proxy socks5://%HOSTIP:%SOCKSPORT 
+ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --proxy socks5://%HOSTIP:%SOCKSPORT
 </command>
 </client>
 
index 8c94a9cc12adb2f093ad8073ea0d378ca50f3f49..73fd5e956a956fee346614e31ac929b2af595b97 100644 (file)
@@ -31,7 +31,7 @@ socks5
 FTP fetch with --proxy set to socks5:// and with --connect-to
  </name>
  <command>
-ftp://ftp.example.com/%TESTNUMBER --connect-to ::%HOSTIP:%FTPPORT --proxy socks5://%HOSTIP:%SOCKSPORT 
+ftp://ftp.example.com/%TESTNUMBER --connect-to ::%HOSTIP:%FTPPORT --proxy socks5://%HOSTIP:%SOCKSPORT
 </command>
 </client>
 
index 1e042404e2856bb3370099211f26fde7998cf4c4..82e1449f083a1e0cb3b1cc29755bc7a5cda262dc 100644 (file)
@@ -50,7 +50,7 @@ proxy
 FTP fetch with --proxy set to http:// and with --connect-to
  </name>
  <command>
-ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy http://%HOSTIP:%PROXYPORT 
+ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy http://%HOSTIP:%PROXYPORT
 </command>
 </client>
 
index d3d89d514b7a5f9168377c685573b8f531a07d7d..5c62273888d9e65bc71fa5d381b29ca4a18809cd 100644 (file)
@@ -52,7 +52,7 @@ proxy
 FTP fetch with --preproxy, --proxy and --connect-to
  </name>
  <command>
-ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT 
+ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT
 </command>
 </client>
 
index 9aea9f08d5445128f3ff911ca776d6daacabba8f..d42f051b5e14f30db51a3790c3d84aa95d66aeab 100644 (file)
@@ -42,7 +42,7 @@ socks5
 HTTP GET with IPv6 numerical via SOCKS5h
  </name>
  <command>
-http://[2200::33]:%HTTPPORT/%TESTNUMBER --proxy socks5h://%HOSTIP:%SOCKSPORT 
+http://[2200::33]:%HTTPPORT/%TESTNUMBER --proxy socks5h://%HOSTIP:%SOCKSPORT
 </command>
 </client>
 
index 59dfeed4eaaec292a5ed619ae97dfc46663ff7d0..ffdee1d691edc96a63a7199c1ab05e214289bdef 100644 (file)
@@ -41,7 +41,7 @@ socks5
 HTTP GET with IPv4 numerical via SOCKS5h
  </name>
  <command>
-http://12.34.56.78:%HTTPPORT/%TESTNUMBER --proxy socks5h://%HOSTIP:%SOCKSPORT 
+http://12.34.56.78:%HTTPPORT/%TESTNUMBER --proxy socks5h://%HOSTIP:%SOCKSPORT
 </command>
 </client>
 
index 35fa384ff2205707cfb6a7f724d00922d70103e7..eb0b2ec0399fd58e3e5d1f555046bcef243d1a31 100755 (executable)
@@ -873,7 +873,7 @@ sub RCPT_smtp {
               /^<([a-zA-Z0-9._%+-]+)\@(([a-zA-Z0-9-]+)\.)+([a-zA-Z]{2,4})>$/) ||
             ($smtputf8 && $to =~
               /^<([a-zA-Z0-9\x{80}-\x{ff}._%+-]+)\@(([a-zA-Z0-9\x{80}-\x{ff}-]+)\.)+([a-zA-Z]{2,4})>$/)) {
-            sendcontrol "250 Recipient OK\r\n";      
+            sendcontrol "250 Recipient OK\r\n";
         }
         else {
             sendcontrol "501 Invalid address\r\n";
@@ -1820,7 +1820,7 @@ sub LIST_pop3 {
     # This is a built-in fake-message list
     my @data = (
         "1 100\r\n",
-        "2 4294967400\r\n",    # > 4 GB
+        "2 4294967400\r\n",  # > 4 GB
         "3 200\r\n",
     );
 
index 3732aac19def352eecfd1ac1972e7fc04d6d591c..37a847fa93454d45d7e2e1b437e74f68b3a359c5 100644 (file)
@@ -3,4 +3,4 @@
 # SPDX-License-Identifier: curl
 
 config.ini
-gen
\ No newline at end of file
+gen
index 9c08b202a973c17fb33a339d32a091fde1a0d0cf..b54dd3ea9e0fb7a7186e23674e81429a9a9f7630 100644 (file)
@@ -7,4 +7,4 @@ h2-download
 ws-data
 ws-pingpong
 h2-upgrade-extreme
-tls-session-reuse
\ No newline at end of file
+tls-session-reuse
index 09e52e63ad039ca6cb93ce3bcf8662b36feca809..3aca42e66fbe809f9d1b7f5fc3bbe7baee8d24c0 100644 (file)
@@ -84,4 +84,3 @@ def nghttpx_fwd(env, httpd) -> Optional[Nghttpx]:
         assert nghttpx.start()
     yield nghttpx
     nghttpx.stop()
-
index efc3de73c2de2a0382c311f26eb9adb2af4b9ef0..ff49a96297841c1b25561c01311bd1ecd87bea72 100644 (file)
@@ -26,4 +26,4 @@
 pytest
 cryptography
 multipart
-websockets
\ No newline at end of file
+websockets
index 34b8c21a7294f3e26cada3ecdbd357fbf4dd0288..f9d9263bf5ceac097aadeceb540c1facfff490c7 100644 (file)
@@ -140,5 +140,3 @@ class TestGoAway:
                 log.debug(f'request {idx} connected')
         # this should take `count` seconds to retrieve
         assert r.duration >= timedelta(seconds=count)
-
-
index 61579befc462d4389f899adbafde914a5438211e..b59f3f177a70c2cee0bd55a98b82aef0e8c1076a 100644 (file)
@@ -108,4 +108,3 @@ class TestErrors:
         r.check_response(http_status=200, count=1)
         # check that we did a downgrade
         assert r.stats[0]['http_version'] == '1.1', r.dump_logs()
-
index 3eeb0793b9a6e1a490382932be9e77676c812955..8a93440c593550fa3b9cab5cc6992744f077861b 100644 (file)
@@ -112,4 +112,3 @@ class TestEyeballs:
         r.check_response(count=1, http_status=None, exitcode=False)
         assert r.stats[0]['time_connect'] == 0     # no one should have listened
         assert r.stats[0]['time_appconnect'] == 0  # did not happen either
-
index 60963f0ea72e7f6fbe0ba47361529918ce7cf063..eb2ff55e0a07a20facbf99dd95f29b9e0a7c7aea 100644 (file)
@@ -298,7 +298,7 @@ class TestUpload:
             '--cacert', env.ca.cert_file,
             '--request', 'PUT',
             '--digest', '--user', 'test:test',
-            '--data-binary', f'@{fdata}', 
+            '--data-binary', f'@{fdata}',
             '--url', url,
         ])
         assert r.exit_code == 0, r.dump_logs()
index 15741922285a421c9ad4949893bce4c041c0bde0..13adaf4798000eceb229038d4b7ca72888527f26 100644 (file)
@@ -157,4 +157,3 @@ class TestCaddy:
             assert r.total_connects > 1, r.dump_logs()
         else:
             assert r.total_connects == 1, r.dump_logs()
-
index 92d4a59902ac7debc96df0eaf06a9696949de2ef..9007415057bfe2171a164adf4dfa1c69fa402827 100644 (file)
@@ -66,7 +66,7 @@ class TestPush:
         url = f'https://{env.domain1}:{env.https_port}/push/data1'
         r = curl.http_download(urls=[url], alpn_proto='h2', with_stats=False,
                                with_headers=True)
-        r.check_exit_code(0)  
+        r.check_exit_code(0)
         assert len(r.responses) == 2, f'{r.responses}'
         assert r.responses[0]['status'] == 103, f'{r.responses}'
         assert 'link' in r.responses[0]['header'], f'{r.responses[0]}'
index 9cbf35d9663f8b236354ffdc81470d6375780e7d..7f365a925d877adf8f6e7427effb1098bf488ba7 100644 (file)
@@ -248,4 +248,3 @@ class TestProxy:
             assert r.total_connects == 2
         else:
             assert r.total_connects == 2
-
index 34680170b933f6907c1f13328dd5e62dcb0ec489..554006fdea3f0d41cc71f709cca5524e0cc27c98 100644 (file)
@@ -157,4 +157,3 @@ class TestProxyAuth:
                          protocol='HTTP/2' if proto == 'h2' else 'HTTP/1.1')
         assert self.get_tunnel_proto_used(r) == 'HTTP/2' \
             if tunnel == 'h2' else 'HTTP/1.1'
-
index dd2484ea4701d79ea17e568b085762d56cab2c8d..a82604423236c63521eec8ad661493c9a007ffe1 100644 (file)
@@ -109,4 +109,4 @@ class TestTracing:
             if m is not None:
                 found_tcp = True
         if found_tcp:
-            assert False, f'TCP filter appears in trace "all,-tcp": {r.stderr}'
\ No newline at end of file
+            assert False, f'TCP filter appears in trace "all,-tcp": {r.stderr}'
index b2ed4e60bdb823fbd8b2dd3c4a321aa972d84024..a366ea53f674a708b532823c10fd5eb39a87b108 100644 (file)
@@ -469,4 +469,3 @@ class Env:
             pytest.exit(f"`make`in {client_dir} failed:\n{p.stderr}")
             return False
         return True
-
index 06186631a06072511e2b07b8979f1e8cc710346c..8774a09325ee48c82d99a2abd5126d477a4a131c 100644 (file)
@@ -2,4 +2,4 @@
 #
 # SPDX-License-Identifier: curl
 
-*.slo
\ No newline at end of file
+*.slo
index 234b31c0ebc09e473942965af104fd03eb9d2f8c..4be060b567a29f027bd64267e7278608c613884a 100644 (file)
@@ -256,4 +256,3 @@ class NghttpxFwd(Nghttpx):
             time.sleep(.1)
         log.error(f"Server still not responding after {timeout}")
         return False
-
index b7e8d97f1094be95d571f430088812c580b6ca7f..d6f9a3c21843922885d0faef9ff456226ff80ded 100644 (file)
@@ -45,5 +45,3 @@ def alloc_ports(port_specs: Dict[str, int]) -> Dict[str, int]:
     for s in socks:
         s.close()
     return ports
-
-
index c9b52392a6d794525c615c6631811ed456e8679a..f13e017b07edd42b2140fffc61a34e4b815dfdb8 100644 (file)
@@ -686,4 +686,3 @@ lib3100_LDADD = $(TESTUTIL_LIBS)
 
 lib3101_SOURCES = lib3101.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS)
 lib3101_LDADD = $(TESTUTIL_LIBS)
-
index b7f8cacd3cb9898f2303696f434befb969c940f1..93c0800330a35fd94b0b5b5679f343a9f5485daa 100644 (file)
@@ -88,4 +88,3 @@ int test(char *URL)
   curl_global_cleanup();
   return (int)res;
 }
-
index 17c90cc30bf7e3ae906fc0e457704bc910dc4772..598b79fcc9274a3af8fb1dbbc545a130fe1dbdfe 100644 (file)
@@ -65,4 +65,3 @@ test_cleanup:
 
   return ret;
 }
-
index 94530b9a7e3b8b7cf975126acc4591659b76f6d3..b4ca93e1afbade87898d9c725fc0d531587ab0a0 100644 (file)
@@ -119,4 +119,3 @@ fail:
   curl_global_cleanup();
   return 0;
 }
-
index fee192546e8745e7ff8ee770f6c23c58ab2a60a2..3149a27180a3187d9f9397528723226bb4196c0d 100644 (file)
@@ -11,4 +11,4 @@ sws
 tftpd
 socksd
 disabled
-mqttd
\ No newline at end of file
+mqttd
index 157a1d979f26a7efa01265f2157de6e3c81d280e..d0735daac6a0b19af9b4f7fd3a46f958fe3e2439 100755 (executable)
@@ -18,7 +18,7 @@ rem * furnished to do so, under the terms of the COPYING file.
 rem *
 rem * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
 rem * KIND, either express or implied.
-rem * 
+rem *
 rem * SPDX-License-Identifier: curl
 rem *
 rem ***************************************************************************
@@ -28,7 +28,7 @@ if exist %OUTFILE% (
 )
 
 echo %MACRO_NAME% = \> %OUTFILE%
-for %%i in (%*) do echo                %DIROBJ%/%%i \>>  %OUTFILE%
-echo. >>  %OUTFILE%
+for %%i in (%*) do echo                %DIROBJ%/%%i \>> %OUTFILE%
+echo. >> %OUTFILE%
 
 :END
index 39acd58454757390c65a6ccf928044a9012836fc..3f523c82f92f229c0349cee3fbbdb428120565db 100644 (file)
@@ -18,7 +18,7 @@ rem * furnished to do so, under the terms of the COPYING file.
 rem *
 rem * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
 rem * KIND, either express or implied.
-rem * 
+rem *
 rem * SPDX-License-Identifier: curl
 rem *
 rem ***************************************************************************
@@ -29,7 +29,7 @@ IF %ERRORLEVEL% == 1 (
   ECHO Error: Can't find `nmake.exe` - be sure to run this script from within a Developer Command-Prompt
   ECHO.
 ) ELSE (
-  nmake /f Makefile.vc mode=static DEBUG=yes GEN_PDB=yes 
+  nmake /f Makefile.vc mode=static DEBUG=yes GEN_PDB=yes
   IF %ERRORLEVEL% NEQ 0 (
     ECHO "Error: Build Failed"
   )