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

2020-10-13 Thread José Fernández via curl-library
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 escribió: On Mon, 12 Oct 2020, José Fernández via curl-library wrote: > This program is capable of

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

2020-10-12 Thread Daniel Stenberg via curl-library
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

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

2020-10-12 Thread Zakrzewski, Jakub via curl-library
> 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, despite the fact that in the C ++ code it is only being > sent once (it must be something that the libcurl library does

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

2020-10-12 Thread José Fernández via curl-library
In a C ++ program that uses libCurl I am sending an http message to another machine running a REST server written in C ++. This server sends a response to the received message and the client collects said response.   The source code of the client program is the one attached below with the name

Re: [DKIM] Fwd: building simple program using libcurl on Win64

2019-06-06 Thread Zakrzewski, Jakub via curl-library
> From: curl-library on behalf of Salda via > curl-library > Sent: 06 June 2019 00:55 > To: curl-library@cool.haxx.se > Cc: Salda > Subject: [DKIM] Fwd: building simple program using libcurl on Win64 > Some help see below? Btw I don't wa

Fwd: building simple program using libcurl on Win64

2019-06-05 Thread Salda via curl-library
Hello,  Some help see below? Btw I don't want to install MinGW64 for their libraries and that's why I wanted to try Clang instead of GCC.  Lukas -- Původní e-mail -- Od: Salda Komu: cfe-us...@lists.llvm.org Datum: 30. 5. 2019 18:54:05 Předmět: building simple program using

Re: Program using libcurl

2013-10-27 Thread Daniel Stenberg
On Fri, 25 Oct 2013, Gisle Vanem wrote: Something to add to http://curl.haxx.se/libcurl/using/apps.html Thanks, added! -- / daniel.haxx.se --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette:

Program using libcurl

2013-10-25 Thread Gisle Vanem
Something to add to http://curl.haxx.se/libcurl/using/apps.html PeerBlock [1] lets you control who your computer talks to on the Internet. By selecting appropriate lists of known bad computers, you can block communication with advertising or spyware oriented servers... The PeerBlock program

Re: simplest https program using libcurl compiled with SSH support

2013-02-28 Thread Katie Scott
Thank you for your clues. After a careful reading of the Jakab doc and multiple tries at getting all the right includes and libs, I have gotten beyond the 'Unsupported protocol' error. I decided to statically build libcurl with both ssh and ssl libraries - and that has done the trick. Now I am

simplest https program using libcurl compiled with SSH support

2013-02-27 Thread Katie Scott
Hello World, I am slowly learning how to program with libcurl and am working my way through example code. Thank you Andrei Jakab for the information about compiling libcurl with SSH support in Visual Studio 2010. I must admit to being new to BOTH libcurl and Windows-based programming and I seem

Re: simplest https program using libcurl compiled with SSH support

2013-02-27 Thread Török Edwin
On 02/27/2013 11:23 PM, Katie Scott wrote: What I don't understand is that compiling the curl exe only requires linking to the libcurl that has ssl support - and I get https available. Why would this be any different? ssL, not ssH. --Edwin

Re: simplest https program using libcurl compiled with SSH support

2013-02-27 Thread Katie Scott
Why would curl compile and provide https by only linking to libcurl - and yet I would have to link to libcurl AND libssl for my program? I am not at that computer at the moment and so I will add libssl to the link and see if it makes a difference. Thanks for your help! On Wed, Feb 27, 2013