Closed GoogleCodeExporter closed 9 years ago
Now restrict access to sys.stdin and sys.stdout as described. The restrictions
can
however be lifted using the WSGIRestrictStdin and WSGIRestrictStdout directives,
setting the values of the flags to Off instead of the default of On. If
restriction
on sys.stdout is removed, anything written to sys.stdout will be written to the
Apache error log. Also now use an error log object for sys.stderr. This is line
buffered and there is only one per interpreter. As a result, different threads
using
it at the same time to write partial lines of data will result in data being
mixed
together. The idea of trying to have one error log object per thread wasn't
perused
as not worth the trouble.
Original comment by Graham.Dumpleton@gmail.com
on 25 Mar 2007 at 8:35
Original issue reported on code.google.com by
Graham.Dumpleton@gmail.com
on 21 Mar 2007 at 10:47