Re: [PR] FEATURE: Enhance handling of non-RFC conformant syslog messages

2025-03-03 Thread Roberto Moreda
options2. * I replicate the loop to read options as it is in cfgparse-listen.c (only over options2). I added an explicit initialization px->options2 = 0. I'm attaching the new patch. I you prefer me to split it (or any other change), just let me know. Thx! Rober --- Roberto Moreda Al

Re: [PR] FEATURE: Enhance handling of non-RFC conformant syslog messages

2025-03-03 Thread Roberto Moreda
K, but I think that following a well established pattern is a good thing (like declaring a frontend pointer for syslog_fd_handler as in syslog_io_handler). Anyway, I'm more that willing to try other approaches if that makes easier for this to be included as a feature. Thanks a lot in adv

Re: [PR] FEATURE: Enhance handling of non-RFC conformant syslog messages

2025-03-03 Thread Roberto Moreda
Ouch, my mail client messed up the quotations... :-( I hope context could help clarify mu answer. Sorry. --- Roberto Moreda Allenta Consulting<http://www.allenta.com> (+34 881922600) Privacidad / Privacy<http://allenta.com/mail-privacy> On Mar 3, 2025, at 13:33, Roberto Moreda

Re: [PR] FEATURE: Enhance handling of non-RFC conformant syslog messages

2025-03-03 Thread Roberto Moreda
lit the patches (or even edit details), please go ahead. Credit is always shared 😉. Thx! Rober --- Roberto Moreda Allenta Consulting<http://www.allenta.com> (+34 881922600) Privacidad / Privacy<http://allenta.com/mail-privacy> On Mar 3, 2025, at 18:41, Aurelien DARRAGON wrote:

Re: [PR] FEATURE: Enhance handling of non-RFC conformant syslog messages

2025-03-03 Thread Roberto Moreda
ndler(): struct listener *l = objt_listener(fdtab[fd].owner); struct proxy *frontend; int max_accept; BUG_ON(!l); frontend = l->bind_conf->frontend; /* <-- moved this assignment after BUG_ON */ Cheers, Rober --- Roberto Moreda Allenta Consulting<http://www.allenta.com> (+34 8

Re: [PR] FEATURE: Enhance handling of non-RFC conformant syslog messages

2025-03-04 Thread Roberto Moreda
Sounds great. Thx! Enviado desde dispositivo móvil. Sent from mobile device. --- Roberto Moreda Allenta Consulting http://allenta.com > On 4 Mar 2025, at 19:14, Aurelien DARRAGON wrote: > > Hi Rober, > >> On 3/3/25 22:42, Roberto Moreda wrote: >> Hi again. >

Re: [PR] FEATURE: Enhance handling of non-RFC conformant syslog messages

2025-03-03 Thread Roberto Moreda
evice. --- Roberto Moreda Allenta Consulting http://allenta.com On 3 Mar 2025, at 18:56, Roberto Moreda wrote:  + +#define PR_O2_DONTPARSELOG 0x0200 /* don't parse log messages */ +#define PR_O2_ASSUME_RFC6587_NTF 0x0400 /* assume that we are going to receive just non-transpare