Displaying 6 results from an estimated 6 matches for "stats_client_init".
2019 Jan 06
3
IMAP preauth and stats-writer
...stats-client early so it can see all
> events. */
> ??????????????? value = getenv(DOVECOT_STATS_WRITER_SOCKET_PATH);
> -?????????????? if (value != NULL)
> +?????????????? if (value != NULL && *value != '\0')
> ??????????????????????? service->stats_client =
> stats_client_init(value, FALSE);
> ??????? }
>
>
> Regards,
>
> Stephan.
>
Hi Stephan
that fixes the issue that I reproduced. For the OP he will probably need
to wait for this to be picked up for FreeBSD ports.
This code seems safer than the original but it is still a mystery as to
why DOVECOT...
2019 Jan 06
2
IMAP preauth and stats-writer
On 06/01/2019 02:26, John Fawcett wrote:
> On 05/01/2019 15:49, Mark Hills wrote:
>> I use IMAP preauth; I connect with Alpine over SSH which is very useful.
>>
>> The last few upgrades this has become more difficult to to. Last time
>> (moving 2.2 -> 2.3, I think) I had to put in a workaround:
>>
>> stats_writer_socket_path =
>>
>> It
2019 Jan 06
2
IMAP preauth and stats-writer
...ts. */
> >> value = getenv(DOVECOT_STATS_WRITER_SOCKET_PATH);
> >> - if (value != NULL)
> >> + if (value != NULL && *value != '\0')
> >> service->stats_client =
> >> stats_client_init(value, FALSE);
> >> }
> >>
> >>
> >> Regards,
> >>
> >> Stephan.
> >>
> > Hi Stephan
> >
> > that fixes the issue that I reproduced. For the OP he will probably need
> > to wait for this to be picked up...
2019 Jan 06
0
IMAP preauth and stats-writer
...???????????? /* Initialize stats-client early so it can see all
events. */
??????????????? value = getenv(DOVECOT_STATS_WRITER_SOCKET_PATH);
-?????????????? if (value != NULL)
+?????????????? if (value != NULL && *value != '\0')
??????????????????????? service->stats_client =
stats_client_init(value, FALSE);
??????? }
Regards,
Stephan.
2019 Jan 06
0
IMAP preauth and stats-writer
...can see all
>> events. */
>> ??????????????? value = getenv(DOVECOT_STATS_WRITER_SOCKET_PATH);
>> -?????????????? if (value != NULL)
>> +?????????????? if (value != NULL && *value != '\0')
>> ??????????????????????? service->stats_client =
>> stats_client_init(value, FALSE);
>> ??????? }
>>
>>
>> Regards,
>>
>> Stephan.
>>
> Hi Stephan
>
> that fixes the issue that I reproduced. For the OP he will probably need
> to wait for this to be picked up for FreeBSD ports.
>
> This code seems safer than...
2019 Jan 06
0
IMAP preauth and stats-writer
...> value = getenv(DOVECOT_STATS_WRITER_SOCKET_PATH);
>> >> - if (value != NULL)
>> >> + if (value != NULL && *value != '\0')
>> >> service->stats_client =
>> >> stats_client_init(value, FALSE);
>> >> }
>> >>
>> >>
>> >> Regards,
>> >>
>> >> Stephan.
>> >>
>> > Hi Stephan
>> >
>> > that fixes the issue that I reproduced. For the OP he will probably need
>...