Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mike Perry
Tor
Commits
20e0e7d9
Commit
20e0e7d9
authored
Sep 10, 2012
by
Nick Mathewson
🎨
Browse files
Rename _UseFilteringSSLBufferevents to lose its _. Bug 3155
parent
38f3f3ba
Changes
4
Hide whitespace changes
Inline
Side-by-side
changes/bug3155
View file @
20e0e7d9
...
...
@@ -2,3 +2,5 @@
- Rename the (internal-use-only) UsingTestingNetworkDefaults option
to start with a triple-underscore so the controller won't touch it.
Patch by Meejah. Fixes bug 3155. Bugfix on 0.2.2.23-alpha.
- Rename the (testing-use-only) _UseFilteringSSLBufferevents option
so it doesn't start with _. Fixes bug3155. Bugfix on 0.2.3.1-alpha.
src/or/config.c
View file @
20e0e7d9
...
...
@@ -130,6 +130,7 @@ static config_abbrev_t _option_abbrevs[] = {
{
"HashedControlPassword"
,
"__HashedControlSessionPassword"
,
1
,
0
},
{
"StrictEntryNodes"
,
"StrictNodes"
,
0
,
1
},
{
"StrictExitNodes"
,
"StrictNodes"
,
0
,
1
},
{
"_UseFilteringSSLBufferevents"
,
"UseFilteringSSLBufferevents"
,
0
,
1
},
{
NULL
,
NULL
,
0
,
0
},
};
...
...
@@ -449,7 +450,7 @@ static config_var_t _option_vars[] = {
VAR
(
"VersioningAuthoritativeDirectory"
,
BOOL
,
VersioningAuthoritativeDir
,
"0"
),
V
(
VirtualAddrNetwork
,
STRING
,
"127.192.0.0/10"
),
V
(
WarnPlaintextPorts
,
CSV
,
"23,109,110,143"
),
V
(
_
UseFilteringSSLBufferevents
,
BOOL
,
"0"
),
V
(
UseFilteringSSLBufferevents
,
BOOL
,
"0"
),
VAR
(
"__ReloadTorrcOnSIGHUP"
,
BOOL
,
ReloadTorrcOnSIGHUP
,
"1"
),
VAR
(
"__AllDirActionsPrivate"
,
BOOL
,
AllDirActionsPrivate
,
"0"
),
VAR
(
"__DisablePredictedCircuits"
,
BOOL
,
DisablePredictedCircuits
,
"0"
),
...
...
src/or/connection_or.c
View file @
20e0e7d9
...
...
@@ -1152,7 +1152,7 @@ connection_tls_start_handshake(or_connection_t *conn, int receiving)
#ifdef USE_BUFFEREVENTS
if
(
connection_type_uses_bufferevent
(
TO_CONN
(
conn
)))
{
const
int
filtering
=
get_options
()
->
_
UseFilteringSSLBufferevents
;
const
int
filtering
=
get_options
()
->
UseFilteringSSLBufferevents
;
struct
bufferevent
*
b
=
tor_tls_init_bufferevent
(
conn
->
tls
,
conn
->
_base
.
bufev
,
conn
->
_base
.
s
,
receiving
,
filtering
);
...
...
src/or/or.h
View file @
20e0e7d9
...
...
@@ -3578,8 +3578,8 @@ typedef struct {
/** If true, do not enable IOCP on windows with bufferevents, even if
* we think we could. */
int
DisableIOCP
;
/** For testing only: will go away
in 0.2.3.x
. */
int
_
UseFilteringSSLBufferevents
;
/** For testing only: will go away
eventually
. */
int
UseFilteringSSLBufferevents
;
/** Set to true if the TestingTorNetwork configuration option is set.
* This is used so that options_validate() has a chance to realize that
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment