Hi team,

Based on the feedback from 
https://www.mail-archive.com/haproxy@formilux.org/msg44153.html, I have 
attached a patch for modifying fetchers for req.hdrs and res.hdrs to 
selectively include / exclude headers.

I have the following 3 questions while I was doing this change:

  1.
Should I place the helper function skip_hdr_for_fetch  within http_fetch.c  or 
there is a better place for this?
  2.  Should I do this to smp_fetch_hdrs_bin  as well? I can update the code, 
comments, documentation if that is needed.
  3.
Not sure if this is the best style for modifying the fetch to support 10 
arguments as it does not align with other fetchers due to the huge number of 
characters required.

Please let me know what are your thoughts on this.

Thanks,
Ruei-Bang

Attachment: 0001-MEDIUM-sample-Modify-fetchers-for-req.hdrs-and-res.h.patch
Description: 0001-MEDIUM-sample-Modify-fetchers-for-req.hdrs-and-res.h.patch

Reply via email to