aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-05 14:38:38 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-05 14:38:38 +0000
commit6e8e0418fc5192742f43a88e71a571988fe4fe29 (patch)
tree70e410935c62869e7a0eb63921bc916c82ee1bdb
parente9eb52305fd57bc1819691417e660f97ec5c1824 (diff)
5.11 How do I make libcurl not receive the whole HTTP response?
-rw-r--r--docs/FAQ6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/FAQ b/docs/FAQ
index 535891451..b936a7eb1 100644
--- a/docs/FAQ
+++ b/docs/FAQ
@@ -76,6 +76,7 @@ FAQ
5.8 libcurl.so.3: open failed: No such file or directory
5.9 How does libcurl resolve host names?
5.10 How do I prevent libcurl from writing the response to stdout?
+ 5.11 How do I make libcurl not receive the whole HTTP response?
6. License Issues
6.1 I have a GPL program, can I use the libcurl library?
@@ -892,6 +893,11 @@ FAQ
to stdout. Set a WRITEFUNCTION to receive the data, or possibly set
WRITEDATA to a different FILE * handle.
+ 5.11 How do I make libcurl not receive the whole HTTP response?
+
+ You make the write callback (or progress callback) return an error and
+ libcurl will then abort the transfer.
+
6. License Issues