Hi Mike, On 10/13/07, Mike Heath <[EMAIL PROTECTED]> wrote: > Rob Butler wrote: > > Interesting. Is there a way to override this behavior? For example, > > with DNS you will often receive messages that are 512 bytes or less. > > But you would always want the buffer to be ready to accept at least > > 512 bytes. With DNS extensions messages of 2048 bytes or more can be > > sent/received. > > Does the dynamic read buffer code affect UDP? I'm of the opinion that > we shouldn't dynamically resize the UDP read buffer because it can cause > database to be lost. Or is there a good reason for this? > > I also think it would be reasonable to be able to configure the minimum > read buffer size.
This feature doesn't affect UDP at all. And you can adjust the upper and lower bound for the automatic adjustment in 2.0. HTH, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
