Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
e88498c4665aa782e7bb559eca626f73ac683415
/
src
/
h1.c
486cd73
BUG/CRITICAL: http: properly reject empty http header field names
by Willy Tarreau
· Thu Feb 09 21:36:54 2023 +0100
e21ad30
BUILD: h1: silence an initiialized warning with gcc-4.7 and -Os
by Willy Tarreau
· Tue Oct 04 08:02:03 2022 +0200
63f95ed
BUG/MEDIUM: h1: Improve authority validation for CONNCET request
by Christopher Faulet
· Tue Jul 05 14:50:17 2022 +0200
aad333a
MEDIUM: h1: add a WebSocket key on handshake if needed
by Amaury Denoyelle
· Fri Dec 11 17:53:07 2020 +0100
c193823
MEDIUM: h1: generate WebSocket key on response if needed
by Amaury Denoyelle
· Fri Dec 11 17:53:03 2020 +0100
18ee5c3
MINOR: h1: reject websocket handshake if missing key
by Amaury Denoyelle
· Fri Dec 11 17:53:02 2020 +0100
f278eec
BUILD: tree-wide: cast arguments to tolower/toupper to unsigned char
by Willy Tarreau
· Sun Jul 05 21:46:32 2020 +0200
47d1718
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sun Jun 21 21:42:57 2020 +0500
f1d32c4
REORG: include: move channel.h to haproxy/channel{,-t}.h
by Willy Tarreau
· Thu Jun 04 21:07:02 2020 +0200
5413a87
REORG: include: move common/h1.h to haproxy/h1.h
by Willy Tarreau
· Tue Jun 02 19:33:08 2020 +0200
0017be0
REORG: include: split common/http-hdr.h into haproxy/http-hdr{,-t}.h
by Willy Tarreau
· Tue Jun 02 19:25:28 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
7032a3f
BUG/MEDIUM: h1: Don't compare host and authority if only h1 headers are parsed
by Christopher Faulet
· Mon May 04 09:01:45 2020 +0200
02ac950
CLEANUP: http/h1: rely on HA_UNALIGNED_LE instead of checking for CPU families
by Willy Tarreau
· Fri Feb 21 16:31:22 2020 +0100
1703478
BUG/MINOR: h1: Report the right error position when a header value is invalid
by Christopher Faulet
· Mon Jan 06 13:41:01 2020 +0100
bc7c03e
BUG/MINOR: h1: Don't test the host header during response parsing
by Christopher Faulet
· Wed Nov 27 14:00:51 2019 +0100
531b83e
MINOR: h1: Reject requests if the authority does not match the header host
by Christopher Faulet
· Fri Oct 11 13:34:22 2019 +0200
497ab4f
MINOR: h1: Reject requests with different occurrences of the header host
by Christopher Faulet
· Fri Oct 11 09:01:44 2019 +0200
84f0653
BUG/MINOR: h1: Properly reset h1m when parsing is restarted
by Christopher Faulet
· Tue Sep 03 16:05:31 2019 +0200
711ed6a
MAJOR: http: Remove the HTTP legacy code
by Christopher Faulet
· Tue Jul 16 14:16:10 2019 +0200
a51ebb7
MEDIUM: h1: Add an option to sanitize connection headers during parsing
by Christopher Faulet
· Fri Mar 29 15:03:13 2019 +0100
68b1bbd
BUG/MEDIUM: h1: Get the h1m state when restarting the headers parsing
by Christopher Faulet
· Fri Jan 04 16:06:48 2019 +0100
0f8fb6b
MINOR: h1: make the H1 headers block parser able to parse headers only
by Willy Tarreau
· Fri Jan 04 10:48:03 2019 +0100
afba57a
REORG: h1: merge types+proto into common/h1.h
by Willy Tarreau
· Tue Dec 11 13:44:24 2018 +0100
538746a
REORG: h1: move legacy http functions to http_msg.c
by Willy Tarreau
· Tue Dec 11 10:59:20 2018 +0100
25da9e3
MINOR: h1: Add the flag H1_MF_NO_PHDR to not add pseudo-headers during parsing
by Christopher Faulet
· Mon Oct 08 15:50:15 2018 +0200
1dc2b49
MINOR: h1: Change the union h1_sl to use indirect strings to store infos
by Christopher Faulet
· Mon Oct 08 15:34:02 2018 +0200
ff08a92
MINOR: h1: Add EOH marker during headers parsing
by Christopher Faulet
· Tue Sep 25 13:59:46 2018 +0200
2912f87
BUG/MEDIUM: h1: Really skip all updates when incomplete messages are parsed
by Christopher Faulet
· Wed Sep 19 14:01:04 2018 +0200
73373ab
MEDIUM: h1: deduplicate the content-length header
by Willy Tarreau
· Fri Sep 14 17:11:33 2018 +0200
2557f6a
MEDIUM: h1: better handle transfer-encoding vs content-length
by Willy Tarreau
· Fri Sep 14 16:34:47 2018 +0200
2ea6bb5
MINOR: h1: add headers to the list after controls, not before
by Willy Tarreau
· Fri Sep 14 16:28:15 2018 +0200
98f5cf7
MINOR: h1: parse the Connection header field
by Willy Tarreau
· Thu Sep 13 14:15:58 2018 +0200
ba5fbca
MINOR: h1: report in the h1m struct if the HTTP version is 1.1 or above
by Willy Tarreau
· Thu Sep 13 11:32:51 2018 +0200
db72da0
BUG/MINOR: h1: don't consider the status for each header
by Willy Tarreau
· Thu Sep 13 11:52:20 2018 +0200
eb528db
MINOR: h1: add H1_MF_TOLOWER to decide when to turn header names to lower case
by Willy Tarreau
· Wed Sep 12 09:54:00 2018 +0200
c2ab9f5
MEDIUM: h1: implement the request parser as well
by Willy Tarreau
· Tue Sep 11 17:57:05 2018 +0200
11da567
MINOR: h1: remove the HTTP status from the H1M struct
by Willy Tarreau
· Tue Sep 11 19:23:04 2018 +0200
001823c
MEDIUM: h1: remove the useless H1_MSG_BODY state
by Willy Tarreau
· Wed Sep 12 17:25:32 2018 +0200
4c34c0e
MEDIUM: h1: support partial message parsing
by Willy Tarreau
· Tue Sep 11 16:20:30 2018 +0200
5384aac
MINOR: h1: make the message parser support a null <hdr> argument
by Willy Tarreau
· Tue Sep 11 16:04:48 2018 +0200
4433c08
MEDIUM: h1: let the caller pass the initial parser's state
by Willy Tarreau
· Tue Sep 11 15:33:32 2018 +0200
a41393f
MEDIUM: h1: make the parser support a pointer to a start line
by Willy Tarreau
· Tue Sep 11 15:34:50 2018 +0200
9aec305
MEDIUM: h1: consider err_pos before deciding to accept a header name or not
by Willy Tarreau
· Wed Sep 12 09:20:40 2018 +0200
801250e
REORG: h1: create a new h1m_state
by Willy Tarreau
· Tue Sep 11 11:45:04 2018 +0200
35b51c6
REORG: http: move the HTTP semantics definitions to http.h/http.c
by Willy Tarreau
· Mon Sep 10 15:38:55 2018 +0200
950a8a6
BUG/MINOR: h1: fix buffer shift after realignment
by Willy Tarreau
· Thu Sep 06 10:48:15 2018 +0200
c9fa048
MAJOR: buffer: finalize buffer detachment
by Willy Tarreau
· Tue Jul 10 17:43:27 2018 +0200
72a100b
MINOR: buffer: replace bi_fast_delete() with b_del()
by Willy Tarreau
· Tue Jul 10 09:59:31 2018 +0200
5e74b0b
MEDIUM: h1: port to new buffer API.
by Willy Tarreau
· Tue Jun 19 08:03:19 2018 +0200
f40e682
MINOR: h1: make h1_measure_trailers() use an offset and a count
by Willy Tarreau
· Thu Jun 14 16:52:02 2018 +0200
7314be8
MINOR: h1: make h1_measure_trailers() take the byte count in argument
by Willy Tarreau
· Thu Jun 14 13:32:50 2018 +0200
188e230
MINOR: buffer: convert most b_ptr() calls to c_ptr()
by Willy Tarreau
· Fri Jun 15 11:11:53 2018 +0200
8f9c72d
MINOR: buffer: remove bi_end()
by Willy Tarreau
· Thu Jun 07 18:46:28 2018 +0200
41e38ac
MINOR: buffer: remove bo_end()
by Willy Tarreau
· Thu Jun 07 18:22:26 2018 +0200
1b4cf9b
BUG/MINOR: h1: the HTTP/1 make status code parser check for digits
by Willy Tarreau
· Thu Nov 09 11:15:45 2017 +0100
2510f70
MINOR: h1: add a function to measure the trailers length
by Willy Tarreau
· Tue Oct 31 17:14:16 2017 +0100
d22e83a
MINOR: h1: store the status code in the H1 message
by Willy Tarreau
· Tue Oct 31 08:02:24 2017 +0100
8ea0f38
MEDIUM: h1: ensure that 1xx, 204 and 304 don't have a payload body
by Willy Tarreau
· Mon Oct 30 19:31:59 2017 +0100
794f9af
MEDIUM: h1: reimplement the http/1 response parser for the gateway
by Willy Tarreau
· Wed Jul 26 09:07:47 2017 +0200
8740c8b
REORG: http: move the HTTP/1 header block parser to h1.c
by Willy Tarreau
· Thu Sep 21 10:22:25 2017 +0200
db4893d
REORG: http: move the HTTP/1 chunk parser to h1.{c,h}
by Willy Tarreau
· Thu Sep 21 08:40:02 2017 +0200
0da5b3b
REORG: http: move some very http1-specific parts to h1.{c,h}
by Willy Tarreau
· Thu Sep 21 09:30:46 2017 +0200