Monday, August 25, 2008

Version 2.3 of mod_wsgi is now available.

Version 2.3 of mod_wsgi is a bug fix update. The most important of the bug fixes addresses a data truncation issue when using wsgi.file_wrapper extension (on Windows or Apache 1.3 on UNIX) with file objects. Data truncation could also occur for all deployment configurations for any other file like objects used with wsgi.file_wrapper.

A number of other issues are also addressed, including a crash when using mod_python at the same time and leakage of file descriptors in Apache parent process on graceful restart of Apache.

It is highly recommended that if you are using version 2.0 or 2.1 of mod_wsgi and applications which make use of the wsgi.file_wrapper extension that you upgrade to this version. Trac users running on Windows, or who are using Apache 1.3 on UNIX, should in particular consider upgrading as the wsgi.file_wrapper issue can cause truncation of data when downloading attachments with binary data containing NULL characters.

Note that version 2.3 of mod_wsgi was a quick fire release to fix issues caused in version 2.2 release which preceded 2.3 by a day or so. If you have already obtained version 2.2 of mod_wsgi, you should ensure you upgrade to version 2.3. If not you will find that CGI scripts will fail if mod_wsgi daemon mode is also being used.

A description of changes in version 2.2/2.3 can be found in the change notes at:

  http://code.google.com/p/modwsgi/wiki/ChangesInVersion0202
  http://code.google.com/p/modwsgi/wiki/ChangesInVersion0203

If you have any questions about mod_wsgi or wish to provide feedback, use the Google group for mod_wsgi found at:

  http://groups.google.com/group/modwsgi

1 comment:

Nick said...

Thank you so much for all your work! mod_wsgi is the best thing since sliced bacon.