summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-08-19 06:31:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-08-19 06:31:29 +0000
commitee400f95523790613cbd8d207080026dfd478b12 (patch)
treeb9142f31de3cbfb72e64b2778db362a43a79b980 /docs
parent9ac7629e2c17e8683c13b212d5c97eda09775e0f (diff)
downloadcurl-ee400f95523790613cbd8d207080026dfd478b12.tar.gz
reuse handles in PHP/CURL works - Kirk Hedden told us
Diffstat (limited to 'docs')
-rw-r--r--docs/FAQ10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/FAQ b/docs/FAQ
index 54697ed3f..612ad334b 100644
--- a/docs/FAQ
+++ b/docs/FAQ
@@ -889,9 +889,9 @@ FAQ
7.3 Can I perform multiple requests using the same handle?
- With libcurl you can. With PHP/CURL you cannot. This is a limitation in the
- PHP/CURL code. Therefore, you need to close each handle after each request
- and create a new one for the following one.
+ Yes - at least in PHP version 4.3.8 and later (this has been known to not
+ work in earlier versions, but the exact version when it started to work is
+ unknown to me).
- I've heard rumours that this situation has been fixed in PHP5, but that is
- unconfirmed.
+ After a transfer, you just set new options in the handle and make another
+ transfer. This will make libcurl to re-use the same connection if it can.