]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: fix a few remainig cases of "Haproxy" and "HAproxy" in doc and comments
authorWilly Tarreau <w@1wt.eu>
Sun, 9 May 2021 04:47:26 +0000 (06:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 9 May 2021 04:50:46 +0000 (06:50 +0200)
Some of the Lua doc and a few places still used "Haproxy" or "HAproxy".
There was even one "HA proxy". A few of them were in an example of VTest
output, indicating that VTest ought to be fixed as well. No big deal but
better address all the remaining ones so that these inconsistencies stop
spreading around.

14 files changed:
admin/syntax-highlight/haproxy.vim
doc/SPOE.txt
doc/architecture.txt
doc/coding-style.txt
doc/internals/hashing.txt
doc/internals/htx-api.txt
doc/lua-api/index.rst
doc/lua.txt
doc/proxy-protocol.txt
doc/regression-testing.txt
include/haproxy/dns.h
include/haproxy/filters-t.h
src/dns.c
src/mux_fcgi.c

index 48fd78c637f12ebca0bd913ac94762a1fa8cc06e..02c32325519090756ea2442c5dd09980b98fe38b 100644 (file)
@@ -1,5 +1,5 @@
 " Vim syntax file
-" Language:    HAproxy
+" Language:    HAProxy
 " Maintainer:  Bruno Michel <brmichel@free.fr>
 " Last Change: Mar 30, 2007
 " Version:     0.3
index 2ed7878bebb53c1f6f9560229384cfba2a87a0a8..ba7aca016a41d872754b0a381de8d4e917db37bf 100644 (file)
@@ -753,7 +753,7 @@ Here are the list of official capabilities that HAProxy and agents can support:
 
   * pipelining: This is the ability for a peer to decouple NOTIFY and ACK
                 frames. This is a symmectical capability. To be used, it must
-                be supported by HAproxy and agents. Unlike HTTP pipelining, the
+                be supported by HAProxy and agents. Unlike HTTP pipelining, the
                 ACK frames can be send in any order, but always on the same TCP
                 connection used for the corresponding NOTIFY frame.
 
index f359dd7f11b6dff15ec0dae4b0c360d8528b6bf3..c37632f379f04b17dcc17acc38ca2cf786bd98ad 100644 (file)
@@ -665,7 +665,7 @@ Description :
 When an application is spread across several servers, the time to update all
 instances increases, so the application seems jerky for a longer period.
 
-HAproxy offers several solutions for this. Although it cannot be reconfigured
+HAProxy offers several solutions for this. Although it cannot be reconfigured
 without being stopped, nor does it offer any external command, there are other
 working solutions.
 
@@ -1342,7 +1342,7 @@ This ensures five essential principles :
 Example :
 ---------
 
-Haproxy is installed in front of an application servers farm. It will limit
+HAProxy is installed in front of an application servers farm. It will limit
 the concurrent connections to 4 per server (one thread per CPU), thus ensuring
 very fast response times.
 
index 59f0991fc6f58078da85c274efa5272a944e8ea8..02a55f513d6d30b14f6d2d4ebf9ff10cee5d97cd 100644 (file)
@@ -1165,7 +1165,7 @@ obvious where to look for it and where to add it.
 All files should include <haproxy/api.h> because this is where build options
 are prepared.
 
-Haproxy header files are split in two, those exporting the types only (named
+HAProxy header files are split in two, those exporting the types only (named
 with a trailing "-t") and those exporting variables, functions and inline
 functions. Types, structures, enums and #defines must go into the types files
 which are the only ones that may be included by othertype files. Function
index da358b04b33e298b3923ca1b0776343932726fe4..1541b610f85b67e04db034a0820f6a70f46d1e61 100644 (file)
@@ -1,6 +1,6 @@
 2013/11/20 - How hashing works internally in haproxy - maddalab@gmail.com
 
-This document describes how Haproxy implements hashing both map-based and
+This document describes how HAProxy implements hashing both map-based and
 consistent hashing, both prior to versions 1.5 and the motivation and tests
 that were done when providing additional options starting in version 2.2
 
@@ -28,7 +28,7 @@ is quite suited to fit over a 32-bit space with enough variations so that
 a randomly picked number falls equally before any server position, which is
 ideal for consistently hashed backends, a common use case for caches.
 
-In all versions 1.4 and prior Haproxy implements the SDBM hashing function.
+In all versions 1.4 and prior HAProxy implements the SDBM hashing function.
 However tests show that alternatives to SDBM have a better cache
 distribution on different hashing criteria. Additional tests involving
 alternatives for hash input and an option to trigger avalanche, we found
index 516cd67a308adec591218a2a0b9f5ed81907553a..971328bb92e4ed8cb24e5f06e35a56c432fff702 100644 (file)
@@ -299,7 +299,7 @@ buffer. There are 2 functions to do so, the second one relying on the first :
 Both functions return a "zero-sized" HTX message if the buffer is null. This
 way, the HTX message is always valid. The first function is the default function
 to use. The second one is only useful when some content will be added. For
-instance, it used by the HTX analyzers when HAproxy generates a response. Thus,
+instance, it used by the HTX analyzers when HAProxy generates a response. Thus,
 the buffer is in a right state.
 
 Once the processing done, if the HTX message has been modified, the underlying
index fb7eb0978caf054909bacb1aa1336f1b3e0576d4..e0bda2dc89631f145909e72faca19491a4a121ef 100644 (file)
@@ -488,7 +488,7 @@ Core class
   end)
 ..
 
-  This example code is used in HAproxy configuration like this:
+  This example code is used in HAProxy configuration like this:
 
 ::
 
@@ -511,7 +511,7 @@ Core class
   core.register_action("hello-world", { "tcp-req", "http-req" }, hello_world, 2)
 ..
 
-  This example code is used in HAproxy configuration like this:
+  This example code is used in HAProxy configuration like this:
 
 ::
 
@@ -635,7 +635,7 @@ Core class
   end)
 ..
 
-  This example code is used in HAproxy configuration like this:
+  This example code is used in HAProxy configuration like this:
 
 ::
 
@@ -2808,7 +2808,7 @@ Action class
 
   This attribute is an integer (6). It aborts the current message. The message
   processing is stopped and the transaction is terminated. For HTTP streams,
-  HAproxy assumes a response was already sent to the client. From the Lua
+  HAProxy assumes a response was already sent to the client. From the Lua
   actions point of view, when this code is used, the transaction is terminated
   with no reply.
 
index d05ff1de176a8c3401edc33440a64c4445cb48d9..1535e59748933eba718c4eac21ecfbda6377ace9 100644 (file)
@@ -384,7 +384,7 @@ object name.
 The Lua developer can add entries to the HAProxy object. They just work carefully
 and prevent to modify the index [0].
 
-Common HAproxy objects are:
+Common HAProxy objects are:
 
  - TXN        : manipulates the transaction between the client and the server
  - Channel    : manipulates proxified data between the client and the server
@@ -488,7 +488,7 @@ yield must be jump to the root of execution. The intermediate setjmp() avoids
 this behaviour.
 
 
-   HAproxy start Lua execution
+   HAProxy start Lua execution
      + Lua puts a setjmp()
         + Lua executes code
         + Some code is executed in a pcall()
@@ -515,7 +515,7 @@ after a yield. These parts are the sample fetches and the sample converters. So,
 the Lua code written in these parts of HAProxy must be quickly executed, and can
 not do actions which require yield like TCP connection or simple sleep.
 
-HAproxy socket object
+HAProxy socket object
 ---------------------
 
 The HAProxy design is optimized for the data transfers between a client and a
