Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
8da23393a1ec3f24dcd408f4b35fdd3d9a141a5f
/
src
/
htx.c
28e7ba8
BUG/MEDIUM: htx: Adjust length to add DATA block in an empty HTX buffer
by Christopher Faulet
· Wed Jan 12 14:03:42 2022 +0100
4c8f75f
CLEANUP: Apply ist.cocci
by Tim Duesterhus
· Sat Nov 06 15:14:44 2021 +0100
4697c92
MINOR: htx: Add an HTX flag to know when a message is fragmented
by Christopher Faulet
· Tue Sep 21 15:39:30 2021 +0200
3d5f19e
CLEANUP: htx: remove comments about "must be < 256 MB"
by Willy Tarreau
· Thu Aug 26 16:07:22 2021 +0200
1cf414b
BUG/MAJOR: htx: Fix htx_defrag() when an HTX block is expanded
by Christopher Faulet
· Wed Jun 09 17:30:40 2021 +0200
2b78f0b
CLEANUP: htx: Remove unsued hdrs_bytes field from the HTX start-line
by Christopher Faulet
· Thu Apr 22 09:50:14 2021 +0200
c92ec0b
MEDIUM: htx: Refactor htx_xfer_blks() to not rely on hdrs_bytes field
by Christopher Faulet
· Thu Apr 22 09:45:18 2021 +0200
5e9b24f
BUG/MINOR: htx: Preserve HTX flags when draining data from an HTX message
by Christopher Faulet
· Thu Apr 22 09:43:47 2021 +0200
df3db63
REORG: htx: Inline htx functions to add HTX blocks in a message
by Christopher Faulet
· Mon Apr 26 10:18:16 2021 +0200
154374c
CLEANUP: Use istadv(const struct ist, const size_t) whenever possible
by Tim Duesterhus
· Tue Mar 02 18:57:27 2021 +0100
e071f0e
MINOR: htx: Add function to reserve the max possible size for an HTX DATA block
by Christopher Faulet
· Wed Feb 03 12:11:31 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
8f0cc5c
CLEANUP: Fix spelling errors in comments
by Thayne McCombs
· Thu Jan 07 21:35:52 2021 -0700
46a030c
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sun Jul 05 16:36:08 2020 +0500
47d1718
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sun Jun 21 21:42:57 2020 +0500
16f958c
REORG: include: split common/htx.h into haproxy/htx{,-t}.h
by Willy Tarreau
· Wed Jun 03 08:44:35 2020 +0200
c13ed53
REORG: include: move common/chunk.h to haproxy/chunk.h
by Willy Tarreau
· Tue Jun 02 10:22:45 2020 +0200
bb76aa4
MINOR: htx: Use htx_find_offset() to truncate an HTX message
by Christopher Faulet
· Mon Feb 24 15:09:24 2020 +0100
1cdceb9
MINOR: htx: Add a function to return a block at a specific offset
by Christopher Faulet
· Mon Feb 24 11:41:59 2020 +0100
0ea0c86
MINOR: htx: Add a function to append an HTX message to another one
by Christopher Faulet
· Thu Jan 23 11:47:53 2020 +0100
53a899b
CLEANUP: h1-htx: Move htx-to-h1 formatting functions from htx.c to h1_htx.c
by Christopher Faulet
· Tue Oct 08 16:38:42 2019 +0200
e0f8dc5
BUG/MEDIUM: htx: Catch chunk_memcat() failures when HTX data are formatted to h1
by Christopher Faulet
· Mon Oct 14 14:36:51 2019 +0200
92916d3
MINOR: h1-htx: Only use the path of a normalized URI to format a request line
by Christopher Faulet
· Tue Oct 08 15:43:39 2019 +0200
61ed779
BUG/MINOR: htx: Fix free space addresses calculation during a block expansion
by Christopher Faulet
· Mon Jul 29 10:50:28 2019 +0200
2bf43f0
MINOR: htx: Use an array of char to store HTX blocks
by Christopher Faulet
· Wed Jun 12 11:28:11 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
5a916f7
CLEANUP: htx: Remove the unsued function htx_add_blk_type_size()
by Christopher Faulet
· Thu Jun 20 15:22:51 2019 +0200
3b21972
DOC: htx: Update comments in HTX files
by Christopher Faulet
· Wed Jun 19 13:48:09 2019 +0200
2bce046
BUG/MINOR: htx: Save hdrs_bytes when the HTX start-line is replaced
by Christopher Faulet
· Tue Jun 25 21:31:26 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
8c65486
BUG/MINOR: htx: Detect when tail_addr meet end_addr to maximize free rooms
by Christopher Faulet
· Wed Jun 12 11:08:11 2019 +0200
86fcf6d
MINOR: htx: Add the function htx_move_blk_before()
by Christopher Faulet
· Tue Jun 11 10:41:19 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
86bc8df
BUG/MEDIUM: compression/htx: Fix the adding of the last data block
by Christopher Faulet
· Tue Jun 11 10:38:38 2019 +0200
54b5e21
MINOR: htx: Don't use end-of-data blocks anymore
by Christopher Faulet
· Tue Jun 04 10:08:28 2019 +0200
2d7c539
MEDIUM: htx: Add the parsing of trailers of chunked messages
by Christopher Faulet
· Mon Jun 03 10:41:26 2019 +0200
0350b90
MEDIUM: htx: make htx_add_data() never defragment the buffer
by Willy Tarreau
· Tue May 28 10:58:50 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
d4908fa
MINOR: htx: rename htx_append_blk_value() to htx_add_data_atonce()
by Willy Tarreau
· Tue May 28 10:23:46 2019 +0200
39744f7
MINOR: htx: Remove support of pseudo headers because it is unused
by Christopher Faulet
· Fri May 24 14:54:00 2019 +0200
ced3900
MINOR: htx: don't rely on htx_find_blk() anymore in the function htx_truncate()
by Christopher Faulet
· Thu May 23 11:12:43 2019 +0200
0f6d6a9
MINOR: htx: Optimize htx_drain() when all data are drained
by Christopher Faulet
· Thu May 23 11:11:52 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
a61e97b
MINOR: htx: Be sure to xfer all headers in one time in htx_xfer_blks()
by Christopher Faulet
· Thu May 16 11:30:31 2019 +0200
05c083c
MINOR: htx: Add a field to set the memory used by headers in the HTX start-line
by Christopher Faulet
· Wed May 15 14:56:47 2019 +0200
156852b
BUG/MINOR: htx: Change htx_xfer_blk() to also count metadata
by Christopher Faulet
· Thu May 16 11:29:13 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
b8fd4c0
BUG/MINOR: htx: Remove a forgotten while loop in htx_defrag()
by Christopher Faulet
· Mon May 20 09:32:25 2019 +0200
6f3cb18
MINOR: htx: Remove support for unused OOB HTX blocks
by Christopher Faulet
· Tue May 07 21:48:12 2019 +0200
6177509
MINOR: htx: Don't try to append a trailer block with the previous one
by Christopher Faulet
· Tue May 07 21:42:27 2019 +0200
bc5770b
MINOR: htx: Split on DATA blocks only when blocks are moved to an HTX message
by Christopher Faulet
· Tue May 07 10:52:54 2019 +0200
cc50602
BUG/MINOR: htx: Never transfer more than expected in htx_xfer_blks()
by Christopher Faulet
· Tue May 07 10:52:25 2019 +0200
f1449b7
BUG/MEDIUM: htx: Don't crush blocks payload when append is done on a data block
by Christopher Faulet
· Wed Apr 10 14:54:46 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
90caa07
BUG/MEDIUM: htx: fix random premature abort of data transfers
by Willy Tarreau
· Tue Apr 09 16:21:54 2019 +0200
549822f
MINOR: htx: Add function to drain data from an HTX message
by Christopher Faulet
· Mon Feb 25 10:23:19 2019 +0100
2bf0c13
BUG/MEDIUM: htx: count the amount of copied data towards the final count
by Willy Tarreau
· Thu Feb 21 15:06:30 2019 +0100
00cf697
MINOR: htx: Add a function to truncate all blocks after a specific offset
by Christopher Faulet
· Mon Jan 07 14:53:27 2019 +0100
52610e9
MINOR: htx: add a new function to add a block without filling it
by Willy Tarreau
· Thu Jan 03 18:26:17 2019 +0100
200f895
BUG/MAJOR: htx: Return the good block address after a defrag
by Christopher Faulet
· Wed Jan 02 11:23:44 2019 +0100
b96b77e
REORG: htx: merge types+proto into common/htx.h
by Willy Tarreau
· Tue Dec 11 10:22:41 2018 +0100
e97f3ba
BUG/MEDIUM: htx: Always do a defrag if a block value is replace by a bigger one
by Christopher Faulet
· Mon Dec 10 15:39:40 2018 +0100
c706cd7
BUG/MEDIUM: htx: fix typo in htx_replace_stline() making it fail all the time
by Willy Tarreau
· Fri Dec 07 17:12:22 2018 +0100
ed00e34
MEDIUM: ist: always turn header names to lower case
by Willy Tarreau
· Fri Dec 07 08:47:45 2018 +0100
174bfb1
BUG/MEDIUM: htx: Set the right start-line offset after a defrag
by Christopher Faulet
· Thu Dec 06 14:31:12 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
1e7af46
BUG/MINOR: htx: Force HTTP/1.1 on H1 formatting when version is 1.1 or above
by Christopher Faulet
· Mon Dec 03 14:05:01 2018 +0100
c59ff23
MINOR: htx: Rename functions htx_*_to_str() to be H1 specific
by Christopher Faulet
· Mon Dec 03 13:58:44 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
54483df
MINOR: htx: Add the start-line offset for the HTX message in the HTX structure
by Christopher Faulet
· Mon Nov 26 15:05:52 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
24ed835
MINOR: htx: Add function to add an HTX block just before another one
by Christopher Faulet
· Thu Nov 22 11:20:43 2018 +0100
53ad16a
BUG/MINOR: htx: Fix block size calculation when a start-line is added/replaced
by Christopher Faulet
· Mon Nov 26 15:02:30 2018 +0100
a3d2a16
MEDIUM: htx: Add API to deal with the internal representation of HTTP messages
by Christopher Faulet
· Mon Oct 22 08:59:39 2018 +0200