I am sending a simple curl request to a site and im looking into the response page for a specific word. This word is in the top of the page and lets say a little bit down from the <body>
tag. In this connection as the curl_getinfo()
said, 26.452 bytes are transferred.
So the question is if its possible to stop the transfer of data when e.g the first 1000 bytes (that the key word is included) are received, to make my program working faster.
Thank you