We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0890926 commit 96cf5c5Copy full SHA for 96cf5c5
src/server.rs
@@ -586,14 +586,18 @@ impl Server {
586
/// Server & client are out of sync, we must discard this connection.
587
/// This happens with clients that misbehave.
588
pub fn is_bad(&self) -> bool {
589
+ if self.bad {
590
+ return self.bad;
591
+ };
592
+
593
if let Some(cached_resolver) = CACHED_RESOLVER.load().as_ref() {
594
if let Some(addr_set) = &self.addr_set {
595
return cached_resolver
596
.load()
597
.has_changed(self.address.host.as_str(), addr_set);
598
}
599
- self.bad
600
+ false
601
602
603
/// Get server startup information to forward it to the client.
0 commit comments