]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
spelling: use 'reuse' not 're-use' in code and elsewhere
authorDaniel Stenberg <daniel@haxx.se>
Wed, 23 Aug 2023 12:47:45 +0000 (14:47 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 23 Aug 2023 21:22:36 +0000 (23:22 +0200)
Unify the spelling as both versions were previously used intermittently

Closes #11717

38 files changed:
lib/c-hyper.c
lib/cf-h1-proxy.c
lib/cf-socket.c
lib/easy.c
lib/ftp.c
lib/hostip.c
lib/http.c
lib/ldap.c
lib/multi.c
lib/transfer.c
lib/url.c
lib/urldata.h
lib/vssh/libssh.c
lib/vssh/libssh2.c
lib/vssh/wolfssh.c
lib/vtls/bearssl.c
lib/vtls/gtls.c
lib/vtls/mbedtls.c
lib/vtls/openssl.c
lib/vtls/schannel.c
lib/vtls/sectransp.c
lib/vtls/vtls.c
lib/vtls/wolfssl.c
src/Makefile.inc
tests/data/test1096
tests/data/test1134
tests/data/test1418
tests/data/test1419
tests/data/test1542
tests/data/test1632
tests/data/test2046
tests/data/test2047
tests/data/test2306
tests/data/test435
tests/data/test675
tests/data/test836
tests/data/test882
tests/data/test938

index a47a03e126d3e5845c77a3d96499d01026cb52eb..18d9206ca7966e4fc2fd6f7a6821e1a2aaf50ae9 100644 (file)
@@ -1228,8 +1228,8 @@ CURLcode Curl_http(struct Curl_easy *data, bool *done)
        the full request has been sent. */
     data->req.start100 = Curl_now();
 
-  /* clear userpwd and proxyuserpwd to avoid re-using old credentials
-   * from re-used connections */
+  /* clear userpwd and proxyuserpwd to avoid reusing old credentials
+   * from reused connections */
   Curl_safefree(data->state.aptr.userpwd);
   Curl_safefree(data->state.aptr.proxyuserpwd);
   return CURLE_OK;
index 621d55332b6e4740bb40f552b7e0f8b668fd3087..981ef228da84d64090cae78605400a25acfc402e 100644 (file)
@@ -1045,7 +1045,7 @@ static CURLcode H1_CONNECT(struct Curl_cfilter *cf,
   if(data->info.httpproxycode/100 != 2) {
     /* a non-2xx response and we have no next url to try. */
     Curl_safefree(data->req.newurl);
-    /* failure, close this connection to avoid re-use */
+    /* failure, close this connection to avoid reuse */
     streamclose(conn, "proxy CONNECT failure");
     h1_tunnel_go_state(cf, ts, H1_TUNNEL_FAILED, data);
     failf(data, "CONNECT tunnel failed, response %d", data->req.httpcode);
index 860474190ae2c3f42d07682ba90fbf25cd9624d8..2d6189cb7fadb6ae7bcec7e4774a8f0fdf7d26f0 100644 (file)
@@ -629,7 +629,7 @@ static CURLcode bindlocal(struct Curl_easy *data, struct connectdata *conn,
       if(port == 0)
         break;
       infof(data, "Bind to local port %d failed, trying next", port - 1);
-      /* We re-use/clobber the port variable here below */
+      /* We reuse/clobber the port variable here below */
       if(sock->sa_family == AF_INET)
         si4->sin_port = ntohs(port);
 #ifdef ENABLE_IPV6
index 407f9c3406e6280e97db1b90c46661109d9163b3..ea8a18222d83995d322677418bdb6e7a0b484605 100644 (file)
@@ -715,7 +715,7 @@ static CURLcode easy_transfer(struct Curl_multi *multi)
  *
  * REALITY: it can't just create and destroy the multi handle that easily. It
  * needs to keep it around since if this easy handle is used again by this
- * function, the same multi handle must be re-used so that the same pools and
+ * function, the same multi handle must be reused so that the same pools and
  * caches can be used.
  *
  * DEBUG: if 'events' is set TRUE, this function will use a replacement engine
index aaf26d5494ad5ae402b22323cb3307f38b26532d..adb2ebd99c6fe688cc33477ce65ae016802e3560 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -862,7 +862,7 @@ static CURLcode ftp_state_cwd(struct Curl_easy *data,
     if(conn->bits.reuse && ftpc->entrypath &&
        /* no need to go to entrypath when we have an absolute path */
        !(ftpc->dirdepth && ftpc->dirs[0][0] == '/')) {
-      /* This is a re-used connection. Since we change directory to where the
+      /* This is a reused connection. Since we change directory to where the
          transfer is taking place, we must first get back to the original dir
          where we ended up after login: */
       ftpc->cwdcount = 0; /* we count this as the first path, then we add one
@@ -1897,7 +1897,7 @@ static CURLcode ftp_state_pasv_resp(struct Curl_easy *data,
     if(data->set.ftp_skip_ip) {
       /* told to ignore the remotely given IP but instead use the host we used
          for the control connection */
-      infof(data, "Skip %u.%u.%u.%u for data connection, re-use %s instead",
+      infof(data, "Skip %u.%u.%u.%u for data connection, reuse %s instead",
             ip[0], ip[1], ip[2], ip[3],
             conn->host.name);
       ftpc->newhost = strdup(control_address(conn));
index 47f07160139433c53ad8c190f9cf84f020084c63..2b854d79d9b725b4580ae04080b1790c8abe9ecd 100644 (file)
@@ -601,7 +601,7 @@ bool Curl_ipv6works(struct Curl_easy *data)
   if(data) {
     /* the nature of most system is that IPv6 status doesn't come and go
        during a program's lifetime so we only probe the first time and then we
-       have the info kept for fast re-use */
+       have the info kept for fast reuse */
     DEBUGASSERT(data);
     DEBUGASSERT(data->multi);
     if(data->multi->ipv6_up == IPV6_UNKNOWN) {
index 8e370a78207b4886511c08ccff3eb29d909f5646..e4a0372727c7557300aed98318428f6a51724783 100644 (file)
@@ -1531,7 +1531,7 @@ CURLcode Curl_http_connect(struct Curl_easy *data, bool *done)
   struct connectdata *conn = data->conn;
 
   /* We default to persistent connections. We set this already in this connect
-     function to make the re-use checks properly be able to check this bit. */
+     function to make the reuse checks properly be able to check this bit. */
   connkeep(conn, "HTTP default");
 
   return Curl_conn_connect(data, FIRSTSOCKET, FALSE, done);
@@ -3035,7 +3035,7 @@ CURLcode Curl_http_firstwrite(struct Curl_easy *data,
       *done = TRUE;
       return CURLE_OK;
     }
-    /* We have a new url to load, but since we want to be able to re-use this
+    /* We have a new url to load, but since we want to be able to reuse this
        connection properly, we read the full response in "ignore more" */
     k->ignorebody = TRUE;
     infof(data, "Ignoring the response-body");
@@ -3075,7 +3075,7 @@ CURLcode Curl_http_firstwrite(struct Curl_easy *data,
       data->info.httpcode = 304;
       infof(data, "Simulate an HTTP 304 response");
       /* we abort the transfer before it is completed == we ruin the
-         re-use ability. Close the connection */
+         reuse ability. Close the connection */
       streamclose(conn, "Simulated 304 handling");
       return CURLE_OK;
     }
@@ -3319,8 +3319,8 @@ CURLcode Curl_http(struct Curl_easy *data, bool *done)
                   altused ? altused : ""
       );
 
-  /* clear userpwd and proxyuserpwd to avoid re-using old credentials
-   * from re-used connections */
+  /* clear userpwd and proxyuserpwd to avoid reusing old credentials
+   * from reused connections */
   Curl_safefree(data->state.aptr.userpwd);
   Curl_safefree(data->state.aptr.proxyuserpwd);
   free(altused);
index 6b30ffb6abbd760e25fc6bed3ec0e3fde79bb034..ae400726b1be3c96b9e9a8cfba31ea64a39deb27 100644 (file)
@@ -762,7 +762,7 @@ quit:
 
   /* no data to transfer */
   Curl_setup_transfer(data, -1, -1, FALSE, -1);
-  connclose(conn, "LDAP connection always disable re-use");
+  connclose(conn, "LDAP connection always disable reuse");
 
   return result;
 }
index 503bfdf0fbdb9399d3077504ad21b176cb0baab4..736941b7b4338198a8323a60b06cde81baf44aa5 100644 (file)
@@ -752,7 +752,7 @@ static CURLcode multi_done(struct Curl_easy *data,
 
      if premature is TRUE, it means this connection was said to be DONE before
      the entire request operation is complete and thus we can't know in what
-     state it is for re-using, so we're forced to close it. In a perfect world
+     state it is for reusing, so we're forced to close it. In a perfect world
      we can add code that keep track of if we really must close it here or not,
      but currently we have no such detail knowledge.
   */
@@ -769,7 +769,7 @@ static CURLcode multi_done(struct Curl_easy *data,
 #endif
      ) || conn->bits.close
        || (premature && !Curl_conn_is_multiplex(conn, FIRSTSOCKET))) {
-    DEBUGF(infof(data, "multi_done, not re-using connection=%"
+    DEBUGF(infof(data, "multi_done, not reusing connection=%"
                        CURL_FORMAT_CURL_OFF_T ", forbid=%d"
                        ", close=%d, premature=%d, conn_multiplex=%d",
                  conn->connection_id,
@@ -2471,7 +2471,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
 
       if(done || (result == CURLE_RECV_ERROR)) {
         /* If CURLE_RECV_ERROR happens early enough, we assume it was a race
-         * condition and the server closed the re-used connection exactly when
+         * condition and the server closed the reused connection exactly when
          * we wanted to use it, so figure out if that is indeed the case.
          */
         CURLcode ret = Curl_retry_request(data, &newurl);
@@ -2513,7 +2513,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
       if(result) {
         /*
          * The transfer phase returned error, we mark the connection to get
-         * closed to prevent being re-used. This is because we can't possibly
+         * closed to prevent being reused. This is because we can't possibly
          * know if the connection is in a good shape or not now.  Unless it is
          * a protocol which uses two "channels" like FTP, as then the error
          * happened in the data connection.
index f6b5c0f3e6f123f951388ac9071d5ca73c685591..0f49631f7fa9cc166e0855ef287b2e28addbf127 100644 (file)
@@ -1396,7 +1396,7 @@ CURLcode Curl_pretransfer(struct Curl_easy *data)
     Curl_pgrsResetTransferSizes(data);
     Curl_pgrsStartNow(data);
 
-    /* In case the handle is re-used and an authentication method was picked
+    /* In case the handle is reused and an authentication method was picked
        in the session we need to make sure we only use the one(s) we now
        consider to be fine */
     data->state.authhost.picked &= data->state.authhost.want;
@@ -1786,7 +1786,7 @@ CURLcode Curl_retry_request(struct Curl_easy *data, char **url)
      && (data->set.rtspreq != RTSPREQ_RECEIVE)
 #endif
     )
-    /* We got no data, we attempted to re-use a connection. For HTTP this
+    /* We got no data, we attempted to reuse a connection. For HTTP this
        can be a retry so we try again regardless if we expected a body.
        For other protocols we only try again only if we expected a body.
 
index 38a60122540dc50c740489ec699529dcea8648e5..f8a216b68e7f91c3b41d889be9d2c6ceb01b0131 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -1103,7 +1103,7 @@ ConnectionExists(struct Curl_easy *data,
           infof(data, "Server doesn't support multiplex yet, wait");
           *waitpipe = TRUE;
           CONNCACHE_UNLOCK(data);
-          return FALSE; /* no re-use */
+          return FALSE; /* no reuse */
         }
 
         infof(data, "Server doesn't support multiplex (yet)");
@@ -1160,7 +1160,7 @@ ConnectionExists(struct Curl_easy *data,
 
         if(Curl_resolver_asynch() &&
            /* primary_ip[0] is NUL only if the resolving of the name hasn't
-              completed yet and until then we don't re-use this connection */
+              completed yet and until then we don't reuse this connection */
            !check->primary_ip[0])
           continue;
       }
@@ -1246,7 +1246,7 @@ ConnectionExists(struct Curl_easy *data,
           infof(data, "Server upgrade doesn't support multiplex yet, wait");
           *waitpipe = TRUE;
           CONNCACHE_UNLOCK(data);
-          return FALSE; /* no re-use */
+          return FALSE; /* no reuse */
         }
         infof(data, "Server upgrade cannot be used");
         continue; /* can't be used atm */
@@ -1268,14 +1268,14 @@ ConnectionExists(struct Curl_easy *data,
 
       if(needle->localdev || needle->localport) {
         /* If we are bound to a specific local end (IP+port), we must not
-           re-use a random other one, although if we didn't ask for a
+           reuse a random other one, although if we didn't ask for a
            particular one we can reuse one that was bound.
 
            This comparison is a bit rough and too strict. Since the input
            parameters can be specified in numerous ways and still end up the
            same it would take a lot of processing to make it really accurate.
-           Instead, this matching will assume that re-uses of bound connections
-           will most likely also re-use the exact same binding parameters and
+           Instead, this matching will assume that reuses of bound connections
+           will most likely also reuse the exact same binding parameters and
            missing out a few edge cases shouldn't hurt anyone very much.
         */
         if((check->localport != needle->localport) ||
@@ -2130,7 +2130,7 @@ static char *detect_proxy(struct Curl_easy *data,
 
 /*
  * If this is supposed to use a proxy, we need to figure out the proxy
- * host name, so that we can re-use an existing connection
+ * host name, so that we can reuse an existing connection
  * that may exist registered to the same proxy host.
  */
 static CURLcode parse_proxy(struct Curl_easy *data,
@@ -2451,7 +2451,7 @@ static CURLcode create_conn_helper_init_proxy(struct Curl_easy *data,
 
   /***********************************************************************
    * If this is supposed to use a proxy, we need to figure out the proxy host
-   * name, proxy type and port number, so that we can re-use an existing
+   * name, proxy type and port number, so that we can reuse an existing
    * connection that may exist registered to the same proxy host.
    ***********************************************************************/
   if(proxy || socksproxy) {
@@ -3269,7 +3269,7 @@ static CURLcode resolve_server(struct Curl_easy *data,
   /* Resolve the name of the server or proxy */
   if(conn->bits.reuse) {
     /* We're reusing the connection - no need to resolve anything, and
-       idnconvert_hostname() was called already in create_conn() for the re-use
+       idnconvert_hostname() was called already in create_conn() for the reuse
        case. */
     *async = FALSE;
     return CURLE_OK;
@@ -3288,7 +3288,7 @@ static void reuse_conn(struct Curl_easy *data,
                        struct connectdata *existing)
 {
   /* get the user+password information from the temp struct since it may
-   * be new for this request even when we re-use an existing connection */
+   * be new for this request even when we reuse an existing connection */
   if(temp->user) {
     /* use the new user name and password though */
     Curl_safefree(existing->user);
@@ -3348,14 +3348,14 @@ static void reuse_conn(struct Curl_easy *data,
   existing->hostname_resolve = temp->hostname_resolve;
   temp->hostname_resolve = NULL;
 
-  /* re-use init */
-  existing->bits.reuse = TRUE; /* yes, we're re-using here */
+  /* reuse init */
+  existing->bits.reuse = TRUE; /* yes, we're reusing here */
 
   conn_free(data, temp);
 }
 
 /**
- * create_conn() sets up a new connectdata struct, or re-uses an already
+ * create_conn() sets up a new connectdata struct, or reuses an already
  * existing one, and resolves host name.
  *
  * if this function returns CURLE_OK and *async is set to TRUE, the resolve
@@ -3667,7 +3667,7 @@ static CURLcode create_conn(struct Curl_easy *data,
 
   /*************************************************************
    * Check the current list of connections to see if we can
-   * re-use an already existing one or if we have to create a
+   * reuse an already existing one or if we have to create a
    * new one.
    *************************************************************/
 
@@ -3675,7 +3675,7 @@ static CURLcode create_conn(struct Curl_easy *data,
   DEBUGASSERT(conn->passwd);
 
   /* reuse_fresh is TRUE if we are told to use a new connection by force, but
-     we only acknowledge this option if this is not a re-used connection
+     we only acknowledge this option if this is not a reused connection
      already (which happens due to follow-location or during an HTTP
      authentication phase). CONNECT_ONLY transfers also refuse reuse. */
   if((data->set.reuse_fresh && !data->state.followlocation) ||
index d86bd9d5c0dcc492a0cf4e0b69bf501763a309c7..25ccee88f6444f87655414ce2c1f12072602d89b 100644 (file)
@@ -495,7 +495,7 @@ struct ConnectBits {
 #endif
   /* always modify bits.close with the connclose() and connkeep() macros! */
   BIT(close); /* if set, we close the connection after this request */
-  BIT(reuse); /* if set, this is a re-used connection */
+  BIT(reuse); /* if set, this is a reused connection */
   BIT(altused); /* this is an alt-svc "redirect" */
   BIT(conn_to_host); /* if set, this connection has a "connect to host"
                         that overrides the host in the URL */
@@ -894,7 +894,7 @@ struct connectdata {
 
   /* 'dns_entry' is the particular host we use. This points to an entry in the
      DNS cache and it will not get pruned while locked. It gets unlocked in
-     multi_done(). This entry will be NULL if the connection is re-used as then
+     multi_done(). This entry will be NULL if the connection is reused as then
      there is no name resolve done. */
   struct Curl_dns_entry *dns_entry;
 
@@ -1057,7 +1057,7 @@ struct connectdata {
   /* When this connection is created, store the conditions for the local end
      bind. This is stored before the actual bind and before any connection is
      made and will serve the purpose of being used for comparison reasons so
-     that subsequent bound-requested connections aren't accidentally re-using
+     that subsequent bound-requested connections aren't accidentally reusing
      wrong connections. */
   char *localdev;
   unsigned short localportrange;
@@ -1878,7 +1878,7 @@ struct UserDefined {
   BIT(verbose);        /* output verbosity */
   BIT(krb);            /* Kerberos connection requested */
   BIT(reuse_forbid);   /* forbidden to be reused, close after use */
-  BIT(reuse_fresh);    /* do not re-use an existing connection  */
+  BIT(reuse_fresh);    /* do not reuse an existing connection  */
   BIT(no_signal);      /* do not use any signal/alarm handler */
   BIT(tcp_nodelay);    /* whether to enable TCP_NODELAY or not */
   BIT(ignorecl);       /* ignore content length */
index 722b313359a7f33aa9a5fa9800b502a4de3d31ed..dea0084575859bcb960f315d9b5eea4bec4508f4 100644 (file)
@@ -2183,7 +2183,7 @@ static CURLcode myssh_connect(struct Curl_easy *data, bool *done)
     myssh_setup_connection(data, conn);
 
   /* We default to persistent connections. We set this already in this connect
-     function to make the re-use checks properly be able to check this bit. */
+     function to make the reuse checks properly be able to check this bit. */
   connkeep(conn, "SSH default");
 
   if(conn->handler->protocol & CURLPROTO_SCP) {
index 0dd7eba91a8c835da8674ccd5f70c23ed1145bee..37040b4b77b034a066bcd53d4c06052f32d10ae3 100644 (file)
@@ -3252,7 +3252,7 @@ static CURLcode ssh_connect(struct Curl_easy *data, bool *done)
   }
 
   /* We default to persistent connections. We set this already in this connect
-     function to make the re-use checks properly be able to check this bit. */
+     function to make the reuse checks properly be able to check this bit. */
   connkeep(conn, "SSH default");
 
   sshc = &conn->proto.sshc;
index b47c2317e51e7d5af1cb4fe17ffb1fd30d8d7f87..306d299bcf18f082514116ffd058c051789453b3 100644 (file)
@@ -374,7 +374,7 @@ static CURLcode wssh_connect(struct Curl_easy *data, bool *done)
     wssh_setup_connection(data, conn);
 
   /* We default to persistent connections. We set this already in this connect
-     function to make the re-use checks properly be able to check this bit. */
+     function to make the reuse checks properly be able to check this bit. */
   connkeep(conn, "SSH default");
 
   if(conn->handler->protocol & CURLPROTO_SCP) {
index 9ab55dca8c40477b6fcee0617ba47272659f7a8a..934149c1b0643aea3e67ecb6124e7da5cb2b0456 100644 (file)
@@ -688,7 +688,7 @@ static CURLcode bearssl_connect_step1(struct Curl_cfilter *cf,
     if(!Curl_ssl_getsessionid(cf, data, &session, NULL)) {
       br_ssl_engine_set_session_parameters(&backend->ctx.eng, session);
       session_set = 1;
-      infof(data, "BearSSL: re-using session ID");
+      infof(data, "BearSSL: reusing session ID");
     }
     Curl_ssl_sessionid_unlock(data);
   }
index f6f1e10d9965425122913228306e73f3227e323a..e48346903c7f906a740dc6217df69201d79626e4 100644 (file)
@@ -735,7 +735,7 @@ gtls_connect_step1(struct Curl_cfilter *cf, struct Curl_easy *data)
                               ssl_sessionid, ssl_idsize);
 
       /* Informational message */
-      infof(data, "SSL re-using session ID");
+      infof(data, "SSL reusing session ID");
     }
     Curl_ssl_sessionid_unlock(data);
   }
index 81592576a07dab3cc7ebd1a89b351923bb4e078e..f45636e57e03860b53f6ed4f8e4b74803544db11 100644 (file)
@@ -619,7 +619,7 @@ mbed_connect_step1(struct Curl_cfilter *cf, struct Curl_easy *data)
         failf(data, "mbedtls_ssl_set_session returned -0x%x", -ret);
         return CURLE_SSL_CONNECT_ERROR;
       }
-      infof(data, "mbedTLS re-using session");
+      infof(data, "mbedTLS reusing session");
     }
     Curl_ssl_sessionid_unlock(data);
   }
index 88fd0ed63490ad41f2a871e62a7272ac1777083d..cccfa964a3ffe5ca1112abee248a840920630a09 100644 (file)
@@ -3772,7 +3772,7 @@ static CURLcode ossl_connect_step1(struct Curl_cfilter *cf,
         return CURLE_SSL_CONNECT_ERROR;
       }
       /* Informational message */
-      infof(data, "SSL re-using session ID");
+      infof(data, "SSL reusing session ID");
     }
     Curl_ssl_sessionid_unlock(data);
   }
index f8e30475842e22ce20bfd0d04787d5dae1321531..4f8b6f96dcc7ee68bb79dacb0c426d43634862aa 100644 (file)
@@ -1174,7 +1174,7 @@ schannel_connect_step1(struct Curl_cfilter *cf, struct Curl_easy *data)
     Curl_ssl_sessionid_lock(data);
     if(!Curl_ssl_getsessionid(cf, data, (void **)&old_cred, NULL)) {
       backend->cred = old_cred;
-      DEBUGF(infof(data, "schannel: re-using existing credential handle"));
+      DEBUGF(infof(data, "schannel: reusing existing credential handle"));
 
       /* increment the reference counter of the credential/session handle */
       backend->cred->refcount++;
@@ -1776,7 +1776,7 @@ schannel_connect_step3(struct Curl_cfilter *cf, struct Curl_easy *data)
   }
 #endif
 
-  /* save the current session data for possible re-use */
+  /* save the current session data for possible reuse */
   if(ssl_config->primary.sessionid) {
     bool incache;
     bool added = FALSE;
index e458efb18f081c99cdf33da3d5ceec9358f88aad..f2d93dc82ac62649fdee9e15a542ddaf89c2ce82 100644 (file)
@@ -2070,7 +2070,7 @@ static CURLcode sectransp_connect_step1(struct Curl_cfilter *cf,
         return CURLE_SSL_CONNECT_ERROR;
       }
       /* Informational message */
-      infof(data, "SSL re-using session ID");
+      infof(data, "SSL reusing session ID");
     }
     /* If there isn't one, then let's make one up! This has to be done prior
        to starting the handshake. */
index 9b22998829eeb01de35388608b56953111403e93..38a20e8bea273b3c8d49b590977c6ee8696710f9 100644 (file)
@@ -417,7 +417,7 @@ bool Curl_ssl_getsessionid(struct Curl_cfilter *cf,
   DEBUGASSERT(ssl_config->primary.sessionid);
 
   if(!ssl_config->primary.sessionid || !data->state.session)
-    /* session ID re-use is disabled or the session cache has not been
+    /* session ID reuse is disabled or the session cache has not been
        setup */
     return TRUE;
 
index 92adb499792290c63cfe39a90b897c51723f7eb4..88adce6b19dec6f2303b66fd914848e8ae8248ed 100644 (file)
@@ -712,7 +712,7 @@ wolfssl_connect_step1(struct Curl_cfilter *cf, struct Curl_easy *data)
         infof(data, "Can't use session ID, going on without");
       }
       else
-        infof(data, "SSL re-using session ID");
+        infof(data, "SSL reusing session ID");
     }
     Curl_ssl_sessionid_unlock(data);
   }
index d5c207e43ade81121882ee90fe630051d0d222b2..edcea2f7cebaa434e6a2ba9073b5700797c01f30 100644 (file)
@@ -30,7 +30,7 @@
 # CSOURCES = $(CSRC1) $(CSRC2)
 
 # libcurl has sources that provide functions named curlx_* that aren't part of
-# the official API, but we re-use the code here to avoid duplication.
+# the official API, but we reuse the code here to avoid duplication.
 CURLX_CFILES = \
   ../lib/base64.c \
   ../lib/curl_multibyte.c \
index 2eb9d1f9f702bdba652660f2e411037a5147b2bb..3ab30ab8a19c28ef1e58436360383a648b264d90 100644 (file)
@@ -21,7 +21,7 @@ REPLY SIZE 500 command not understood
 ftp
 </server>
  <name>
-Two FTP downloads, with failed RETR but re-used control connection
+Two FTP downloads, with failed RETR but reused control connection
  </name>
  <command>
 ftp://%HOSTIP:%FTPPORT/dir/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/dir/%TESTNUMBER
index 01ceba1f65b84761139fe396c80e787393655f5b..199622fe8f4506c1f0633554ca6bcf7b14de3832 100644 (file)
@@ -35,7 +35,7 @@ contents2
 http
 </server>
  <name>
-HTTP connection re-use with different credentials
+HTTP connection reuse with different credentials
  </name>
  <command>
 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u user1:password1 --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -u 2user:password2
index 83c38b0f38a713151f50023e1df675d1df6fc8fa..a089154740cfe9a0d0315c14288d797e9ca4bbb3 100644 (file)
@@ -4,7 +4,7 @@
 HTTP
 HTTP GET
 HTTP NTLM auth
-connection re-use
+connection reuse
 </keywords>
 </info>
 # Server-side
@@ -84,7 +84,7 @@ http
 crypto
 </features>
  <name>
-HTTP with --anyauth and connection re-use
+HTTP with --anyauth and connection reuse
  </name>
  <command>
 http://%HOSTIP:%HTTPPORT/%TESTNUMBER -u testuser:testpass --anyauth http://%HOSTIP:%HTTPPORT/%TESTNUMBER0003
index 6be31498a4057539342a12138f45460bea926f8e..b16cc933d76187391c87aac8061e7cf56c6f8fb2 100644 (file)
@@ -4,7 +4,7 @@
 HTTP
 HTTP GET
 HTTP NTLM auth
-connection re-use
+connection reuse
 </keywords>
 </info>
 # Server-side
@@ -42,7 +42,7 @@ Feel free to get it
 http
 </server>
  <name>
-HTTP with --anyauth (but no auth!) and connection re-use
+HTTP with --anyauth (but no auth!) and connection reuse
  </name>
  <command>
 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --anyauth http://%HOSTIP:%HTTPPORT/%TESTNUMBER0003
index 51f312bf0987297633889391c9ce898f94009841..7de153d77c9b4598fb43257b150158921d07b631 100644 (file)
@@ -2,7 +2,7 @@
 <info>
 <keywords>
 HTTP
-connection re-use
+connection reuse
 persistent connection
 CURLOPT_MAXLIFETIME_CONN
 verbose logs
index eceb6c55090c6b453d700c4a7c7fd2c53ba5fadf..830c5e8cb350b195bd07ba8dbd1c99760ced6b1a 100644 (file)
@@ -49,7 +49,7 @@ ftp
 https-proxy
 </server>
  <name>
-FTP through HTTPS-proxy, with connection re-use
+FTP through HTTPS-proxy, with connection reuse
  </name>
  <command>
 -p -x https://%HOSTIP:%HTTPSPROXYPORT ftp://ftp.site.thru.https.proxy:%FTPPORT/%TESTNUMBER --proxy-insecure ftp://ftp.site.thru.https.proxy:%FTPPORT/%TESTNUMBER0002
index 8845326e8eb271c6d5f918dce31c387b276d6208..3882eb2db2e340169c8ace79f9f70f010f6dffdb 100644 (file)
@@ -49,7 +49,7 @@ LC_CTYPE=en_US.UTF-8
 perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
 </precheck>
  <name>
-Connection re-use with IDN host name
+Connection reuse with IDN host name
  </name>
 
  <command>
index a4ab3911d9b9dbc0d3c36f1b2f6676322384114c..e0e953189acdcab4b83728478c5e5c0c1f81f8e0 100644 (file)
@@ -50,7 +50,7 @@ LC_CTYPE=en_US.UTF-8
 perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
 </precheck>
  <name>
-Connection re-use with IDN host name over HTTP proxy
+Connection reuse with IDN host name over HTTP proxy
  </name>
 
  <command>
index f8df4cd0518f541f05f8cf5b25b87a6fe72ee35f..e222dcc77a9315187ebbcdedba70b79043b72975 100644 (file)
@@ -44,7 +44,7 @@ lib%TESTNUMBER
 </tool>
 
  <name>
-HTTP GET re-used handle with first header folded
+HTTP GET reused handle with first header folded
  </name>
  <command>
 http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002
index cfcca66dc7546740d2917b1e9a70b8c8a4b1a85e..4d13ebb81ea4650d91c5eac42516dc83465123ef 100644 (file)
@@ -23,7 +23,7 @@ Content-Length: 0
 http
 </server>
 <name>
-verify -w local/remote port+ip after connection re-use
+verify -w local/remote port+ip after connection reuse
 </name>
 <command>
 http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER -w 'local port == %{local_port}\nlocal ip == %{local_ip}\nremote_ip == %{remote_ip}\nremote_port == %{remote_port}\n'
index fdc5a7631d7ca70b0ee523c156f8b1da9494552c..0e471eba920c86ddd20e39c54d3e6eb65f97804d 100644 (file)
@@ -24,7 +24,7 @@ the content would go here
 http
 </server>
  <name>
-HTTP connection re-use and different credentials
+HTTP connection reuse and different credentials
  </name>
 
 <command>
index 36c5166e59dff5fb41cdc472900643409b148b11..0e7914f6261f89d6d6e00ee0a89b032779fb1109 100644 (file)
@@ -4,7 +4,7 @@
 IMAP
 Clear Text
 FETCH
-connection re-use
+connection reuse
 </keywords>
 </info>
 
index 77a57c89caa86220c942058f5ccfc29d650aaa5d..163d78d7d5bcddbd46708d80fce332b80eb9030d 100644 (file)
@@ -4,7 +4,7 @@
 POP3
 Clear Text
 RETR
-connection re-use
+connection reuse
 </keywords>
 </info>
 
index 0137b7a0cd04d5a9a55e4400c868aefa0e6b432f..be90db30463f4177e5c6f85f448cede047578e0d 100644 (file)
@@ -4,7 +4,7 @@
 SMTP
 SASL
 SASL AUTH PLAIN
-connection re-use
+connection reuse
 RFC4616
 RFC4954
 </keywords>