Revision tags: curl-7_60_0, curl-7_59_0, curl-7_58_0 |
|
#
07cb27c9 |
| 02-Dec-2017 |
Daniel Stenberg |
conncache: fix several lock issues If the lock is released before the dealings with the bundle is over, it may have changed by another thread in the mean time. Fixes #2132 F
conncache: fix several lock issues If the lock is released before the dealings with the bundle is over, it may have changed by another thread in the mean time. Fixes #2132 Fixes #2151 Closes #2139
show more ...
|
Revision tags: curl-7_57_0 |
|
#
67c55a26 |
| 01-Nov-2017 |
Daniel Stenberg |
share: add support for sharing the connection cache
|
Revision tags: curl-7_56_1, curl-7_56_0, curl-7_55_1, curl-7_55_0 |
|
#
4dee50b9 |
| 28-Jul-2017 |
Daniel Stenberg |
timeval: struct curltime is a struct timeval replacement ... to make all libcurl internals able to use the same data types for the struct members. The timeval struct differs subtly on se
timeval: struct curltime is a struct timeval replacement ... to make all libcurl internals able to use the same data types for the struct members. The timeval struct differs subtly on several platforms so it makes it cumbersome to use everywhere. Ref: #1652 Closes #1693
show more ...
|
Revision tags: curl-7_54_1, curl-7_54_0 |
|
#
e60fe20f |
| 03-Apr-2017 |
Daniel Stenberg |
llist: replace Curl_llist_alloc with Curl_llist_init No longer allocate the curl_llist head struct for lists separately. Removes 17 (15%) tiny allocations in a normal "curl localhos
llist: replace Curl_llist_alloc with Curl_llist_init No longer allocate the curl_llist head struct for lists separately. Removes 17 (15%) tiny allocations in a normal "curl localhost" invoke. closes #1381
show more ...
|
Revision tags: curl-7_53_1, curl-7_53_0, curl-7_52_1, curl-7_52_0, curl-7_51_0, curl-7_50_3, curl-7_50_2, curl-7_50_1, curl-7_50_0, curl-7_49_1, curl-7_49_0, curl-7_48_0, curl-7_47_1 |
|
#
4af40b36 |
| 02-Feb-2016 |
Daniel Stenberg |
URLs: change all http:// URLs to https://
|
Revision tags: curl-7_47_0, curl-7_46_0, curl-7_45_0, curl-7_44_0, curl-7_43_0 |
|
#
38bd6bf0 |
| 18-May-2015 |
Daniel Stenberg |
bundles: store no/default/pipeline/multiplex to allow code to act differently on the situation. Also added some more info message for the connection re-use function to make it c
bundles: store no/default/pipeline/multiplex to allow code to act differently on the situation. Also added some more info message for the connection re-use function to make it clearer when connections are not re-used.
show more ...
|
#
fd137786 |
| 12-May-2015 |
Daniel Stenberg |
bundles: merged into conncache.c All the existing Curl_bundle* functions were only ever used from within the conncache.c file, so I moved them over and made them static (and removed
bundles: merged into conncache.c All the existing Curl_bundle* functions were only ever used from within the conncache.c file, so I moved them over and made them static (and removed the Curl_ prefix).
show more ...
|
#
640296c9 |
| 12-May-2015 |
Daniel Stenberg |
connection cache: avoid Curl_hash_alloc() ... by using plain structs instead of pointers for the connection cache, we can avoid several dynamic allocations that weren't necessary.
|
Revision tags: curl-7_42_1, curl-7_42_0 |
|
#
852d35b6 |
| 11-Mar-2015 |
Daniel Stenberg |
proxy: re-use proxy connections (regression) When checking for a connection to re-use, a proxy-using request must check for and use a proxy connection and not one based on the host n
proxy: re-use proxy connections (regression) When checking for a connection to re-use, a proxy-using request must check for and use a proxy connection and not one based on the host name! Added test 1421 to verify Bug: http://curl.haxx.se/bug/view.cgi?id=1492
show more ...
|
Revision tags: curl-7_41_0, curl-7_40_0, curl-7_39_0, curl-7_38_0 |
|
#
01368d39 |
| 10-Aug-2014 |
Frank Meier |
create_conn: prune dead connections Bringing back the old functionality that was mistakenly removed when the connection cache was remade. When creating a new connection, all the exis
create_conn: prune dead connections Bringing back the old functionality that was mistakenly removed when the connection cache was remade. When creating a new connection, all the existing ones are checked and those that are known to be dead get disconnected for real and removed from the connection cache. It helps the cache from holding on to very many stale connections and aids in keeping down the number of system sockets in wait states. Help-by: Jonatan Vela <jonatan.vela@ergon.ch> Bug: http://curl.haxx.se/mail/lib-2014-06/0189.html
show more ...
|
#
2cd0c2d2 |
| 23-Jul-2014 |
Marcel Raad |
conncache: fix compiler warning warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data The member connection_id of struct connectdata is a long (always a
conncache: fix compiler warning warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data The member connection_id of struct connectdata is a long (always a 32-bit signed integer on Visual C++) and the member next_connection_id of struct conncache is a size_t, so one of them should be changed to match the other. This patch the size_t in struct conncache to long (the less invasive change as that variable is only ever used in a single code line). Bug: http://curl.haxx.se/bug/view.cgi?id=1399
show more ...
|
Revision tags: curl-7_37_1 |
|
#
964e43c5 |
| 12-Jun-2014 |
Lindley French |
conncache: move the connection counter to the cache struct The static connection counter caused a race condition. Moving the connection id counter into conncache solves it, as well as si
conncache: move the connection counter to the cache struct The static connection counter caused a race condition. Moving the connection id counter into conncache solves it, as well as simplifying the related logic.
show more ...
|
Revision tags: curl-7_37_0, curl-7_36_0, curl-7_35_0, curl-7_34_0, curl-7_33_0, curl-7_32_0, curl-7_31_0 |
|
#
64206728 |
| 26-Apr-2013 |
Daniel Stenberg |
curl_easy_init: use less mallocs By introducing an internal alternative to curl_multi_init() that accepts parameters to set the hash sizes, easy handles will now use tiny socket and
curl_easy_init: use less mallocs By introducing an internal alternative to curl_multi_init() that accepts parameters to set the hash sizes, easy handles will now use tiny socket and connection hash tables since it will only ever add a single easy handle to that multi handle. This decreased the number mallocs in test 40 (which is a rather simple and typical easy interface use case) from 1142 to 138. The maximum amount of memory allocated used went down from 118969 to 78805.
show more ...
|
Revision tags: curl-7_30_0, curl-7_29_0 |
|
#
c4312741 |
| 17-Jan-2013 |
Daniel Stenberg |
always-multi: always use non-blocking internals Remove internal separated behavior of the easy vs multi intercace. curl_easy_perform() is now using the multi interface itself. S
always-multi: always use non-blocking internals Remove internal separated behavior of the easy vs multi intercace. curl_easy_perform() is now using the multi interface itself. Several minor multi interface quirks and bugs have been fixed in the process. Much help with debugging this has been provided by: Yang Tse
show more ...
|
#
4a5aa668 |
| 04-Jan-2013 |
Yang Tse |
Revert changes relative to lib/*.[ch] recent renaming This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use
Revert changes relative to lib/*.[ch] recent renaming This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use of 76 lib/*.h renamed files ffd8e12... build: rename 76 lib/*.h files This also reverts removal of redundant include guard (redundant thanks to changes in above commits) done 2-12-2013, reverting 1 commit: c087374... curl_setup.h: remove redundant include guard This also reverts renaming and usage of lib/*.c source files done 3-12-2013, reverting 3 commits: 13606bb... build: make use of 93 lib/*.c renamed files 5b6e792... build: rename 93 lib/*.c files 7d83dff... build: commit 13606bbfde follow-up 1 Start of related discussion thread: http://curl.haxx.se/mail/lib-2013-01/0012.html Asking for confirmation on pushing this revertion commit: http://curl.haxx.se/mail/lib-2013-01/0048.html Confirmation summary: http://curl.haxx.se/mail/lib-2013-01/0079.html NOTICE: The list of 2 files that have been modified by other intermixed commits, while renamed, and also by at least one of the 6 commits this one reverts follows below. These 2 files will exhibit a hole in history unless git's '--follow' option is used when viewing logs. lib/curl_imap.h lib/curl_smtp.h
show more ...
|
#
1649e680 |
| 11-Dec-2012 |
Daniel Stenberg |
Curl_conncache_foreach: allow callback to break loop ... and have it take a proper 'struct connectdata *' as first argument
|
#
4710d3d9 |
| 10-Dec-2012 |
Yang Tse |
conncache: fix enumerated type mixed with another type
|
#
d021f2e8 |
| 06-Dec-2012 |
Linus Nielsen Feltzing |
Introducing a new persistent connection caching system using "bundles". A bundle is a list of all persistent connections to the same host. The connection cache consists of a hash of bund
Introducing a new persistent connection caching system using "bundles". A bundle is a list of all persistent connections to the same host. The connection cache consists of a hash of bundles, with the hostname as the key. The benefits may not be obvious, but they are two: 1) Faster search for connections to reuse, since the hash lookup only finds connections to the host in question. 2) It lays out the groundworks for an upcoming patch, which will introduce multiple HTTP pipelines. This patch also removes the awkward list of "closure handles", which were needed to send QUIT commands to the FTP server when closing a connection. Now we allocate a separate closure handle and use that one to close all connections. This has been tested in a live system for a few weeks, and of course passes the test suite.
show more ...
|