curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: HTTP1.1 chunked encoding - stream audio data

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 4 May 2017 11:03:45 +0200 (CEST)

On Wed, 3 May 2017, channa reddy patil wrote:

You're talking libcurl details and use. Please switch over to the curl-library
mailing list then, as that's the more proper list for that and where you'll
reach many more libcurl developers.

> I see that curl_easy_perform does not return at all even if I return
> CURL_READFUNC_PAUSE. I want curl_easy_perform to return every time so that I
> can check if there was something in response from the server to the transfer
> that was done.

curl_easy_perform() is fully synchronous and will not return until the
transfer is done. Either successful or failed. If you need something
asynchronous, consider the multi interface.

-- 
  / daniel.haxx.se
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-05-04