Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
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
Benjamin J. Thompson
Tor
Commits
70216cb0
Commit
70216cb0
authored
13 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'sebastian/bug3700'
parents
8c643b51
f137ae89
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/bug3700
+6
-0
6 additions, 0 deletions
changes/bug3700
src/common/tortls.c
+16
-0
16 additions, 0 deletions
src/common/tortls.c
with
22 additions
and
0 deletions
changes/bug3700
0 → 100644
+
6
−
0
View file @
70216cb0
o Minor bugfixes:
- Get rid of a harmless warning that could happen on relays running
with bufferevents. The warning was caused by someone doing an http
request to a relay's orport. Also don't warn for a few related
non-errors. Fixes bug 3700; bugfix on 0.2.3.1-alpha.
This diff is collapsed.
Click to expand it.
src/common/tortls.c
+
16
−
0
View file @
70216cb0
...
...
@@ -273,6 +273,22 @@ tor_tls_log_one_error(tor_tls_t *tls, unsigned long err,
addr
=
tls
?
tls
->
address
:
NULL
;
/* Some errors are known-benign, meaning they are the fault of the other
* side of the connection. The caller doesn't know this, so override the
* priority for those cases. */
switch
(
ERR_GET_REASON
(
err
))
{
case
SSL_R_HTTP_REQUEST
:
case
SSL_R_HTTPS_PROXY_REQUEST
:
case
SSL_R_RECORD_LENGTH_MISMATCH
:
case
SSL_R_RECORD_TOO_LARGE
:
case
SSL_R_UNKNOWN_PROTOCOL
:
case
SSL_R_UNSUPPORTED_PROTOCOL
:
severity
=
LOG_INFO
;
break
;
default:
break
;
}
msg
=
(
const
char
*
)
ERR_reason_error_string
(
err
);
lib
=
(
const
char
*
)
ERR_lib_error_string
(
err
);
func
=
(
const
char
*
)
ERR_func_error_string
(
err
);
...
...
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