Re: [Libevent-users] sendfile on solaris

2011-08-15 Thread Michael Herf
Looks good, and I agree the BSD code wasn't broken. :) On 8/15/2011 10:39 AM, Nick Mathewson wrote: On Thu, Aug 11, 2011 at 5:16 PM, Michael Herf wrote: 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

Re: [Libevent-users] sendfile on solaris

2011-08-15 Thread Nick Mathewson
On Thu, Aug 11, 2011 at 5:16 PM, Michael Herf wrote: > 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-serve

[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