Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
6b736b4476a78f63b9eb94ec37ba0ae252b268aa
/
src
/
http_htx.c
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
05aab64
BUG/MEDIUM: htx: Defrag if blocks position is changed and the payloads wrap
by Christopher Faulet
· Thu Apr 11 13:43:57 2019 +0200
cdce54c
BUILD/MINOR: htx: fix some potential null-deref warnings with http_find_stline
by Willy Tarreau
· Tue Feb 12 12:02:27 2019 +0100
afba57a
REORG: h1: merge types+proto into common/h1.h
by Willy Tarreau
· Tue Dec 11 13:44:24 2018 +0100
b96b77e
REORG: htx: merge types+proto into common/htx.h
by Willy Tarreau
· Tue Dec 11 10:22:41 2018 +0100
aa75b3d
CLEANUP: htx: Fix indentation here and there in HTX files
by Christopher Faulet
· Wed Dec 05 16:20:40 2018 +0100
27ba2dc
MEDIUM: htx: Rework conversion from a buffer to an htx structure
by Christopher Faulet
· Wed Dec 05 11:53:24 2018 +0100
a7b677c
MEDIUM: proto_htx: Convert all HTTP error messages into HTX
by Christopher Faulet
· Thu Nov 29 16:48:49 2018 +0100
f1ba18d
MEDIUM: htx: Don't rely on h1_sl anymore except during H1 header parsing
by Christopher Faulet
· Mon Nov 26 21:37:08 2018 +0100
570d161
MEDIUM: htx: Change htx_sl to be a struct instead of an union
by Christopher Faulet
· Mon Nov 26 11:13:57 2018 +0100
573fe73
BUG/MINOR: htx: Stop a header or a start line lookup on the first EOH or EOM
by Christopher Faulet
· Wed Nov 28 16:55:12 2018 +0100
7ff1cea
MINOR: http_htx: Add functions to retrieve a specific occurrence of a header
by Christopher Faulet
· Wed Oct 24 10:39:35 2018 +0200
e010c80
MINOR: http_htx: Add functions to replace part of the start-line
by Christopher Faulet
· Wed Oct 24 10:36:45 2018 +0200
47596d3
MINOR: http_htx: Add functions to manipulate HTX messages in http_htx.c
by Christopher Faulet
· Mon Oct 22 09:17:28 2018 +0200