Export to GitHub

modwsgi - issue #318

Disable by default WSGI script file reloading in embedded mode.


Posted on Apr 29, 2014 by Quick Rhino

Allowing reload in same process space can actually cause issues if a function in that scope is registered with code outside of the WSGI script file.

For example, atexit.register() of callback will see callback fail when called, if WSGI script had been reloaded. This is because any global data in WSGI script file would have been destroyed and wouldn't be accessible any more.

Status: Accepted

Labels:
Type-Defect Priority-Medium