Re: [Libevent-users] Unable to compile libevent 2.0.18

2012-04-26 Thread Dinh
inode. Does Xen require special settings to make libevent being compiled successfully? Dinh On Wed, Apr 25, 2012 at 11:31 PM, Zack Weinberg wrote: > > In file included from event.c:27:0: > > ./include/event2/event-config.h:18:3: error: expected identifier or '(' > befor

[Libevent-users] Unable to compile libevent 2.0.18

2012-04-25 Thread Dinh
ion:Ubuntu 11.10 Release:11.10 Codename:oneiric Am I doing anything wrong here? I compiled and installed this library successfully on a Ubuntu 11.10 dedicated server. Not sure why it can not be compiled on a Xen-based Ubuntu 11.10 VM instance provided by Linode. Thanks Dinh

[Libevent-users]

2011-05-31 Thread Trong Long Dinh
unsubscribe libevent-users

Re: [Libevent-users] bad request with evhttp libevent-2.0.10

2011-02-13 Thread Trong Long Dinh
okie, thanks On Sun, Feb 13, 2011 at 12:48 PM, Nick Mathewson wrote: > On Thu, Jan 13, 2011 at 12:29 AM, Trong Long Dinh > wrote: > > I haven't read RFC 3986. Maybe | _is_ an invalid URI character. But what > > happen when i want pass a param contain '|&#

Re: [Libevent-users] bad request with evhttp libevent-2.0.10

2011-01-12 Thread Trong Long Dinh
Wed, Jan 12, 2011 at 10:51 PM, Trong Long Dinh > wrote: > > I already review source code of libevent. Ur small code has same mean > with > > mine. However, Both are meaningless because function static char * > > end_of_path(char *cp, int allow_qchars) not allow '|

Re: [Libevent-users] bad request with evhttp libevent-2.0.10

2011-01-12 Thread Trong Long Dinh
t". On Thu, Jan 13, 2011 at 9:51 AM, Nick Mathewson wrote: > On Wed, Jan 12, 2011 at 6:10 AM, Trong Long Dinh > wrote: > > Hi all. > > I setup a simple httpd like this: > > > >> #include > >> #include > >> #include > >> >

[Libevent-users] bad request with evhttp libevent-2.0.10

2011-01-12 Thread Trong Long Dinh
Hi all. I setup a simple httpd like this: #include > #include > #include > > #include > #include > #include > #include > > void now_handler(struct evhttp_request *req, void *arg) { > struct evbuffer *buf = evhttp_request_get_output_buffer(req); > evbuffer_add_printf(buf, "{\"now\":%