https://reisub.nsupdate.info/git
/
bollux.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf12497
)
Add SNI support
author
Case Duckworth
<acdw@acdw.net>
Sun, 24 May 2020 00:47:23 +0000
(19:47 -0500)
committer
Case Duckworth
<acdw@acdw.net>
Sun, 24 May 2020 00:47:23 +0000
(19:47 -0500)
bollux
patch
|
blob
|
history
diff --git
a/bollux
b/bollux
index
50b4a81
..
10b43d0
100755
(executable)
--- a/
bollux
+++ b/
bollux
@@
-199,6
+199,8
@@
request() { # request [-s SERVER] URL
log 5 "addr: $addr"
sslcmd=(openssl s_client -crlf -ign_eof -quiet -connect "$serv")
+ # use SNI
+ sslcmd+=(-servername "${serv%:*}")
log "${sslcmd[@]}"
"${sslcmd[@]}" <<<"$addr" 2>/dev/null
}