index 0208afc9df2961b35bd3e216ce2f2b310bdf8bd2..4d49d5cd1c00a6b55b4b2fc3e1efe66e0413d30b 100644 (file)
@@ -49,13 +49,13 @@ Then comes a new class of products which we'll call "dumb proxies", not because
 they don't do anything, but because they're processing protocol-agnostic data.
 Both Stunnel[3] and Stud[4] are examples of such "dumb proxies". They talk raw
 TCP on one side, and raw SSL on the other one, and do that reliably, without
-any knowledge of what protocol is transported on top of the connection. Haproxy
+any knowledge of what protocol is transported on top of the connection. HAProxy
 running in pure TCP mode obviously falls into that category as well.
 
 The problem with such a proxy when it is combined with another one such as
 haproxy, is to adapt it to talk the higher level protocol. A patch is available
 for Stunnel to make it capable of inserting an X-Forwarded-For header in the
-first HTTP request of each incoming connection. Haproxy is able not to add
+first HTTP request of each incoming connection. HAProxy is able not to add
 another one when the connection comes from Stunnel, so that it's possible to
 hide it from the servers.
 
@@ -698,7 +698,7 @@ extend the protocol with multibyte type values.
 
 3. Implementations
 
-Haproxy 1.5 implements version 1 of the PROXY protocol on both sides :
+HAProxy 1.5 implements version 1 of the PROXY protocol on both sides :
   - the listening sockets accept the protocol when the "accept-proxy" setting
     is passed to the "bind" keyword. Connections accepted on such listeners
     will behave just as if the source really was the one advertised in the
@@ -712,7 +712,7 @@ Haproxy 1.5 implements version 1 of the PROXY protocol on both sides :
     "accept-proxy", then the relayed information is the one advertised in this
     connection's PROXY line.
 
-  - Haproxy 1.5 also implements version 2 of the PROXY protocol as a sender. In
+  - HAProxy 1.5 also implements version 2 of the PROXY protocol as a sender. In
     addition, a TLV with limited, optional, SSL information has been added.
 
 Stunnel added support for version 1 of the protocol for outgoing connections in
index aac312cde877d9a4943b54329d9796b2231f689e..d8d71b530d2aa7abdff041cc936d89a0989fa2dd 100644 (file)
@@ -179,7 +179,7 @@ status. Here is the output when running this VTC file:
     **** h1    0.0 macro def h1_pid=6395
     **** h1    0.0 macro def h1_name=/tmp/vtc.6377.64329194/h1
     **   h1    0.0 Wait
-    **   h1    0.0 Stop HAproxy pid=6395
+    **   h1    0.0 Stop HAProxy pid=6395
     **** h1    0.0 STDOUT poll 0x10
     **   h1    0.0 WAIT4 pid=6395 status=0x008b (user 0.000000 sys 0.000000)
     *    h1    0.0 Expected exit: 0x1 signal: 0 core: 0
@@ -227,7 +227,7 @@ as expected (verbose mode execution):
     **** h1    0.0 macro def h1_pid=25558
     **** h1    0.0 macro def h1_name=/tmp/vtc.25540.59b6ec5d/h1
     **   h1    0.0 Wait
-    **   h1    0.0 Stop HAproxy pid=25558
+    **   h1    0.0 Stop HAProxy pid=25558
     ***  h1    0.0 debug|[ALERT]    (25558) : parsing [/tmp/vtc.25540.59b6ec5d/h1/cfg:10] : 'filter' : ''spoe' : missing config file'
     ***  h1    0.0 debug|[ALERT]    (25558) : Error(s) found in configuration file : /tmp/vtc.25540.59b6ec5d/h1/cfg
     ***  h1    0.0 debug|[ALERT]    (25558) : Fatal errors found in configuration.
@@ -318,7 +318,7 @@ client and 's1' server with 'http1' as haproxy frontend. This frontend listen
 on TCP socket with 'my_frontend_fd' as file descriptor.
 
     # Mandatory line
