Displaying 6 results from an estimated 6 matches for "dovecot_stats_writer_socket_path".
2019 Jan 06
3
IMAP preauth and stats-writer
...> @@ -341,7 +341,7 @@ master_service_init(const char *name, enum
> master_service_flags flags,
> ??????? if ((flags & MASTER_SERVICE_FLAG_DONT_SEND_STATS) == 0) {
> ??????????????? /* 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.
>
Hi Stephan
that fixes the...
2019 Jan 06
2
IMAP preauth and stats-writer
...st char *name, enum
> >> master_service_flags flags,
> >> if ((flags & MASTER_SERVICE_FLAG_DONT_SEND_STATS) == 0) {
> >> /* 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);
> >> }
> >>
> >>...
2019 Jan 06
0
IMAP preauth and stats-writer
...@ master_service_init(const char *name, enum
>> master_service_flags flags,
>> ??????? if ((flags & MASTER_SERVICE_FLAG_DONT_SEND_STATS) == 0) {
>> ??????????????? /* 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,
>>
>>...
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
0
IMAP preauth and stats-writer
...>> >> master_service_flags flags,
>> >> if ((flags & MASTER_SERVICE_FLAG_DONT_SEND_STATS) == 0) {
>> >> /* 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);
>> >> }
>>...
2019 Jan 06
0
IMAP preauth and stats-writer
...-master/master-service.c
@@ -341,7 +341,7 @@ master_service_init(const char *name, enum
master_service_flags flags,
??????? if ((flags & MASTER_SERVICE_FLAG_DONT_SEND_STATS) == 0) {
??????????????? /* 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.