Re: [Libevent-users] 14k vprintf evbuffer on solaris

2010-10-04 Thread Nick Mathewson
On Wed, Sep 29, 2010 at 5:34 PM, Michael Herf wrote: [...] > Has anyone else seen a failure case like this? (I'm going to dig in and see > what I can find.) I haven't seen this before, no. One way to try to debug this would be to check would be to figure out where, along the chain between you a

[Libevent-users] 14k vprintf evbuffer on solaris

2010-09-29 Thread Michael Herf
I'm compiling libevent-2.0.7-rc on my Linux and OpenSolaris box. I'm seeing a bug that happens on OpenSolaris only. When I make an evbuffer and call "evbuffer_add_vprintf" to add more than ~14k to it (many small writes, few bytes at a time), the Solaris version of the code fails and sends 0 by