]> granicus.if.org Git - curl/commit
conncache: keep bundles on host+port bases, not only host names
authorDaniel Stenberg <daniel@haxx.se>
Tue, 12 May 2015 21:40:10 +0000 (23:40 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 12 May 2015 21:40:10 +0000 (23:40 +0200)
commit2a746f6c28a926b2fd6f6db7fcff50c7bdc68fa6
tree61e3df5a9bb97787363ab37ed74a4d0a0fb3361b
parentfd137786e527dd7f58b11b0e46ed366a5596152a
conncache: keep bundles on host+port bases, not only host names

Previously we counted all connections to a specific host name and that
would be used for the CURLMOPT_MAX_HOST_CONNECTIONS check for example,
while servers on different port numbers are normally considered
different "origins" on the web and should thus be considered different
hosts.
lib/conncache.c