Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: C ++ program using libcurl sends message and receives reply, but the message is sent twice.

From: José Fernández via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 13 Oct 2020 08:49:29 +0000 (UTC)

 I have modified the client following Daniel and Jakub's instructions and now it works correctly.
Thanks,
José Fernández



    En lunes, 12 de octubre de 2020 13:07:17 CEST, Daniel Stenberg <daniel_at_haxx.se> escribió:
 
 On Mon, 12 Oct 2020, José Fernández via curl-library wrote:

> This program is capable of sending the message to the server and of
> collecting the response from it, but as it is written, it sends the message
> twice to the server

curl_easy_perform() performs a transfer. You call it twice. That makes two
transfers.

-- 
  / daniel.haxx.se | Commercial curl support up to 24x7 is available!
                  | Private help, bug fixes, support, ports, new features
                  | https://www.wolfssl.com/contact/  


-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-10-13