apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: Value of APR_MAX_IOVEC_SIZE constant on Windows
Date Tue, 11 Apr 2006 19:32:33 GMT
> 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.

As much as that makes sense, it's an unreasonable system-imposed contraint
on the Windows platform... we've worked quite hard at -breaking- that barrier,
so I'd be very uncomfortable with reintroducing it :/



Mime
View raw message