apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Zhakov" <chemo...@gmail.com>
Subject Re: Value of APR_MAX_IOVEC_SIZE constant on Windows
Date Tue, 11 Apr 2006 20:06:59 GMT
On 4/11/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
> On 4/11/06, Ivan Zhakov <chemodax@gmail.com> wrote:
> > Hi,
> > I've noticed that APR_MAX_IOVEC_SIZE constant is defined to 1024 on
> > Windows. Current trunk uses Async I/O only for sockets. But
> > theoretical limitation of buffers count is WSA_MAXIMUM_WAIT_EVENTS,
> > which is 64.
> > It is not limitation of WSASend and WSARecv itself, it is limitation
> > WSAWaitForMultipleEvents (and WaitForMultipleEvents).
> > I know that APR doesn't use this function at present time, but I
> > consider better to define APR_MAX_IOVEC_SIZE to
> > WSA_MAXIMUM_WAIT_EVENTS (or MAXIMUM_WAIT_EVENTS) for eliminate future
> > problems.
>
> That seems reasonable to me, care to produce a patch?
>
No problem to prepare patch, but William have objections.

--
Ivan Zhakov
Mime
View raw message