CURLMOPT_MAXCONNECTS: restore functionality
authorLinus Nielsen Feltzing <linus@haxx.se>
Tue, 5 Feb 2013 08:07:27 +0000 (09:07 +0100)
committerLinus Nielsen Feltzing <linus@haxx.se>
Tue, 5 Feb 2013 08:17:52 +0000 (09:17 +0100)
commitbd1f170a5af7b9faee7792766de8d75dcad3b231
tree8b74cab30fe5f41291963e1ccac0ab48c70dfa8a
parent03577a355e319bf723db72341d4307e99efd12d2
CURLMOPT_MAXCONNECTS: restore functionality

When a connection is no longer used, it is kept in the cache. If the
cache is full, the oldest idle connection is closed. If no connection is
idle, the current one is closed instead.
lib/url.c
tests/data/Makefile.am
tests/data/test1506 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1506.c [new file with mode: 0644]