Updates and bug fixes #2

Merged
jjkiers merged 6 commits from new-rust-zig into main 2023-08-25 21:07:24 +00:00
Showing only changes of commit 5f0de72b88 - Show all commits

View File

@ -13,7 +13,6 @@ use protocol::tcp;
#[derive(Debug)]
pub(crate) struct Server {
pub proxies: Vec<Arc<Proxy>>,
pub config: ParsedConfig,
}
#[derive(Debug, Clone)]
@ -31,7 +30,6 @@ impl Server {
pub fn new(config: ParsedConfig) -> Self {
let mut new_server = Server {
proxies: Vec::new(),
config: config.clone(),
};
for (name, proxy) in config.servers.iter() {