You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (registeredServer.stamp.Proto==stamps.StampProtoTypeDoH||registeredServer.stamp.Proto==stamps.StampProtoTypeODoHTarget) &&len(registeredServer.stamp.ProviderName) >0 {
771
+
if (registeredServer.stamp.Proto==stamps.StampProtoTypeDoH||registeredServer.stamp.Proto==stamps.StampProtoTypeODoHTarget) &&
dlog.Warnf("[%v] uses a non-standard provider name, enable direct cert fallback to use with a relay ('%v' doesn't start with '2.dnscrypt-cert.')", *serverName, providerName)
47
+
dlog.Warnf(
48
+
"[%v] uses a non-standard provider name, enable direct cert fallback to use with a relay ('%v' doesn't start with '2.dnscrypt-cert.')",
49
+
*serverName,
50
+
providerName,
51
+
)
38
52
} else {
39
53
dlog.Warnf("[%v] uses a non-standard provider name ('%v' doesn't start with '2.dnscrypt-cert.')", *serverName, providerName)
dlog.Infof("[%v] the key validity period for this server is excessively long (%d days), significantly reducing reliability and forward security.", *serverName, ttl/86400)
120
+
dlog.Infof(
121
+
"[%v] the key validity period for this server is excessively long (%d days), significantly reducing reliability and forward security.",
122
+
*serverName,
123
+
ttl/86400,
124
+
)
99
125
daysLeft:= (tsEnd-now) /86400
100
126
ifdaysLeft<1 {
101
-
dlog.Criticalf("[%v] certificate will expire today -- Switch to a different resolver as soon as possible", *serverName)
127
+
dlog.Criticalf(
128
+
"[%v] certificate will expire today -- Switch to a different resolver as soon as possible",
129
+
*serverName,
130
+
)
102
131
} elseifdaysLeft<=7 {
103
132
dlog.Warnf("[%v] certificate is about to expire -- if you don't manage this server, tell the server operator about it", *serverName)
// Write at least 1 byte. This ensures that sockets are ready to use for writing.
35
-
// Windows specific: during the system startup, sockets can be created but the underlying buffers may not be setup yet. If this is the case
36
-
// Write fails with WSAENOBUFS: "An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full"
35
+
// Windows specific: during the system startup, sockets can be created but the underlying buffers may not be
36
+
// setup yet. If this is the case Write fails with WSAENOBUFS: "An operation on a socket could not be
37
+
// performed because the system lacked sufficient buffer space or because a queue was full"
0 commit comments