net-http-persistent icon indicating copy to clipboard operation
net-http-persistent copied to clipboard

Certificates & shared connection

Open jweir opened this issue 12 years ago • 2 comments

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

jweir avatar Jun 27 '13 05:06 jweir

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.

drbrain avatar Jul 24 '13 00:07 drbrain

+1

konstantin-dzreev avatar Jul 08 '14 18:07 konstantin-dzreev