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
ZerXes
Tor
Commits
9c8a54a3
Commit
9c8a54a3
authored
Nov 11, 2003
by
Roger Dingledine
Browse files
more cleanups and bugfix
svn:r790
parent
d0acbe86
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/or/circuit.c
View file @
9c8a54a3
...
...
@@ -537,8 +537,7 @@ void circuit_about_to_close_connection(connection_t *conn) {
if
(
!
conn
->
has_sent_end
)
{
log_fn
(
LOG_INFO
,
"Edge connection hasn't sent end yet? Bug."
);
connection_edge_send_command
(
conn
,
circ
,
RELAY_COMMAND_END
,
NULL
,
0
,
conn
->
cpath_layer
);
connection_edge_end
(
conn
,
END_STREAM_REASON_MISC
,
conn
->
cpath_layer
);
}
if
(
conn
==
circ
->
p_streams
)
{
...
...
src/or/directory.c
View file @
9c8a54a3
...
...
@@ -123,8 +123,7 @@ int connection_dir_process_inbuf(connection_t *conn) {
if
(
router_get_dir_from_string
(
the_directory
,
conn
->
identity_pkey
)
<
0
){
log_fn
(
LOG_INFO
,
"...but parsing failed. Ignoring."
);
}
else
{
log_fn
(
LOG_INFO
,
"and got an %s directory; updated routers."
,
conn
->
identity_pkey
?
"authenticated"
:
"unauthenticated"
);
log_fn
(
LOG_INFO
,
"updated routers."
);
}
if
(
options
.
OnionRouter
)
{
/* connect to them all */
router_retry_connections
();
...
...
src/or/routers.c
View file @
9c8a54a3
...
...
@@ -545,7 +545,7 @@ int router_get_dir_from_string(char *s, crypto_pk_env_t *pkey)
return
-
1
;
}
if
(
compare_recommended_versions
(
VERSION
,
directory
->
software_versions
)
<
0
)
{
log
(
LOG_WARN
,
"You are running tor version %s, which is no
longer support
ed.
\n
Please upgrade to one of %s."
,
VERSION
,
directory
->
software_versions
);
log
(
LOG_WARN
,
"You are running tor version %s, which is no
t recommend
ed.
\n
Please upgrade to one of %s."
,
VERSION
,
directory
->
software_versions
);
if
(
options
.
IgnoreVersion
)
{
log
(
LOG_WARN
,
"IgnoreVersion is set. If it breaks, we told you so."
);
}
else
{
...
...
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