Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
fd4bffe7c090ff316477fc245c5d3037fb32b713
/
src
/
http_ana.c
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
b304883
MINOR: http-rules: Use an action function to eval http-request auth rules
by Christopher Faulet
· Wed May 27 15:26:43 2020 +0200
612f2ea
MINOR: http-ana: Use proxy's error replies to emit 401/407 responses
by Christopher Faulet
· Wed May 27 09:57:28 2020 +0200
ae43b6c
MINOR: http-ana: Make the function http_reply_to_htx() public
by Christopher Faulet
· Wed May 27 15:24:22 2020 +0200
97e466c
MINOR: http-ana: Add a function to write an http reply in an HTX message
by Christopher Faulet
· Fri May 15 15:12:47 2020 +0200
2056736
MINOR: htx: Add a function to copy a buffer in an HTX message
by Christopher Faulet
· Fri May 15 14:52:49 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
8dfeccf
MEDIUM: http-ana: Use http replies for HTTP error messages
by Christopher Faulet
· Fri May 15 14:16:29 2020 +0200
507479b
MINOR: http-ana: Use a TXN flag to prevent after-response ruleset evaluation
by Christopher Faulet
· Fri May 15 12:29:46 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
5cb513a
MEDIUM: http-rules: Rely on http reply for http deny/tarpit rules
by Christopher Faulet
· Wed May 13 17:56:56 2020 +0200
0e2ad61
MINOR: http-ana: Use a dedicated function to send a response from an http reply
by Christopher Faulet
· Wed May 13 16:38:37 2020 +0200
a53abad
CLEANUP: http_ana: Remove unused TXN flags
by Christopher Faulet
· Wed May 13 08:12:22 2020 +0200
3c27dda
MINOR: stats: Expose native cum_req metric for a server
by Marcin Deranek
· Fri May 15 18:32:51 2020 +0200
8cabc97
BUG/MEDIUM: streams: Remove SF_ADDR_SET if we're retrying due to L7 retry.
by Olivier Houchard
· Tue May 12 22:18:14 2020 +0200
f1dcced
BUG/MEDIUM: http_ana: make the detection of NTLM variants safer
by Willy Tarreau
· Thu May 07 19:27:02 2020 +0200
49a1d28
BUG/MINOR: http-ana: fix NTLM response parsing again
by Willy Tarreau
· Thu May 07 19:10:15 2020 +0200
8d945d6
BUG/MINOR: http-ana: Throw a 500 error if after-response ruleset fails on errors
by Christopher Faulet
· Mon Apr 20 14:58:38 2020 +0200
9df1886
BUG/MEDIUM: http-ana: Handle NTLM messages correctly.
by Olivier Houchard
· Wed Apr 22 21:51:14 2020 +0200
6fb0f21
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Thu Apr 02 15:25:26 2020 +0500
2e8ab6b
MINOR: use DISGUISE() everywhere we deliberately want to ignore a result
by Willy Tarreau
· Sat Mar 14 11:03:20 2020 +0100
49c2a70
BUG/MINOR: http-rules: Abort transaction when a redirect is applied on response
by Christopher Faulet
· Fri Mar 06 15:44:37 2020 +0100
90d22a8
BUG/MINOR: http-rules: Return ACT_RET_ABRT to abort a transaction
by Christopher Faulet
· Fri Mar 06 11:18:39 2020 +0100
e58c000
BUG/MINOR: http-ana: Reset request analysers on a response side error
by Christopher Faulet
· Mon Mar 02 16:21:01 2020 +0100
a17e662
MEDIUM: stream: Make the `unique_id` member of `struct stream` a `struct ist`
by Tim Duesterhus
· Thu Mar 05 20:19:02 2020 +0100
0643b0e
MINOR: proxy: Make `header_unique_id` a `struct ist`
by Tim Duesterhus
· Thu Mar 05 17:56:35 2020 +0100
ed52637
CLEANUP: Use `isttest()` and `istfree()`
by Tim Duesterhus
· Thu Mar 05 17:56:33 2020 +0100
e296d3e
MINOR: ist: Add `int isttest(const struct ist)`
by Tim Duesterhus
· Thu Mar 05 17:56:31 2020 +0100
2825b4b
MINOR: stream: Use stream_generate_unique_id
by Tim Duesterhus
· Fri Feb 28 15:13:34 2020 +0100
127a74d
MINOR: stream: Add stream_generate_unique_id function
by Tim Duesterhus
· Fri Feb 28 15:13:33 2020 +0100
8b50758
CLEANUP: cache: use read_u32/write_u32 to access the cache entry's hash
by Willy Tarreau
· Tue Feb 25 09:35:07 2020 +0100
9d9d645
BUG/MAJOR: http-ana: Always abort the request when a tarpit is triggered
by Christopher Faulet
· Fri Feb 21 10:20:46 2020 +0100
6072beb
MINOR: http-ana: Match on the path if the monitor-uri starts by a /
by Christopher Faulet
· Tue Feb 18 15:34:58 2020 +0100
d27689e
BUG/MINOR: http-ana: Matching on monitor-uri should be case-sensitive
by Christopher Faulet
· Tue Feb 18 14:51:51 2020 +0100
a20a653
BUG/MINOR: http-ana: Increment failed_resp counters on invalid response
by Christopher Faulet
· Wed Feb 05 10:16: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
a72a7e4
MINOR: http-ana/http-rules: Use dedicated function to forward internal responses
by Christopher Faulet
· Tue Jan 28 09:28:11 2020 +0100
ef70e25
MINOR: http-ana: Add a function for forward internal responses
by Christopher Faulet
· Tue Jan 28 09:26:19 2020 +0100
72c7d8d
MINOR: http-ana: Rely on http_reply_and_close() to handle server error
by Christopher Faulet
· Mon Jan 27 15:32:25 2020 +0100
60b33a5
MINOR: http-rules: Handle the rule direction when a redirect is evaluated
by Christopher Faulet
· Tue Jan 28 09:18:10 2020 +0100
c20afb8
BUG/MINOR: http-ana: Set HTX_FL_PROXY_RESP flag if a server perform a redirect
by Christopher Faulet
· Fri Jan 24 19:16:26 2020 +0100
7a138dc
BUG/MINOR: http-ana: Reset HTX first index when HAPRoxy sends a response
by Christopher Faulet
· Fri Jan 24 19:12:35 2020 +0100
637259e
BUG/MINOR: http-ana: Don't overwrite outgoing data when an error is reported
by Christopher Faulet
· Thu Jan 23 11:57:31 2020 +0100
be20cf3
BUG/MINOR: http-ana: Increment the backend counters on the backend
by Christopher Faulet
· Fri Jan 24 11:41:38 2020 +0100
220a26c
BUG/MEDIUM: 0rtt: Only consider the SSL handshake.
by Olivier Houchard
· Thu Jan 23 14:57:36 2020 +0100
2f53390
MINOR: proxy/http-ana: Add support of extra attributes for the cookie directive
by Christopher Faulet
· Tue Jan 21 11:06:48 2020 +0100
53a87e1
CLEANUP: http-ana: Remove useless test on txn when the error message is retrieved
by Christopher Faulet
· Tue Jan 21 10:13:03 2020 +0100
554c0eb
MEDIUM: http-rules: Support an optional error message in http deny rules
by Christopher Faulet
· Tue Jan 14 12:00:28 2020 +0100
473e880
MINOR: http-ana: Add an error message in the txn and send it when defined
by Christopher Faulet
· Tue Jan 14 11:12:37 2020 +0100
040c8cd
MINOR: http-rules: Support an optional status on deny rules for http reponses
by Christopher Faulet
· Mon Jan 13 16:43:45 2020 +0100
b58f62b
MINOR: http-rules: Update txn flags and status when a deny rule is executed
by Christopher Faulet
· Mon Jan 13 16:40:13 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
ac98d81
MINOR: http-rule/tcp-rules: Make track-sc* custom actions
by Christopher Faulet
· Wed Dec 18 09:20:16 2019 +0100
91b3ec1
MEDIUM: http-rules: Make early-hint custom actions
by Christopher Faulet
· Fri Jan 17 22:30:06 2020 +0100
5275aa7
MINOR: http-rules: Group all processing of early-hint rule in its case clause
by Christopher Faulet
· Fri Jan 17 16:47:42 2020 +0100
046cf44
MINOR: http-rules: Make set/del-map and add/del-acl custom actions
by Christopher Faulet
· Tue Dec 17 15:45:23 2019 +0100
d1f27e3
MINOR: http-rules: Make set-header and add-header custom actions
by Christopher Faulet
· Tue Dec 17 09:33:38 2019 +0100
92d34fe
MINOR: http-rules: Make replace-header and replace-value custom actions
by Christopher Faulet
· Tue Dec 17 09:20:34 2019 +0100
105ba6c
MINOR: actions: Rename the act_flag enum into act_opt
by Christopher Faulet
· Wed Dec 18 14:41:51 2019 +0100
cd26e8a
MINOR: http-rules/tcp-rules: Call the defined action function first if defined
by Christopher Faulet
· Wed Dec 18 11:13:39 2019 +0100
96bff76
MINOR: actions: Regroup some info about HTTP rules in the same struct
by Christopher Faulet
· Tue Dec 17 13:46:18 2019 +0100
1aea50e
MEDIUM: http-rules: Enable the strict rewriting mode by default
by Christopher Faulet
· Fri Jan 17 16:03:53 2020 +0100
46f9554
MINOR: http-rules: Add a rule to enable or disable the strict rewriting mode
by Christopher Faulet
· Fri Dec 20 10:07:22 2019 +0100
e00d06c
MINOR: http-rules: Handle all message rewrites the same way
by Christopher Faulet
· Mon Dec 16 17:18:42 2019 +0100
a00071e
MINOR: http-ana: Add a txn flag to support soft/strict message rewrites
by Christopher Faulet
· Thu Dec 12 16:41:00 2019 +0100
cff0f73
MINOR: counters: Review conditions to increment counters from analysers
by Christopher Faulet
· Mon Dec 16 16:13:44 2019 +0100
a08546b
MINOR: counters: Remove failed_secu counter and use denied_resp instead
by Christopher Faulet
· Mon Dec 16 16:07:34 2019 +0100
74f67af
MINOR: http-rules: Handle denied/aborted/invalid connections from HTTP rules
by Christopher Faulet
· Mon Dec 16 13:07:14 2019 +0100
3a26bee
MINOR: http-rules: Handle internal errors during HTTP rules evaluation
by Christopher Faulet
· Mon Dec 16 12:47:40 2019 +0100
b8a5371
MEDIUM: http-ana: Properly handle internal processing errors
by Christopher Faulet
· Mon Dec 16 11:29:38 2019 +0100
28160e7
MINOR: http-rules: Return an error when custom actions return ACT_RET_ERR
by Christopher Faulet
· Fri Dec 13 09:36:11 2019 +0100
1a3e027
BUG/MINOR: http-ana/filters: Wait end of the http_end callback for all filters
by Christopher Faulet
· Fri Nov 15 16:31:46 2019 +0100
96b3639
BUG/MEDIUM: http-ana: Truncate the response when a redirect rule is applied
by Kevin Zhu
· Tue Jan 07 09:42:55 2020 +0100
145719a
BUG/MINOR: http-ana: Properly catch aborts during the payload forwarding
by Christopher Faulet
· Fri Nov 15 11:29:40 2019 +0100
fee726f
MINOR: http-ana: Remove the unused function http_reset_txn()
by Christopher Faulet
· Thu Nov 07 15:26:45 2019 +0100
5939925
BUG/MEDIUM: stream: Be sure to release allocated captures for TCP streams
by Christopher Faulet
· Thu Nov 07 14:27:52 2019 +0100
eea8fc7
MEDIUM: stream/trace: Register a new trace source with its events
by Christopher Faulet
· Tue Nov 05 16:18:10 2019 +0100
1eb3b48
BUG/MINOR: stats: properly check the path and not the whole URI
by Willy Tarreau
· Thu Oct 31 15:50:28 2019 +0100
0651181
MINOR: htx: Add a flag on HTX to known when a response was generated by HAProxy
by Christopher Faulet
· Wed Oct 16 09:38:27 2019 +0200
676c29e
MINOR: stats: always merge the uri_auth flags into the appctx flags
by Willy Tarreau
· Wed Oct 09 10:50:01 2019 +0200
d72665b
CLEANUP: http-ana: Remove the unused function http_send_name_header()
by Christopher Faulet
· Tue Sep 24 16:22:32 2019 +0200
e3d2a87
MINOR: http-ana: Remove err_state field from http_msg
by Christopher Faulet
· Mon Sep 09 11:11:45 2019 +0200
b9a92f3
MINOR: http-ana: Handle HTX errors first during message analysis
by Christopher Faulet
· Mon Sep 09 10:15:21 2019 +0200
6338a08
MINOR: stats: Add JSON export from the stats page
by Christopher Faulet
· Mon Sep 09 15:50:54 2019 +0200
3499f62
BUG/MINOR: http-ana: Reset response flags when 1xx messages are handled
by Christopher Faulet
· Tue Sep 03 15:23:54 2019 +0200
bd9e842
BUG/MINOR: stats: Wait the body before processing POST requests
by Christopher Faulet
· Thu Aug 15 22:26:48 2019 +0200
f0f4238
BUG/CRITICAL: http_ana: Fix parsing of malformed cookies which start by a delimiter
by Olivier Houchard
· Mon Jul 22 17:43:46 2019 +0200
9f5839c
BUG/MINOR: http_ana: Be sure to have an allocated buffer to generate an error
by Christopher Faulet
· Mon Jul 22 16:41:43 2019 +0200
1c8d32b
MAJOR: stream: store the target address into s->target_addr
by Willy Tarreau
· Thu Jul 18 15:47:45 2019 +0200
ca79f59
MEDIUM: connection: make sure all address producers allocate their address
by Willy Tarreau
· Wed Jul 17 19:04:47 2019 +0200
a48f4b3
MINOR: htx: switch from conn->addr.{from,to} to conn->{src,dst}
by Willy Tarreau
· Wed Jul 17 15:11:59 2019 +0200
83b5890
MINOR: http/htx: use conn_get_dst() to retrieve the destination address
by Willy Tarreau
· Wed Jul 17 11:49:08 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
1b6adb4
MINOR: proxy/http_ana: Remove unused req_exp/rsp_exp and req_add/rsp_add lists
by Christopher Faulet
· Wed Jul 17 15:33:14 2019 +0200
fc9cfe4
REORG: proto_htx: Move HTX analyzers & co to http_ana.{c,h} files
by Christopher Faulet
· Tue Jul 16 14:54:53 2019 +0200
[Renamed (93%) from src/proto_htx.c]
a8a46e2
CLEANUP: proto_http: Move remaining code from proto_http.c to proto_htx.c
by Christopher Faulet
· Tue Jul 16 14:53:09 2019 +0200
c41547b
MINOR: proto_http: Remove unused http txn flags
by Christopher Faulet
· Tue Jul 16 14:32:23 2019 +0200
711ed6a
MAJOR: http: Remove the HTTP legacy code
by Christopher Faulet
· Tue Jul 16 14:16:10 2019 +0200
c63231d
MINOR: proto_htx: Don't stop forwarding when there is a post-connect processing
by Christopher Faulet
· Thu Jun 13 11:36:17 2019 +0200
304cc40
MINOR: proto_htx: Add the function htx_return_srv_error()
by Christopher Faulet
· Mon Jul 15 15:46:28 2019 +0200
Next »