Re: [Libevent-users] libevent http and lost requests

2011-08-11 Thread Mark Ellzey
On Thu, Aug 11, 2011 at 09:19:41PM +0300, about bus wrote: > Hello! > > I have a simple my own libevent-based http server written on C, use evhttp.h > functions. > I use it like backend with nginx server (about ~2K requests per second). > Sometimes in nginx error log appears error: "(60: Operation

[Libevent-users] sendfile on solaris

2011-08-11 Thread Michael Herf
In addition to my note about 64-bit offsets earlier: Solaris sendfile seems to fail when sending moderately large (<1GB) files. Not a 32/64 problem, but a buffer problem. Anyone else ever try this? It is definitely broken in http-server.c. It seems to be broken in the following way: When s

[Libevent-users] libevent http and lost requests

2011-08-11 Thread about bus
Hello! I have a simple my own libevent-based http server written on C, use evhttp.h functions. I use it like backend with nginx server (about ~2K requests per second). Sometimes in nginx error log appears error: "(60: Operation timed out) while reading response header from upstream" Timeout value

[Libevent-users] off_t confusion

2011-08-11 Thread Michael Herf
I'm compiling libevent on Solaris. ev_off_t appears to be #define'd as off_t on UNIX machines ("#define ev_off_t off_t" in util.h). However, on this machine, off_t is first defined in *stdio.h*! Additionally, my app uses the following defines to make stdio 64-bit aware: -D_LARGE

Re: [Libevent-users] The libevent-2.0.13-stable man pages

2011-08-11 Thread Steve Dickson
On 08/10/2011 11:54 AM, Nick Mathewson wrote: > On Mon, Aug 8, 2011 at 1:48 PM, Steve Dickson wrote: >> Hello, >> >> It appears all the man pages that were under >> doxygen/man/man3/ have disappeared in 2.0.13 tarball. >> So how are man pages generated these days? > > Hi, Steve! > > It took me