Re: [Libevent-users] evhttp client error handling

2013-01-23 Thread Azat Khuzhin
What about your ECONNREFUSED, does you have something like this, if you run "curl -v --data CORRECT_POST_DATA_HERE HOST" ? (it seems that you try POST request: client_do_post) Does you server ("localhost") have the valid HTTP answer? Why it couldn't get response after first request. Could you post

Re: [Libevent-users] evhttp client error handling

2013-01-23 Thread Patrick Pelletier
On 01/22/2013 02:54 PM, Azat Khuzhin wrote: Could you try to test my patch https://github.com/azat/libevent/commit/71e709c7829275a594f767b27468b1b52e8b5bb9.patch and write if it works for you? Thanks, I think that's a step in the right direction. However, I'm still having trouble. My callba