Should net-http-persistent not share connections for instances with different certificates?
I got burned by this using Mechanize. I know a solution is to name each instance, which works. But is that the following a principle of least surprise?
To implement this properly you would need to tell net-http-persistent which hostnames a certificate was usable for. I will think about what API to use.
Should
net-http-persistent
not share connections for instances with different certificates?I got burned by this using Mechanize. I know a solution is to name each instance, which works. But is that the following a principle of least surprise?
Related issue in Mechanize https://github.com/sparklemotion/mechanize/pull/324