Question on deleting cookies from an HTTP request

2024-04-26 Thread Lokesh Jindal
Hey folks I have found that there is no operator "del-cookie" in HAProxy to delete cookies from the request. (HAProxy does support the operator "del-header"). Can you explain why such an operator is not supported? Is it due to complexity? Due to performance? It will be great if you can share

Re: About the SPOE

2024-03-25 Thread Lokesh Jindal
Hey Willy Resending this email in case you missed the last one. Let me know if you had any follow up questions/comments. I saw https://github.com/haproxy/haproxy/issues/2502 created by Christopher - looking forward to discussion on that issue. - Lokesh From: Lokesh Jindal Date: Monday

Re: About the SPOE

2024-03-18 Thread Lokesh Jindal
Hey Willy Please see my response inline below. - Lokesh From: Willy Tarreau Date: Monday, March 18, 2024 at 4:08 AM To: Lokesh Jindal Cc: Abhijeet Rastogi , Christopher Faulet , haproxy@formilux.org , Aleksandar Lazic Subject: Re: About the SPOE Hi Lokesh, Abhijeet, Alex, First, thanks

Re: About the SPOE

2024-03-15 Thread Lokesh Jindal
Hey Christopher Adding to what my colleague, Abhijeet, said. 1. We plan to ramp traffic to HAProxy very soon where we will heavily rely on SPOA. In our testing, we are satisfied with SPOE in terms of performance. The flexibility to write SPOA in any language not only allows us to handle

Re: [PATCH] MEDIUM: sample: Enhances converter "bytes" to take variable names as arguments

2023-09-17 Thread Lokesh Jindal
s_0_7_concat (012345) == "" failed Anyway, I can add this such a test in another patch if needed and time permits. Let me know what you think. Thanks Lokesh On Fri, Sep 8, 2023 at 10:05 AM Willy Tarreau wrote: > On Thu, Sep 07, 2023 at 10:45:58AM -0700, Lokesh Jindal wrote: >

[PATCH] MEDIUM: sample: Enhances converter "bytes" to take variable names as arguments

2023-09-07 Thread Lokesh Jindal
Resending the patch with the right email subject. Previos email discussion - here . PFA the patch file. I have two questions in general: 1. Can you explain what this method does and why is it needed? (I used it in my patch

Re: Request for feedback: Add support for txn args as arguments in converter "bytes"

2023-09-06 Thread Lokesh Jindal
tes* returns 0 in case of an invalid arg e.g. negative offset. Can you explain when a converter should return 0 V 1? I am not sure how that impacts the haproxy behavior. On Mon, Aug 28, 2023 at 9:56 AM Lokesh Jindal <15ljin...@gmail.com> wrote: > Thanks for the response and the corrections, Wil

Re: Request for feedback: Add support for txn args as arguments in converter "bytes"

2023-08-28 Thread Lokesh Jindal
g[0] does not exist), we can do the same. We can discuss more after I share the patch. Thanks Lokesh On Mon, Aug 28, 2023 at 2:53 AM Willy Tarreau wrote: > Hi Lokesh, > > On Fri, Aug 25, 2023 at 01:44:48PM -0700, Lokesh Jindal wrote: > > Hey folks > > > > I am writing

Request for feedback: Add support for txn args as arguments in converter "bytes"

2023-08-25 Thread Lokesh Jindal
Hey folks I am writing to gather feedback on an idea before doing the implementation. Per the documentation, converter "bytes" accepts integer values as arguments, but not txn args. i.e. ,bytes(2,8) will work but ,bytes(txn.start_idx,txn.length) will not work. For our use case, we need to parse