-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
747 additions
and
725 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Extended docs for HTTP filter in the mirrord config. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added lint for unused crate dependencies. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Changed log level for debugger ports detection. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,39 @@ | ||
#![cfg(target_os = "linux")] | ||
#![feature(hash_extract_if)] | ||
#![feature(let_chains)] | ||
#![feature(iterator_try_collect)] | ||
#![feature(try_blocks)] | ||
#![cfg_attr(target_os = "linux", feature(tcp_quickack))] | ||
#![feature(tcp_quickack)] | ||
#![warn(clippy::indexing_slicing)] | ||
#![deny(unused_crate_dependencies)] | ||
|
||
/// Silences `deny(unused_crate_dependencies)`. | ||
/// | ||
/// This dependency is only used in integration tests. | ||
#[cfg(test)] | ||
use test_bin as _; | ||
|
||
#[cfg(target_os = "linux")] | ||
mod cli; | ||
#[cfg(target_os = "linux")] | ||
mod client_connection; | ||
#[cfg(target_os = "linux")] | ||
mod container_handle; | ||
#[cfg(target_os = "linux")] | ||
mod dns; | ||
#[cfg(target_os = "linux")] | ||
mod entrypoint; | ||
#[cfg(target_os = "linux")] | ||
mod env; | ||
#[cfg(target_os = "linux")] | ||
mod error; | ||
#[cfg(target_os = "linux")] | ||
mod file; | ||
#[cfg(target_os = "linux")] | ||
mod http; | ||
#[cfg(target_os = "linux")] | ||
mod metrics; | ||
mod namespace; | ||
#[cfg(target_os = "linux")] | ||
mod outgoing; | ||
#[cfg(target_os = "linux")] | ||
mod runtime; | ||
#[cfg(target_os = "linux")] | ||
mod sniffer; | ||
#[cfg(target_os = "linux")] | ||
mod steal; | ||
#[cfg(target_os = "linux")] | ||
mod util; | ||
#[cfg(target_os = "linux")] | ||
mod vpn; | ||
#[cfg(target_os = "linux")] | ||
mod watched_task; | ||
|
||
#[cfg(target_os = "linux")] | ||
mod metrics; | ||
|
||
#[cfg(target_os = "linux")] | ||
#[tokio::main(flavor = "current_thread")] | ||
async fn main() -> crate::error::AgentResult<()> { | ||
crate::entrypoint::main().await | ||
} | ||
|
||
#[cfg(not(target_os = "linux"))] | ||
fn main() { | ||
panic!("This program is only supported on Linux"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.