Strange connection closed
Date: Wed, 14 Jul 2004 11:07:59 +0200
I have got a following problem. As I have read in documentation when I am
using curl_easy_cleanup function it is used to close HTTP connection.
I do not want to close connection, so I am not using curl_easy_cleanup, but
still I cannot send more data because connection is closing by my program,
even if the program is ended with curl_easy_perform.
Maybe I need to set more curl_easy_setopt options ?
int write(void *buffer,size_t size, size_t nmemb, void *stream)
register int realsize = size * nmemb;
struct MemoryStruct *mem = (struct MemoryStruct *)stream;
m = buffer;
res = curl_easy_perform(curl);
Received on 2004-07-14