Skip to content
Snippets Groups Projects
Commit 6e8e0418 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

5.11 How do I make libcurl not receive the whole HTTP response?

parent e9eb5230
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment