httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <>
Subject Re: mod_file_cache broken on Windows
Date Sun, 01 Jul 2001 15:13:40 GMT

> So the problem is
> related to one of the following:


> 2. fields set in the cached apr_file_t that are not set in the new apr_file_t created
by the
> apr_os_file_blah() trick file.
> Since we are (should be :-) on the sendfile path, I wouldn't expect to get into the XTHREAD
> APR, but it could be that we are because of some of the settings in the cached apr_file_t.

The bug was introduced by the Win32 large file support in APR. Specifically, we were using
the event
handle in the cached apr_file_t to do overlapped i/o on a socket. The really bad mojo was
multiple threads were using this same handle. Backed out this portion of the large file support
patch and can serve files out of the cache w/o segfaulting. I'll do more testing tomorrow.


View raw message