Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
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
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
Oliver
Tor
Commits
f3fa22bf
Commit
f3fa22bf
authored
4 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge branch 'maint-0.3.5' into maint-0.4.0
parents
65825018
2b6df3da
No related branches found
Branches containing commit
Tags
tor-0.2.2.5-alpha
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/ticket33212
+4
-0
4 additions, 0 deletions
changes/ticket33212
src/rust/protover/protover.rs
+1
-1
1 addition, 1 deletion
src/rust/protover/protover.rs
with
5 additions
and
1 deletion
changes/ticket33212
0 → 100644
+
4
−
0
View file @
f3fa22bf
o Minor bugfixes (rust, build):
- Fix a syntax warning given by newer versions of Rust, and creating
problems for our continuous integration.
Fixes bug 33212; bugfix on 0.3.5.1-alpha.
This diff is collapsed.
Click to expand it.
src/rust/protover/protover.rs
+
1
−
1
View file @
f3fa22bf
...
...
@@ -26,7 +26,7 @@ const FIRST_TOR_VERSION_TO_ADVERTISE_PROTOCOLS: &'static str = "0.2.9.3-alpha";
/// before concluding that someone is trying to DoS us
///
/// C_RUST_COUPLED: protover.c `MAX_PROTOCOLS_TO_EXPAND`
const
MAX_PROTOCOLS_TO_EXPAND
:
usize
=
(
1
<<
16
)
;
const
MAX_PROTOCOLS_TO_EXPAND
:
usize
=
1
<<
16
;
/// The maximum size an `UnknownProtocol`'s name may be.
pub
(
crate
)
const
MAX_PROTOCOL_NAME_LENGTH
:
usize
=
100
;
...
...
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