Re: [PATCH] CLEANUP: log: deinitialization of the log buffer in one function

2024-01-29 Thread Willy Tarreau
Hi Miroslav, On Tue, Jan 30, 2024 at 03:42:20AM +0100, Miroslav Zagorac wrote: > Hello all, > > In several places in the source, there was the same block of code that was > used to deinitialize the log buffer. There were even two functions that > did this, but they were called only from the code

[PATCH] CLEANUP: log: deinitialization of the log buffer in one function

2024-01-29 Thread Miroslav Zagorac
52ef575d77a47ef7338004fbad31d8199e59c752 Mon Sep 17 00:00:00 2001 From: Miroslav Zagorac Date: Tue, 30 Jan 2024 03:14:09 +0100 Subject: [PATCH] CLEANUP: log: deinitialization of the log buffer in one function In several places in the source, there was the same block of code that was used to deinitialize the log

Re: PATCH/CLEANUP: log

2017-09-21 Thread Willy Tarreau
On Thu, Sep 21, 2017 at 04:41:55PM +0100, David CARLIER wrote: > There are valid points especially about possible usage in memprintf :-) Thanks, now merged. Willy

Re: PATCH/CLEANUP: log

2017-09-21 Thread David CARLIER
rom 4c694b4ff20a6ec88bc73c51a93c23de3f781c01 Mon Sep 17 00:00:00 2001 > > From: David Carlier > > Date: Thu, 21 Sep 2017 14:36:43 + > > Subject: [PATCH] CLEANUP: log > > Please be a bit more indicative on the subject line so that when we work > on backports to -stable

Re: PATCH/CLEANUP: log

2017-09-21 Thread Willy Tarreau
od enough. Just a few comments (I always have comments ;-)) > Kind regards. > From 4c694b4ff20a6ec88bc73c51a93c23de3f781c01 Mon Sep 17 00:00:00 2001 > From: David Carlier > Date: Thu, 21 Sep 2017 14:36:43 +0000 > Subject: [PATCH] CLEANUP: log Please be a bit more indicative on

PATCH/CLEANUP: log

2017-09-21 Thread David CARLIER
Carlier Date: Thu, 21 Sep 2017 14:36:43 + Subject: [PATCH] CLEANUP: log since we do not log the sample fetch when it is invalid, we can free the log data. --- src/log.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/log.c b/src/log.c index 5c42f6b2a..0fb0f68e0 100644 --- a/src/log.c

Re: [PATCH] CLEANUP: log

2016-02-29 Thread Willy Tarreau
Hi David, On Mon, Feb 29, 2016 at 07:55:45PM +, David CARLIER wrote: > Hi I hope this looks better this time. Yes, thanks. I'll split it in two, one for the API update and the other one for the logs. That way it's easier to know what to backport when we later clean up all other call places.

Re: [PATCH] CLEANUP: log

2016-02-29 Thread David CARLIER
you >> interested >> in working on the solution I proposed ? >> >> Thanks, >> Willy >> >> > From 1c42759fbd31a18c6d3efe669c316a53c4ad6251 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Mon, 29 Feb 2016 19:51:17 + Subject: [PATCH] CLEANUP: log Different ap

Re: [PATCH] CLEANUP: log

2016-02-29 Thread David CARLIER
Sorry I did not see the whole email, just realized ok why not :-) On 29 February 2016 at 11:18, Willy Tarreau wrote: > On Mon, Feb 29, 2016 at 10:37:33AM +, David CARLIER wrote: > > Hi no problems it is not a bugfix at all, usually just better to copy a > > const char instead of casting it i

Re: [PATCH] CLEANUP: log

2016-02-29 Thread Willy Tarreau
On Mon, Feb 29, 2016 at 10:37:33AM +, David CARLIER wrote: > Hi no problems it is not a bugfix at all, usually just better to copy a > const char instead of casting it in this sort of situation. Nothing else. Yes clearly, but as I said it's better to fix it anyway. Are you interested in workin

Re: [PATCH] CLEANUP: log

2016-02-29 Thread David CARLIER
posal for the log component. > > > From f1924d813f37cd6444d9251605fdd823efb7fe20 Mon Sep 17 00:00:00 2001 > From: David Carlier > Date: Thu, 18 Feb 2016 21:46:48 + > Subject: [PATCH] CLEANUP: log > > The string to be escaped is not marked at const, > and it would be safer to copy in

Re: [PATCH] CLEANUP: log

2016-02-28 Thread Willy Tarreau
is a tiny patch proposal for the log component. >From f1924d813f37cd6444d9251605fdd823efb7fe20 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Thu, 18 Feb 2016 21:46:48 +0000 Subject: [PATCH] CLEANUP: log The string to be escaped is not marked at const, and it would be safer to cop

[PATCH] CLEANUP: log

2016-02-18 Thread David CARLIER
HI all, There is a tiny patch proposal for the log component. Cheers. From f1924d813f37cd6444d9251605fdd823efb7fe20 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Thu, 18 Feb 2016 21:46:48 + Subject: [PATCH] CLEANUP: log The string to be escaped is not marked at const, and it would