Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

refs #13307 - remove ssl logging stuff due it's useless

Initially we decide to remove ssl logging because there are too
many logs connected with that. We don't need to log this stuff,
because if there is problem with authorization then the server
will return appropriate status code in the response.
  • Loading branch information...
commit 82e29a5b6a56f81c6cfc063d06c0325b36fe63b4 1 parent 72c4b2d
@litvinovsky litvinovsky authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 lib/right_http_connection.rb
View
6 lib/right_http_connection.rb
@@ -310,12 +310,6 @@ def start(request_params)
# List of error codes: http://www.openssl.org/docs/apps/verify.html
code = x509_store_ctx.error
msg = x509_store_ctx.error_string
- #debugger
- if code == 0
- @logger.info "##### Certificate verification passed. #####"
- else
- @logger.warn("##### #{@server} certificate verify failed: #{msg}")
- end
if request_params[:fail_if_ca_mismatch] && code != 0
false
else
Please sign in to comment.
Something went wrong with that request. Please try again.