-    varnishtest "Basic HAproxy test"
+    varnishtest "Basic HAProxy test"
 
     # As some macros for haproxy are used in this file, this line is mandatory.
     feature ignore_unknown_macro
@@ -558,7 +558,7 @@ Here is the output produced by varnishtest with the latter VTC file:
     *    top   0.0 RESETTING after /home/fred/src/varnish-cache-haproxy/d02286d.vtc
     **   h1    0.0 Reset and free h1 haproxy 15787
     **   h1    0.0 Wait
-    **   h1    0.0 Stop HAproxy pid=15787
+    **   h1    0.0 Stop HAProxy pid=15787
     **** h1    0.0 Kill(2)=0: Success
     **** h1    0.0 STDOUT poll 0x10
     **   h1    0.1 WAIT4 pid=15787 status=0x0002 (user 0.000000 sys 0.004000)
@@ -693,7 +693,7 @@ of the "syslog" "expect" command:
     *    top   0.0 RESETTING after /home/fred/src/varnish-cache-haproxy/d02286d.vtc
     **   h1    0.0 Reset and free h1 haproxy 12728
     **   h1    0.0 Wait
-    **   h1    0.0 Stop HAproxy pid=12728
+    **   h1    0.0 Stop HAProxy pid=12728
     **** h1    0.0 Kill(2)=0: Success
     **** h1    0.0 STDOUT poll 0x10
     **   h1    0.1 WAIT4 pid=12728 status=0x0002 (user 0.000000 sys 0.004000)
index 00bfee0a84525c22a0a6b569d3fe7e11329f3a57..84181c43d633a16d846d40d92a3a2da3cfc7a7de 100644 (file)
@@ -2,7 +2,7 @@
  * include/haproxy/dns.h
  * This file provides functions related to DNS protocol
  *
- * Copyright (C) 2020 Haproxy Technologies
+ * Copyright (C) 2020 HAProxy Technologies
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
index 73fe574da88ced9a26d8538ba54f6df6b325d0bf..c86ef6f3d77ffc9ce734d797ad06e5142df24c40 100644 (file)
@@ -145,7 +145,7 @@ struct flt_kw_list {
  *                          that can be detected if s->txn->status is 10X, or
  *                          if we're attempting a L7 retry.
  *                          Returns nothing.
- *  - http_reply          : Called when, at any time, HA proxy decides to stop
+ *  - http_reply          : Called when, at any time, HAProxy decides to stop
  *                          the HTTP message's processing and to send a message
  *                          to the client (mainly, when an error or a redirect
  *                          occur).
index 083850d950c3b4685387e4128f8a5888c16ec005..6e0ae26007e125e8ced9732e950088192c733f9b 100644 (file)
--- a/src/dns.c
+++ b/src/dns.c
@@ -1,7 +1,7 @@
 /*
  * Name server resolution
  *
- * Copyright 2020 Haproxy Technologies
+ * Copyright 2020 HAProxy Technologies
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
index c997c56922aee08f6fcf6fdeea9fc4a9d873b44f..14fc8b2e1b095ea06693cef0e28837baf77b073c 100644 (file)
@@ -60,7 +60,7 @@
 #define FCGI_CF_ABRTS_SENT      0x00000200  /* a record ABORT was successfully sent to all active streams */
 #define FCGI_CF_ABRTS_FAILED    0x00000400  /* failed to abort processing of all streams */
 #define FCGI_CF_WAIT_FOR_HS     0x00000800  /* We did check that at least a stream was waiting for handshake */
-#define FCGI_CF_KEEP_CONN       0x00001000  /* HAproxy is responsible to close the connection */
+#define FCGI_CF_KEEP_CONN       0x00001000  /* HAProxy is responsible to close the connection */
 #define FCGI_CF_GET_VALUES      0x00002000  /* retrieve settings */
 
 /* FCGI connection state (fcgi_conn->state) */