Re: [Libevent-users] Off by one error in HTTP message handling or documentation error

2011-05-06 Thread Nick Mathewson
On Mon, Apr 11, 2011 at 10:06 AM, Oscar Koeroo wrote: > Hello, Hi, and sorry about the delay! > When looking at the evbuffer_add() docs, like here: > http://monkey.org/~provos/libevent/doxygen-2.0.1/buffer_8h.html#69c3b8893a49bdd919642c6920c1fcb4 > > the doc doesn't seem to state that I need to

[Libevent-users] Off by one error in HTTP message handling or documentation error

2011-04-11 Thread Oscar Koeroo
Hello, I'm using libevent-2.0.10-stable and have a problem in my libevent based HTTP client (and service). I'm using the following construction (pseudo-codish): evbuffer_add( evhttp_request_get_output_buffer( evhttp_request_new(polling_callback, NULL) ), strin