WSGIApplication.configure_server shouldn't be called multiple times
Bug #524046 reported by
Anthony Lenton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lazr.restful |
Triaged
|
Low
|
Unassigned |
Bug Description
When using lazr.restful from modwsgi you need to be careful to not call WSGIApplication
So, you have to detect when you've already called this method, to be able to call it only once per thread. You can just stick a flag anywhere to achieve this, but it would be nice if WSGIApplication itself would realize when it has already been configured and skip the duplicate setup.
Changed in lazr.restful: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in lazr.restful: | |
importance: | Medium → Low |
To post a comment you must log in.