Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
49a2f601fb14a98fe0792349796319819afba3e0
/
src
/
http_htx.c
204017c
BUG/MINOR: http-htx: Fix error handling during parsing http replies
by Christopher Faulet
· Mon Nov 14 08:49:28 2022 +0100
be50b14
MINOR: http-htx: Use new HTTP functions for the scheme based normalization
by Christopher Faulet
· Tue Jul 05 10:24:52 2022 +0200
3a499ee
BUG/MINOR: http-htx: Fix scheme based normalization for URIs wih userinfo
by Christopher Faulet
· Wed Jul 06 17:41:31 2022 +0200
ad74510
BUG/MINOR: sample: fix backend direction flags consecutive to last fix
by Willy Tarreau
· Sat Oct 16 14:41:09 2021 +0200
5f802b3
BUG/MEDIUM: sample: Cumulate frontend and backend sample validity flags
by Christopher Faulet
· Wed Oct 13 17:22:17 2021 +0200
c7c93b1
BUILD: http_htx: fix ci compilation error with isdigit for Windows
by Amaury Denoyelle
· Wed Jul 07 17:17:39 2021 +0200
ca87a9a
MEDIUM: http: implement scheme-based normalization
by Amaury Denoyelle
· Wed Jul 07 10:49:26 2021 +0200
4cbf62d
BUILD: htx: include tools.h in http_htx.c
by Willy Tarreau
· Sat May 08 13:01:23 2021 +0200
2b71810
CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
by Willy Tarreau
· Wed Apr 21 07:32:39 2021 +0200
a7d6cf2
BUG/MINOR: http_htx: Remove BUG_ON() from http_get_stline() function
by Christopher Faulet
· Thu Apr 15 10:25:35 2021 +0200
403fd72
CLEANUP: Remove useless malloc() casts
by Tim Duesterhus
· Thu Apr 08 20:05:23 2021 +0200
b8ee894
CLEANUP: htx: Make http_get_stline take a `const struct`
by Tim Duesterhus
· Sat Apr 03 20:39:20 2021 +0200
2e96194
MINOR: htx: Make internal.strm.is_htx an internal sample fetch
by Christopher Faulet
· Thu Mar 25 17:29:38 2021 +0100
0182516
CLEANUP: config: make the cfg_keyword parsers take a const for the defproxy
by Willy Tarreau
· Tue Mar 09 09:53:46 2021 +0100
61cfdf4
CLEANUP: tree-wide: replace free(x);x=NULL with ha_free(&x)
by Willy Tarreau
· Sat Feb 20 10:46:51 2021 +0100
016255a
BUG/MINOR: http-htx: defpx must be a const in proxy_dup_default_conf_errors()
by Willy Tarreau
· Fri Feb 12 08:40:29 2021 +0100
1cdc028
CLEANUP: http-htx: Set buffer area to NULL instead of malloc(0)
by Christopher Faulet
· Fri Feb 05 10:29:29 2021 +0100
d1ac2b9
MAJOR: htx: Remove the EOM block type and use HTX_FL_EOM instead
by Christopher Faulet
· Wed Dec 02 19:12:22 2020 +0100
e5ff141
CLEANUP: Compare the return value of `XXXcmp()` functions with zero
by Tim Duesterhus
· Sat Jan 02 22:31:53 2021 +0100
302b9f8
BUG/MINOR: http_htx: Fix searching headers by substring
by Maciej Zdeb
· Fri Nov 20 12:12:24 2020 +0000
fc633b6
CLEANUP: config: Return ERR_NONE from config callbacks instead of 0
by Christopher Faulet
· Fri Nov 06 15:24:23 2020 +0100
3005d28
BUG/MINOR: http-htx: Handle warnings when parsing http-error and http-errors
by Christopher Faulet
· Fri Nov 13 10:58:01 2020 +0100
431a12c
BUILD: http-htx: fix build warning regarding long type in printf
by Willy Tarreau
· Fri Nov 06 14:24:02 2020 +0100
a66adf4
MINOR: http-htx: Add understandable errors for the errorfiles parsing
by Christopher Faulet
· Thu Nov 05 22:43:41 2020 +0100
b8d148a
BUG/MINOR: http-htx: Expect no body for 204/304 internal HTTP responses
by Christopher Faulet
· Fri Oct 09 08:50:26 2020 +0200
bde2c4c
MINOR: http-htx: Handle an optional reason when replacing the response status
by Christopher Faulet
· Mon Aug 31 16:43:34 2020 +0200
b8ce505
MINOR: http-htx: Add an option to eval query-string when the path is replaced
by Christopher Faulet
· Mon Aug 31 16:11:57 2020 +0200
6ad7df4
MINOR: arg: Use chunk_destroy() to release string arguments
by Christopher Faulet
· Fri Aug 07 11:45:18 2020 +0200
47d1718
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sun Jun 21 21:42:57 2020 +0500
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· Tue Jun 09 09:07:15 2020 +0200
36979d9
REORG: include: move the error reporting functions to from log.h to errors.h
by Willy Tarreau
· Fri Jun 05 17:27:29 2020 +0200
6be7849
REORG: include: move cfgparse.h to haproxy/cfgparse.h
by Willy Tarreau
· Fri Jun 05 00:00:29 2020 +0200
126ba3a
REORG: include: move http_fetch.h to haproxy/http_fetch.h
by Willy Tarreau
· Thu Jun 04 18:26:43 2020 +0200
f268ee8
REORG: include: split global.h into haproxy/global{,-t}.h
by Willy Tarreau
· Thu Jun 04 17:05:57 2020 +0200
e6ce10b
REORG: include: move sample.h to haproxy/sample{,-t}.h
by Willy Tarreau
· Thu Jun 04 15:33:47 2020 +0200
aa74c4e
REORG: include: move arg.h to haproxy/arg{,-t}.h
by Willy Tarreau
· Thu Jun 04 10:19:23 2020 +0200
8773533
REORG: include: move http_htx.h to haproxy/http_htx{,-t}.h
by Willy Tarreau
· Thu Jun 04 09:08:41 2020 +0200
16f958c
REORG: include: split common/htx.h into haproxy/htx{,-t}.h
by Willy Tarreau
· Wed Jun 03 08:44:35 2020 +0200
5413a87
REORG: include: move common/h1.h to haproxy/h1.h
by Willy Tarreau
· Tue Jun 02 19:33:08 2020 +0200
cd72d8c
REORG: include: split common/http.h into haproxy/http{,-t}.h
by Willy Tarreau
· Tue Jun 02 19:11:26 2020 +0200
7cd8b6e
REORG: include: split common/regex.h into haproxy/regex{,-t}.h
by Willy Tarreau
· Tue Jun 02 17:32:26 2020 +0200
58017ee
REORG: include: move the BUG_ON() code to haproxy/bug.h
by Willy Tarreau
· Wed May 27 16:51:33 2020 +0200
4c7e4b7
REORG: include: update all files to use haproxy/api.h or api-t.h if needed
by Willy Tarreau
· Wed May 27 12:58:42 2020 +0200
0bac4cd
CLEANUP: http: Remove unused HTTP message templates
by Christopher Faulet
· Wed May 27 10:11:59 2020 +0200
d6e3123
BUG/MINOR: http-htx: Fix a leak on error path during http reply parsing
by Christopher Faulet
· Thu May 21 10:10:41 2020 +0200
63d4824
BUG/MINOR: http-htx: Don't forget to release the http reply in release function
by Christopher Faulet
· Thu May 21 09:59:22 2020 +0200
3b967c1
MINOR: http-htx/proxy: Add http-error directive using http return syntax
by Christopher Faulet
· Fri May 15 15:47:44 2020 +0200
f1fedc3
CLEANUP: http-htx: Remove unused storage of error messages in buffers
by Christopher Faulet
· Fri May 15 14:30:32 2020 +0200
e29a97e
MINOR: http-htx: Use http reply from the http-errors section
by Christopher Faulet
· Thu May 14 14:49:25 2020 +0200
40e8569
MINOR: proxy: Add references on http replies for proxy error messages
by Christopher Faulet
· Thu May 14 17:34:31 2020 +0200
5809e10
MINOR: http-htx: Store errorloc/errorfile messages in http replies
by Christopher Faulet
· Thu May 14 17:31:52 2020 +0200
de30bb7
MINOR: http-htx: Store messages of an http-errors section in a http reply array
by Christopher Faulet
· Thu May 14 10:03:55 2020 +0200
1b13eca
MINOR: http-htx: Store default error messages in a global http reply array
by Christopher Faulet
· Thu May 14 09:54:26 2020 +0200
7eea241
MINOR: http-htx: Use a dedicated function to check http reply validity
by Christopher Faulet
· Wed May 13 15:02:59 2020 +0200
47e791e
MINOR: http-htx: Use a dedicated function to parse http reply arguments
by Christopher Faulet
· Wed May 13 14:36:55 2020 +0200
1863064
MINOR: http-htx: Use a dedicated function to release http_reply objects
by Christopher Faulet
· Tue May 12 18:57:28 2020 +0200
b6ea17c
CLEANUP: http-htx: Rename http_error structure into http_error_msg
by Christopher Faulet
· Wed May 13 21:45:22 2020 +0200
8dd33e1
MINOR: http-htx: Support different methods to look for header names
by Christopher Faulet
· Tue May 05 07:42:42 2020 +0200
778f5ed
MEDIUM: checks/http-fetch: Support htx prefetch from a check for HTTP samples
by Christopher Faulet
· Wed Apr 29 15:51:55 2020 +0200
1543d44
MINOR: http-htx: Export functions to update message authority and host
by Christopher Faulet
· Tue Apr 28 19:57:29 2020 +0200
d425950
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Wed Apr 08 01:07:56 2020 +0500
ed52637
CLEANUP: Use `isttest()` and `istfree()`
by Tim Duesterhus
· Thu Mar 05 17:56:33 2020 +0100
241e29e
MINOR: ist: Add `IST_NULL` macro
by Tim Duesterhus
· Thu Mar 05 17:56:30 2020 +0100
3e1f7f4
BUG/MINOR: http-htx: Do case-insensive comparisons on Host header name
by Christopher Faulet
· Fri Feb 28 09:47:07 2020 +0100
9080711
BUILD: general: always pass unsigned chars to is* functions
by Willy Tarreau
· Tue Feb 25 08:16:33 2020 +0100
34b18e4
BUG/MINOR: http-htx: Don't return error if authority is updated without changes
by Christopher Faulet
· Tue Feb 18 11:02:21 2020 +0100
727a3f1
MINOR: http-htx: Add a function to retrieve the headers size of an HTX message
by Christopher Faulet
· Fri Feb 07 16:39:41 2020 +0100
6d0c3df
MEDIUM: http: Add a ruleset evaluated on all responses just before forwarding
by Christopher Faulet
· Wed Jan 22 09:26:35 2020 +0100
0a589fd
MINOR: http-htx: Emit a warning if an error file runs over the buffer's reserve
by Christopher Faulet
· Wed Jan 22 14:47:04 2020 +0100
7cde96c
BUG/MINOR: http_htx: Fix some leaks on error path when error files are loaded
by Christopher Faulet
· Tue Jan 21 10:10:11 2020 +0100
76edc0f
MEDIUM: proxy: Add a directive to reference an http-errors section in a proxy
by Christopher Faulet
· Mon Jan 13 15:52:01 2020 +0100
35cd81d
MINOR: http-htx: Add a new section to create groups of custom HTTP errors
by Christopher Faulet
· Wed Jan 15 11:22:56 2020 +0100
07f41f7
MINOR: proxy: Register keywords to parse errorfile and errorloc directives
by Christopher Faulet
· Thu Jan 16 16:16:06 2020 +0100
5885775
MEDIUM: http-htx/proxy: Use a global and centralized storage for HTTP error messages
by Christopher Faulet
· Wed Jan 15 15:19:50 2020 +0100
bdf6526
MINOR: http-htx: Add functions to create HTX redirect message
by Christopher Faulet
· Thu Jan 16 15:51:59 2020 +0100
5031ef5
MINOR: http-htx: Add functions to read a raw error file and convert it in HTX
by Christopher Faulet
· Wed Jan 15 11:22:07 2020 +0100
8178e40
MINOR: http-htx: Make 'internal.htx_blk_data' return a binary string
by Christopher Faulet
· Wed Jan 08 14:38:58 2020 +0100
c5db14c
MINOR: http-htx: Rename 'internal.htx_blk.val' to 'internal.htx_blk.data'
by Christopher Faulet
· Wed Jan 08 14:51:03 2020 +0100
01f4445
MINOR: http-htx: Move htx sample fetches in the scope "internal"
by Christopher Faulet
· Wed Jan 08 14:23:40 2020 +0100
29f7284
MINOR: http-htx: Add some htx sample fetches for debugging purpose
by Christopher Faulet
· Wed Dec 11 15:52:32 2019 +0100
f3ad629
BUG/MINOR: http-htx: Don't make http_find_header() fail if the value is empty
by Christopher Faulet
· Fri Nov 29 11:18:45 2019 +0100
0d4ce93
BUG/MINOR: http-htx: Properly set htx flags on error files to support keep-alive
by Christopher Faulet
· Wed Oct 16 09:09:04 2019 +0200
d7b7a1c
MEDIUM: http-htx: Keep the Host header and the request start-line synchronized
by Christopher Faulet
· Tue Oct 08 15:24:52 2019 +0200
90cc481
BUG/MINOR: http_htx: Support empty errorfiles
by Christopher Faulet
· Mon Jul 22 16:49:30 2019 +0200
f734638
MINOR: http: Don't store raw HTTP errors in chunks anymore
by Christopher Faulet
· Wed Jul 17 22:02:08 2019 +0200
28b18c5
CLEANUP: proxy: Remove the flag PR_O2_USE_HTX
by Christopher Faulet
· Mon Jul 15 15:13:41 2019 +0200
192c6a2
MINOR: htx: Deduce the number of used blocks from tail and head values
by Christopher Faulet
· Tue Jun 11 16:32:24 2019 +0200
7b889cb
BUG/MINOR: http_htx: Initialize HTX error messages for TCP proxies
by Christopher Faulet
· Mon Jul 15 14:43:38 2019 +0200
1d5ec09
BUG/MEDIUM: proto_htx: Don't add EOM on 1xx informational messages
by Christopher Faulet
· Wed Jun 26 14:23:54 2019 +0200
3e2638e
BUG/MEDIUM: htx: Fully update HTX message when the block value is changed
by Christopher Faulet
· Tue Jun 18 09:49:16 2019 +0200
e4ab11b
BUG/MINOR: http: Use the global value to limit the number of parsed headers
by Christopher Faulet
· Tue Jun 11 15:05:37 2019 +0200
d7884d3
MAJOR: htx: Rework how free rooms are tracked in an HTX message
by Christopher Faulet
· Tue Jun 11 10:40:43 2019 +0200
0a7ef02
MINOR: htx: make htx_add_data() return the transmitted byte count
by Willy Tarreau
· Tue May 28 10:30:11 2019 +0200
29f1758
MEDIUM: htx: Store the first block position instead of the start-line one
by Christopher Faulet
· Thu May 23 11:03:26 2019 +0200
a3f1550
MEDIUM: http/htx: Perform analysis relatively to the first block
by Christopher Faulet
· Mon May 13 15:27:23 2019 +0200
7b7d507
MINOR: http/htx: Use sl_pos directly to replace the start-line
by Christopher Faulet
· Mon May 13 15:22:59 2019 +0200
297fbb4
MINOR: htx: Replace the function http_find_stline() by http_get_stline()
by Christopher Faulet
· Mon May 13 14:41:27 2019 +0200
9c66b98
MINOR: htx: Store start-line block's position instead of address of its payload
by Christopher Faulet
· Tue Apr 30 18:08:26 2019 +0200
28f29c7
MINOR: htx: Store the head position instead of the wrap one
by Christopher Faulet
· Tue Apr 30 17:55:45 2019 +0200
4904058
BUG/MINOR: htx: Exclude TCP proxies when the HTX mode is handled during startup
by Christopher Faulet
· Wed Apr 24 15:25:00 2019 +0200
Next »