# HG changeset patch # User Matti Hamalainen # Date 1508227082 -10800 # Node ID cfbe6acc1d73f774a80074a786e8c070c3f56e45 # Parent a7029d65796b0a1b85e8bfaffa872457c4daa8ac urllog: tcl-tls 1.7.x (tested with 1.7.13) is now a requirement. It is needed for SNI support. Theoretically 1.6.4 would work also, if implementation was done differently, but it's hairy and I'm too lazy. diff -r a7029d65796b -r cfbe6acc1d73 urllog.tcl --- a/urllog.tcl Tue Oct 17 09:27:35 2017 +0300 +++ b/urllog.tcl Tue Oct 17 10:58:02 2017 +0300 @@ -7,6 +7,9 @@ # ########################################################################## # +# NOTICE! NOTICE! This script REQUIRES tcl-tls 1.7.13+ if you wish to +# support SSL/TLS https for URL checking. And you probably do. +# # URL-logger script for EggDrop IRC robot, utilizing SQLite3 database # This script requires SQLite TCL extension. Under Debian, you need: # tcl8.5 libsqlite3-tcl (and eggdrop eggdrop-data, of course) @@ -84,7 +87,7 @@ if {[info exists http_tls_support] && $http_tls_support != 0} { package require tls - ::http::register https 443 [list ::tls::socket -request 1 -require 1 -tls1 1 -cadir $http_tls_cadir] + ::http::register https 443 [list ::tls::socket -request true -require true -ssl2 false -ssl3 false -tls1 true -tls1.1 true -tls1.2 true -cadir $http_tls_cadir -autoservername true] putlog " (TLS/SSL support enabled)" }