On Mon, Feb 16, 2009 at 10:52:15PM +1100, Graham Dumpleton wrote: > 2009/2/16 Joe Orton <jor...@redhat.com>: > > You say: > > > >> For me this is an issue as the file descriptor has been supplied from > >> a special object returned by a higher level application and it would > >> be hard to maintain the file as open beyond the life of the request, > >> up till end of keep alive or a subsequent request over same > >> connection. Doing a dup on the file decriptor is also not necessarily > >> an option. > > > > can you explain why a dup shouldn't work? > > I did used to perform a dup, but was told that this would cause > problems with file locking. Specifically was told:
I'm getting lost here. What has file locking got to do with it? Does mod_wscgi rely on file locking somehow? joe