Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
onionmasq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
onionmasq
Merge requests
!96
Enable onion services using draft arti support
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Enable onion services using draft arti support
enable-onions
into
main
Overview
3
Commits
1
Pipelines
0
Changes
3
All threads resolved!
Hide all comments
Merged
eta
requested to merge
enable-onions
into
main
1 year ago
Overview
3
Commits
1
Pipelines
0
Changes
3
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
5c385e51
1 commit,
1 year ago
3 files
+
68
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
crates/onion-tunnel/src/proxy.rs
+
3
−
0
Options
use
crate
::
accounting
::
BandwidthCounter
;
use
arti_client
::
config
::
BoolOrAuto
;
use
arti_client
::
TorClient
;
use
arti_client
::{
CountryCode
,
TorAddr
};
use
arti_client
::{
DangerouslyIntoTorAddr
,
StreamPrefs
};
@@ -215,6 +216,8 @@ where
stream_prefs
.exit_country
(
cc
);
}
stream_prefs
.connect_to_onion_services
(
BoolOrAuto
::
Explicit
(
true
));
let
arti_stream
=
match
self
.arti
.connect_with_prefs
(
tor_addr
.clone
(),
&
stream_prefs
)
Loading