Joseph Herlant
7fe1577cc7
MINOR: Fix typo in the error 500 output of hlua
...
Fixes a common typo in the output generated by the hlua subsystem when
emitting an error 500 page.
2018-11-18 22:28:09 +01:00
Joseph Herlant
b8f9c5e634
CLEANUP: fix typos in the comments of hlua
...
Fix typos in the code comments of the hlua subsystem.
2018-11-18 22:28:09 +01:00
Joseph Herlant
76dbe785b5
MINOR: Fix typo in error message in the standard subsystem
...
Fix a typo in an error message that could be user-visible when running
out of memory in the parse_binary function.
2018-11-18 22:26:42 +01:00
Joseph Herlant
cf92b6d332
CLEANUP: Fix typos in the task subsystem
...
Fix typos in the code comments of the task subsystem.
2018-11-18 22:26:42 +01:00
Joseph Herlant
5662fa4707
CLEANUP: Fix typos in the stick_table subsystem
...
Fix some typos in the code comments of the stick_table subsystem.
2018-11-18 22:26:42 +01:00
Joseph Herlant
32b8327266
CLEANUP: Fix typos in the standard subsystem
...
Fix typos in the code comments of the standard subsystem.
2018-11-18 22:26:42 +01:00
Joseph Herlant
f7f6031184
CLEANUP: Fix typos in the spoe subsystem
...
Fix typos in the code comments of the spoe subsystem.
2018-11-18 22:26:42 +01:00
Joseph Herlant
757f5ad73a
CLEANUP: Fix typos in the sample subsystem
...
Fix some typos in the code comment of the sample subsystem.
2018-11-18 22:26:42 +01:00
Joseph Herlant
eda75484a8
CLEANUP: Fix typos in the regex subsystem
...
Fix typos in the code comment of the regex subsystem.
2018-11-18 22:26:42 +01:00
Joseph Herlant
82b2f54d4c
CLEANUP: Fix typos in the peers subsystem
...
Fix some typos in the code comments of the peers subsystem.
2018-11-18 22:26:42 +01:00
Joseph Herlant
85b4059b82
CLEANUP: Fix typos in the log subsystem
...
Fix some misspells in the code comments of the log subsystem.
2018-11-18 22:26:42 +01:00
Joseph Herlant
942eea3f5c
CLEANUP: Fix typos in the http subsystem
...
Fix typos in code comment of the http subsystem.
2018-11-18 22:26:42 +01:00
Joseph Herlant
b35ea68081
CLEANUP: Fix typos in the filters subsystem
...
Fix typos in the code comments of the filters subsystems.
2018-11-18 22:26:42 +01:00
Joseph Herlant
a14c03ef43
CLEANUP: Fix typos in the cfgparse subsystem
...
Fix typos in the code comments of the cfgpase subsystem.
2018-11-18 22:26:42 +01:00
Joseph Herlant
8dae5b38b8
CLEANUP: Fix typos in the cache subsystem
...
Fix common misspells in the code comments of the cache subsystem.
2018-11-18 22:26:42 +01:00
Joseph Herlant
6808279b2a
CLEANUP: Fix typos in the acl subsystem
...
Fix typos in the code comments of the acl subsystem.
2018-11-18 22:26:26 +01:00
Joseph Herlant
29023ec5d9
CLEANUP: Fix a typo in the stats subsystem
...
Fix a typo in a code comment of the stats subsystem.
2018-11-18 22:26:26 +01:00
Joseph Herlant
63c23f305b
MINOR: fix typos in the examples files
...
To be more specific the error 500 example page and the
transparent_proxy.cfg page. For the later, it is all in the comments but
still user-visible as those are examples.
2018-11-18 22:24:51 +01:00
Joseph Herlant
9edebb8568
MINOR: Fix typos in error messages in the proxy subsystem
...
Fix typos in error messages that will be user-visible in the proxy
subsystem.
2018-11-18 22:23:15 +01:00
Joseph Herlant
07a0834635
MINOR: Fix an error message thrown when we run out of memory
...
Fixes a typo in an error message that can be seen by the end user when
the haproxy subsystem runs out of memory.
2018-11-18 22:23:15 +01:00
Joseph Herlant
71b4b150f2
DOC: fix a few typos in the documentation
...
This commit deals with a few misspells in the documentation.
2018-11-18 22:23:15 +01:00
Joseph Herlant
02cedc48d3
DOC: Fix typos in different subsections of the documentation
...
Fix typos found in the design-thoughts, internals and lua-api
subsections of the documentation.
2018-11-18 22:23:15 +01:00
Joseph Herlant
017b3da94e
CLEANUP: fix typos in the ssl_sock subsystem
...
Fix some typos found in the code comments of the ssl_sock subsystem.
2018-11-18 22:23:15 +01:00
Joseph Herlant
59dd295926
CLEANUP: fix typos in the proxy subsystem
...
Fix typos in the code comments of the proxy subsystem.
2018-11-18 22:23:15 +01:00
Joseph Herlant
5ba8025976
CLEANUP: fix typos in the proto_http subsystem
...
Fixes typos in the code comments of the proto_http subsystem.
2018-11-18 22:23:15 +01:00
Joseph Herlant
b3d92e3b9f
CLEANUP: fix typos in the hlua_fcn subsystem
...
Fixes typos detected in the code comments of the hlua_fcn subsystem using
the misspell tool and other ones detected manually.
2018-11-18 22:23:15 +01:00
Joseph Herlant
0767689e93
CLEANUP: fix typos in the comments of the vars subsystem
...
Those are mostly misspells of the words available and variable.
2018-11-18 22:23:15 +01:00
Joseph Herlant
ec4abdec09
CLEANUP: fix typos in reg-tests
...
Fix typos in comments and error messages of reg-tests. Note that this
has not been qualified as minor as it is used for testing purposes, not
end-users.
2018-11-18 22:23:15 +01:00
Joseph Herlant
7c16c0e431
CLEANUP: fix typos in comments in ebtree
...
This is mainly about misspells of the word "occurrence". The misspells
are only located in code comments.
2018-11-18 22:23:15 +01:00
Joseph Herlant
4cc8d0d60c
CLEANUP: fix a typo found in the stream subsystem
...
This typo is in a code comment so not end-user visible.
2018-11-18 22:23:15 +01:00
Joseph Herlant
cbb44bf9ef
CLEANUP: fix a misspell in tests/filltab25.c
...
The commit fixes a misspell in a comment of tests/filltab25.c.
2018-11-18 22:23:15 +01:00
Joseph Herlant
44466826b1
CLEANUP: fix a few typos in the comments of the server subsystem
...
A few misspells where detected in the server subsystem. This commit
fixes them.
2018-11-18 22:23:15 +01:00
Joseph Herlant
b2db6a00f9
CLEANUP: fix 2 typos in the xxhash subsystem
...
Fixes 2 typos in the comments of the xxhash subsystem.
2018-11-18 22:23:15 +01:00
Joseph Herlant
4189d671b7
CLEANUP: Fix typos in the pattern subsystem
...
Fixes typos in the code comments of the pattern subsystem.
2018-11-18 22:23:15 +01:00
Joseph Herlant
42cf6395c4
CLEANUP: Fix typos in the dns subsystem
...
Fix misspells in the code comments of the dns subsystem.
2018-11-18 22:23:15 +01:00
Joseph Herlant
0342090ed7
CLEANUP: Fix some typos in the haproxy subsystem
...
Fix some typos in the code comments of the haproxy subsystem.
2018-11-18 22:23:15 +01:00
Christopher Faulet
afd8f10be9
MINOR: lua/htx: Forbid lua usage when the HTX is enabled on a proxy
...
For now, the lua scripts are not compatible with the new HTX internal
representation of HTTP messages. Thus, for a given proxy, when the option
"http-use-htx" is enabled, an error is triggered if any lua's
action/service/sample-fetch/converter is also configured.
2018-11-18 22:10:09 +01:00
Christopher Faulet
0c859127f1
MINOR: filters/htx: Forbid filters when the HTX is enabled on a proxy
...
For now, the filters are not compatible with the new HTX internal representation
of HTTP messages. Thus, for a given proxy, when the option "http-use-htx" is
enabled, an error is triggered if any filter is also configured.
2018-11-18 22:10:09 +01:00
Christopher Faulet
473652733a
MEDIUM: mux-h1: Handle errors and timeouts in the stream
...
To do so, the stream is created as earlier as possible. It means, during the mux
creation for the first request, and for others, just at the end of the previous
transaction. Because all timeouts are handled by the strream, the mux's task is
now useless, so it is removed. Finally, to report errors, flags are set on the
HTX message. The HTX message is passed to the stream if there is some content to
analyse or if there is some error to handle.
All of this will probably be reworked later to handle errors and timeouts
directly in the mux. For now, it is the simpler way to handle all of this.
2018-11-18 22:10:08 +01:00
Christopher Faulet
ed28da534a
MINOR: stream: Don't reset sov value with HTX messages
2018-11-18 22:10:08 +01:00
Christopher Faulet
ef77922776
MINOR: stats/htx: Adapt the stats applet to handle HTX messages
...
Switches between the HTX version of the code and the legacy one have been added
to let the stats applet work with both.
2018-11-18 22:10:08 +01:00
Christopher Faulet
3b88b8d02e
MEDIUM: mux-h1: Wait for connection establishment before consuming channel's data
...
When a server is down, the channel's data must not be consumed. This is
required to allow redispatch and connection retry. So now, we wait for
the connection to be marked as connected, with the flag CO_FL_CONNECTED,
before starting to consume channel's data. In the mux, this event is
tracked with the flag H1C_F_CS_WAIT_CONN.
2018-11-18 22:10:04 +01:00
Christopher Faulet
311c7eaad0
MEDIUM: http_fetch: Adapt all fetches to handle HTX messages
...
For HTTP proxies, when the HTX internal representation is used, or for all TCP
proxies, we use the HTX version of sample fetches.
2018-11-18 22:09:01 +01:00
Christopher Faulet
ef453ed9b0
MINOR: http_fetch: Add smp_prefetch_htx
...
It does the same than smp_prefetch_http but for HTX messages. It can be called
from an HTTP proxy or a TCP proxy. For HTTP proxies, the parsing is handled by
the mux, so it does nothing but wait. For TCP proxies, it tries to parse an HTTP
message and to convert it in a temporary HTX message. Sample fetches will use
this temporary variable to do their job.
2018-11-18 22:09:00 +01:00
Christopher Faulet
fec7bd16de
MEDIUM: proto_htx: Adapt htx_process_res_common to handle HTX messages
2018-11-18 22:09:00 +01:00
Christopher Faulet
f76ebe8bc7
MEDIUM: proto_htx: Adapt htx_wait_for_request_body to handle HTX messages
...
This version is simpler than the legacy one because the parsing is no more
handled by the analyzer. So now we just need to wait to have more data to move
on.
2018-11-18 22:09:00 +01:00
Christopher Faulet
8137c27094
MINOR: proto_htx: Adapt htx_process_tarpit to handle HTX messages
2018-11-18 22:09:00 +01:00
Christopher Faulet
d7bdfb1e7b
MEDIUM: proto_htx: Adapt htx_process_request to handle HTX messages
2018-11-18 22:08:59 +01:00
Christopher Faulet
ff2759febd
MEDIUM: proto_htx: Adapt htx_process_req_common to handle HTX messages
...
Here, the only real change is that the stats and cache applets are disabled.
2018-11-18 22:08:59 +01:00
Christopher Faulet
377c5a508c
MINOR: proto_htx: Add functions to handle the stats applet
...
For now, the call to the stats applet is disabled for HTX messages. But HTX
versions of the function to check the request URI against the stats URI and the
fnuction to prepare the call to the stats applet have been added.
2018-11-18 22:08:59 +01:00