odoo/addons/web
Xavier Morel 75409e349a [FIX] avoid systematically deadlocking the stand-alone OpenERP web in its default configuration
The default configuration for OpenERP Web standalone (launched via the
openerp-web script) is single-threaded for log-readability purposes.

web.common.controllers.main.Proxy.load has been added to wrap a
request to an HTTP handler inside a JSON (and/or JSONP) request, the
initial implementation was to perform a full HTTP call *from within an
HTTP handler to itself*.

Since the server is single-threaded and its only thread is already
busy, it can't handle the new request, and the client deadlocks.

Replaced this crap by also-crap-but-slightly-less-so: instantiating a
Werkzeug test client using the root application and proxying the
request through that. Avoids creating a new request from the server,
therefore does not deadlock.

lp bug: https://launchpad.net/bugs/905384 fixed

bzr revid: xmo@openerp.com-20111219145759-m10zgo3tcd6zjhcu
2011-12-19 15:57:59 +01:00
..
common [FIX] avoid systematically deadlocking the stand-alone OpenERP web in its default configuration 2011-12-19 15:57:59 +01:00
controllers [FIX] avoid systematically deadlocking the stand-alone OpenERP web in its default configuration 2011-12-19 15:57:59 +01:00
po Launchpad automatic translations update. 2011-12-18 04:42:45 +00:00
static [FIX] Use $.Mutex for qweb loading 2011-12-19 15:34:06 +01:00
test rename base into web part1 2011-09-05 13:03:09 +02:00
__init__.py [IMP] cleanup of web.common 2011-10-05 19:58:26 +02:00
__openerp__.py move jq_ajax.js 2011-12-15 14:33:05 +01:00