]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: fix "http_action_set_req_line()" comments
authorThierry FOURNIER <tfournier@arpalert.org>
Wed, 26 Aug 2015 14:23:34 +0000 (16:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 27 Aug 2015 09:31:19 +0000 (11:31 +0200)
Bowen repports errors about http_action_set_req_line() comments.
Some other errors appears from the patches about "actions" reorganisation.

src/proto_http.c

index fe847840d84427d92ae626a499f82c6169d9b481..46d41f016f5581a35fab951ca9b88ba1758f0d2a 100644 (file)
@@ -12255,10 +12255,10 @@ int http_replace_req_line(int action, const char *replace, int len,
 
 /* This function executes one of the set-{method,path,query,uri} actions. It
  * builds a string in the trash from the specified format string. It finds
- * the action to be performed in p[2], previously filled by function
+ * the action to be performed in <http.action>, previously filled by function
  * parse_set_req_line(). The replacement action is excuted by the function
- * http_action_set_req_line_exec(). It always returns 1. If an error occurs
- * the action is canceled, but the rule processing continue.
+ * http_action_set_req_line(). It always returns ACT_RET_CONT. If an error
+ * occurs the action is canceled, but the rule processing continue.
  */
 enum act_return http_action_set_req_line(struct act_rule *rule, struct proxy *px,
                                          struct session *sess, struct stream *s)