Re: Curl coredump after re-use connection

2019-09-17 Thread Nguyen Hoang Tuan (Hubble Vietnam) via curl-library
Hi Dan, Any clue in my log, the time to connect still high From: curl-library on behalf of Daniel Stenberg via curl-library Sent: Tuesday, September 17, 2019 3:20 PM To: Daniel Stenberg via curl-library Cc: Daniel Stenberg Subject: Re: Curl coredump after re

Re: Curl coredump after re-use connection

2019-09-17 Thread Daniel Stenberg via curl-library
On Tue, 17 Sep 2019, Daniel Stenberg via curl-library wrote: It looks like you're not telling curl how large your post content is and you're not asking for it to get done with Chunked encoding. Sorry, that was wrong. You use CURLOPT_POSTFIELDS and of course curl knows how long that is. --

Re: Curl coredump after re-use connection

2019-09-17 Thread Nguyen Hoang Tuan (Hubble Vietnam) via curl-library
after re-use connection On Tue, 17 Sep 2019, Nguyen Hoang Tuan (Hubble Vietnam) via curl-library wrote: > Please help to review what I miss. It looks like you're not telling curl how large your post content is and you're not asking for it to get done with Chunked encoding. I think

Re: Curl coredump after re-use connection

2019-09-17 Thread Daniel Stenberg via curl-library
On Tue, 17 Sep 2019, Nguyen Hoang Tuan (Hubble Vietnam) via curl-library wrote: Please help to review what I miss. It looks like you're not telling curl how large your post content is and you're not asking for it to get done with Chunked encoding. I think curl can only close the connection a

Re: Curl coredump after re-use connection

2019-09-17 Thread Dan Fandrich via curl-library
On Tue, Sep 17, 2019 at 07:39:40AM +, Nguyen Hoang Tuan (Hubble Vietnam) wrote: > I fixed but the connection still does not reuse, total time still high. > I try to test with google but it does not success, but the main flow is > correct, i just change the address. > > Please help to review w

Re: Curl coredump after re-use connection

2019-09-17 Thread Nguyen Hoang Tuan (Hubble Vietnam) via curl-library
on behalf of Dan Fandrich via curl-library Sent: Tuesday, September 17, 2019 1:55 PM To: curl-library@cool.haxx.se Cc: Dan Fandrich Subject: Re: Curl coredump after re-use connection On Tue, Sep 17, 2019 at 05:01:45AM +, Nguyen Hoang Tuan (Hubble Vietnam) via curl-library wrote: > I

Re: Curl coredump after re-use connection

2019-09-17 Thread Dan Fandrich via curl-library
On Tue, Sep 17, 2019 at 05:01:45AM +, Nguyen Hoang Tuan (Hubble Vietnam) via curl-library wrote: > I am an newbie starting to use libcurl and trying to write an example to reuse > http connection. > Everything is ok when i just re call curl_easy_perform many times without any > change. > But w

Curl coredump after re-use connection

2019-09-16 Thread Nguyen Hoang Tuan (Hubble Vietnam) via curl-library
Hi there, I am an newbie starting to use libcurl and trying to write an example to reuse http connection. Everything is ok when i just re call curl_easy_perform many times without any change. But when i try reuse connection from HTTP_POST to use in HTTP_GET, i got segmentation fault. The server