Re: [Libevent-users] [PATCH] Add sample/https-client.c, an example of stacking evhttp as a client on top of bufferevent_ssl.

2013-03-13 Thread Alexey Ozeritsky
../data.4.mb -ignore-cert > some request failed - no idea which one though! > socket error = Resource temporarily unavailable (11) > > Why version libevent do you have? 2.1 from git This bug is also reproducible on 2.0 > > On Mon, Mar 11, 2013 at 7:42 PM, Alexey Ozeritsky >

Re: [Libevent-users] [PATCH] Add sample/https-client.c, an example of stacking evhttp as a client on top of bufferevent_ssl.

2013-03-11 Thread Alexey Ozeritsky
11.03.2013, 19:31, "Oscar Koeroo" : > On 11-03-13 16:00, Alexey Ozeritsky wrote: > >>  libevent does something wrong: >> >>  $ ./sample/https-client -url https://localhost/proxy -data 4K -ignore-cert >>  Response line: 200 OK >>  OK >> >

Re: [Libevent-users] [PATCH] Add sample/https-client.c, an example of stacking evhttp as a client on top of bufferevent_ssl.

2013-03-11 Thread Alexey Ozeritsky
Hello, I've added support of POST requests to sample/https-client.c: https://github.com/resetius/libevent/commit/c5887f73b707a7e95b986a0c5eede80ef7741d09 This is useful to reproduce the bug http://sourceforge.net/tracker/index.php?func=detail&aid=3526934&group_id=50884&atid=461322 $ ls -l *K *M

Re: [Libevent-users] evhttp client and IPv6

2013-02-14 Thread Alexey Ozeritsky
  14.02.2013, 17:17, "Grega Kres" :Hello,I've written a simple program to get data off HTTP servers. The gist of it is here: https://gist.github.com/gkres/4952640 It works as expected with ipv4, but I can't get it to work with ipv6. I searched around a bit and I'm getting mixed answers about if thi

Re: [Libevent-users] https client

2012-03-10 Thread Alexey Ozeritsky
10.03.2012, 04:25, "Mark Ellzey" : > On Thu, Mar 08, 2012 at 09:39:23PM +0400, Alexey Ozeritsky wrote: > >>  Hello, >> >>  I cannot get https client working. >>  I have tried 2 servers (apache2 and nginx). >> >>  libevent 2.0.17+ssl-

[Libevent-users] https client

2012-03-08 Thread Alexey Ozeritsky
Hello, I cannot get https client working. I have tried 2 servers (apache2 and nginx). libevent 2.0.17+ssl-patches and current git version give the same result. nginx access_log: 127.0.0.1 - - [08/Mar/2012:21:08:34 +0400] "POST /cgi-bin/test.cgi HTTP/1.1" 400 0 "-" "-" apache2 error_log: [Thu M

Re: [Libevent-users] http.c:689: Assertion req != NULL failed in evhttp_connection_fail

2011-05-26 Thread Alexey Ozeritsky
/git/gitweb.cgi?p=levent/libevent;a=commitdiff;h=0848814ac496167133bec5f8d564387b5111440f > Kevin > > On Wed, May 25, 2011 at 5:29 AM, Alexey Ozeritsky > wrote: >> >> Hello, >> >> I got assertion in http.c:689 (Assertion req != NULL failed in >> evhttp_co

[Libevent-users] http.c:689: Assertion req != NULL failed in evhttp_connection_fail

2011-05-25 Thread Alexey Ozeritsky
Hello, I got assertion in http.c:689 (Assertion req != NULL failed in evhttp_connection_fail) libevent version 2.0.11 Stack trace: (gdb) where #0 0x7f83465d3095 in raise () from /lib/libc.so.6 #1 0x7f83465d4af0 in abort () from /lib/libc.so.6 #2 0x0042ce92 in event_exit () #3

[Libevent-users] evhttp and ipv6

2011-04-15 Thread Alexey Ozeritsky
HI, HTTP-client from evhttp (libevent-2.0.10-stable) does not work with ipv6 because it creates AF_INET socket. Patch that solves that problem attached. libevent-patch.patch Description: Binary data