mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-07 00:05:02 -04:00
in jruby, cipher is a string, act accordingly
This commit is contained in:
parent
f8688c4d61
commit
5faba24d82
@ -116,7 +116,7 @@ module HTTPX
|
||||
return super unless nextstate == :negotiated
|
||||
|
||||
server_cert = @io.peer_cert
|
||||
"SSL connection using #{@io.ssl_version} / #{@io.cipher.first}\n" \
|
||||
"SSL connection using #{@io.ssl_version} / #{Array(@io.cipher).first}\n" \
|
||||
"ALPN, server accepted to use #{protocol}\n" \
|
||||
"Server certificate:\n" \
|
||||
" subject: #{server_cert.subject}\n" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user