[Libevent-users] problem with use libevent 2.0.21-stable on php c extension

2013-01-22 Thread Ming Xie
Hi, all my php version : 5.3.6 i'm writing a connection pool php extension using libevent. i build connecion like this: conn_ptr->ev_buffer = bufferevent_socket_new(ptr_base, -1, BEV_OPT_CLOSE_ON_FREE/* | BEV_OPT_THREADSAFE*/); if (conn_ptr->ev_buffer == NULL) { fprintf(stderr, "buffereve

[Libevent-users] Re:problem with use libevent 2.0.21-stable on php c extension

2013-01-22 Thread Ming Xie
my OS : Debian 6.0.6 without SELinux root@Excalibur:/home/excalibur/php_new_vesion/php-5.4.10# cat /etc/debian_version 6.0.6 root@Excalibur:/home/excalibur/php_new_vesion/php-5.4.10# gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Deb

Re: [Libevent-users] evhttp client error handling

2013-01-22 Thread Azat Khuzhin
Hi Patrick, thanks, now understand that I don't see at the right peace of code. Could you try to test my patch https://github.com/azat/libevent/commit/71e709c7829275a594f767b27468b1b52e8b5bb9.patch and write if it works for you? Thanks. On Tue, Jan 22, 2013 at 9:05 AM, Patrick Pelletier wrote: