[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\":%