Skip to content

Commit

Permalink
Bump version 0.2.40
Browse files Browse the repository at this point in the history
  • Loading branch information
ssrlive committed Jan 22, 2025
1 parent e85b870 commit 4e7f461
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "overtls"
version = "0.2.39"
version = "0.2.40"
edition = "2021"
license = "MIT"
description = "A simple proxy tunnel, minimalist tool for bypassing the GFW."
Expand Down
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ impl Config {
}

pub fn cache_dns(&self) -> bool {
self.client.as_ref().map_or(false, |c| c.cache_dns)
self.client.as_ref().is_some_and(|c| c.cache_dns)
}

pub fn set_cache_dns(&mut self, cache_dns: bool) {
Expand Down

0 comments on commit 4e7f461

Please sign in to comment.