mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
'S' flag meaning we use ssl link added to /stats {c,C} (connect)
This commit is contained in:
parent
39944e1ff2
commit
f53ed7f8ca
2 changed files with 2 additions and 3 deletions
|
@ -35,9 +35,6 @@
|
||||||
*/
|
*/
|
||||||
#define TRY_CONNECTIONS_TIME 60
|
#define TRY_CONNECTIONS_TIME 60
|
||||||
|
|
||||||
/* collect ziplinks compression ratios/etc every minute */
|
|
||||||
#define ZIPSTATS_TIME 60
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* number of seconds to wait after server starts up, before
|
* number of seconds to wait after server starts up, before
|
||||||
* starting try_connections()
|
* starting try_connections()
|
||||||
|
|
|
@ -308,6 +308,8 @@ stats_connect(struct Client *source_p)
|
||||||
{
|
{
|
||||||
if(ServerConfAutoconn(server_p))
|
if(ServerConfAutoconn(server_p))
|
||||||
*s++ = 'A';
|
*s++ = 'A';
|
||||||
|
if(ServerConfSSL(server_p))
|
||||||
|
*s++ = 'S';
|
||||||
if(ServerConfTb(server_p))
|
if(ServerConfTb(server_p))
|
||||||
*s++ = 'T';
|
*s++ = 'T';
|
||||||
if(ServerConfCompressed(server_p))
|
if(ServerConfCompressed(server_p))
|
||||||
|
|
Loading…
Reference in a new issue