Nir Soffer has posted comments on this change.
Change subject: http protocol detection ......................................................................
Patch Set 5: Code-Review-1
Thinking more about it, we cannot use this to separate the xmlrpc and http servers.
Protocol detection assume that the first request represent all requests on some connection, so if I got an xmlrpc request, all other requests on this connection will be xmlrpc. This assumption is wrong as the same connection can be used by the engine for both xmlrpc and http.
Since we must support old engine, this can not be solved by using different connection pools on the engine side in future engine versions.
vdsm-patches@lists.fedorahosted.org