On Tue, 10 Apr 2001, Graham Leggett wrote:

> [EMAIL PROTECTED] wrote:
>
> > Remember, that was a best guess, without looking at the code.  I am not
> > saying that this is the problem, just a likely place to look.
>
> Could this not be caused by a thread-safeness issue?
>
> The downstream conn_rec is currently being kept in the configuration
> record because there was opposition to putting it in the upstream
> conn_rec. Is the configuration record thread safe? If not - then the
> conn_rec of thread A will get hosed by thread B, which is probably when
> the file handle disappears...?

Apache in general gets it's thread safety by tying each connection to a
single thread.  If you have two threads using the same conn_rec, then you
are inherently not thread-safe, unless you are using mutex's.

Ryan

_______________________________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------

Reply via email to