Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
onionmasq_ankit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
ankitgusai19
onionmasq_ankit
Commits
04a63e56
Commit
04a63e56
authored
2 years ago
by
David Goulet
Browse files
Options
Downloads
Patches
Plain Diff
onionmasq: Cleanup comment
Signed-off-by:
David Goulet
<
dgoulet@ev0ke.net
>
parent
c74d7b85
No related branches found
Branches containing commit
Tags
debian-version-0.0.7+0.0.8rc1-1
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
crates/onionmasq/src/lib.rs
+2
-4
2 additions, 4 deletions
crates/onionmasq/src/lib.rs
with
2 additions
and
4 deletions
crates/onionmasq/src/lib.rs
+
2
−
4
View file @
04a63e56
...
...
@@ -118,10 +118,8 @@ impl<'a> OnionTunnel<'a> {
// The second poll we do process packets in the receive queue from the first poll.
self
.iface_poll
(
timestamp
,
VirtualTunPollMode
::
Processing
);
// XXX: This is very hackish but also unclear if that is the right way to work.
//
// Essentially, we build the AsyncTun() object with ourself and then set a tokio
// timeout on the future before restarting the loop.
// XXX: There is probably a cleaner way to poll on the VirtualTun then directly
// acessing the AsynFd object.
let
iface
=
self
.iface
.borrow
();
let
read_fut
=
iface
.device
()
.async_device
()
.readable
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment