[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] 5 bytes missing from starts of input buffer



On Thu, Sep 5, 2013 at 10:10 AM, Ben Short <ben@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> I have a strange problem where every so often my server socket input buffer
> does not contain the first 5 bytes as expected.

Strange! My first suggestion for debugging this would be to try to
come up with a stripped-down minimal toy demo to reproduce the
behavior.  If you can reproduce this bug in the demo code, it will be
easy to either show that this is either a bug in libevent, or to find
the bug in your stripped-down minimal demo code.  If your demo doesn't
exhibit this behavior, then the bug is likely to be in something that
your code is doing which your demo isn't, and examining those
differences is likely to help.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.