Remove wsgi.file_wrapper optimisations for pipe and socket types. That is, only perform them for true seekable file type objects. This eliminates doing a dup() on file descriptor all together. The attempts at optimising for pipe and socket wouldn't have gained much as memory mapping techniques can't be applied like they can with true file objects.
Remove wsgi.file_wrapper optimisations for pipe and socket types. That is,
only perform them for true seekable file type objects. This eliminates doing
a dup() on file descriptor all together. The attempts at optimising for
pipe and socket wouldn't have gained much as memory mapping techniques can't
be applied like they can with true file objects.

paboldin/mod_wsgi,GrahamDumpleton/mod_wsgi,frewsxcv/mod_wsgi,MinFu/mod_wsgi,GrahamDumpleton/mod_wsgi,paboldin/mod_wsgi,SGCreations/mod_wsgi,MinFu/mod_wsgi,frewsxcv/mod_wsgi,Zunonia/mod_wsgi,Zunonia/mod_wsgi,frewsxcv/mod_wsgi,SGCreations/mod_wsgi,paboldin/mod_wsgi,SGCreations/mod_wsgi,Zunonia/mod_wsgi,MinFu/mod_wsgi,Zunonia/mod_wsgi,SGCreations/mod_wsgi,frewsxcv/mod_wsgi,paboldin/mod_wsgi,MinFu/mod_wsgi,GrahamDumpleton/mod_wsgi