Merge lp:~openerp-dev/openobject-server/trunk-bug-794287-xrg into lp:openobject-server
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | Vo Minh Thu | ||||
Proposed branch: | lp:~openerp-dev/openobject-server/trunk-bug-794287-xrg | ||||
Merge into: | lp:openobject-server | ||||
Diff against target: |
247 lines (+120/-37) 2 files modified
openerp/service/http_server.py (+108/-36) openerp/service/websrv_lib.py (+12/-1) |
||||
To merge this branch: | bzr merge lp:~openerp-dev/openobject-server/trunk-bug-794287-xrg | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email:
|
Unmerged revisions
- 3452. By xrg
-
http_server: refactor IPv6 support for easier configuration
Previously, we would have the "httpd", the "httpsd" and then the "http6d"
etc, each of those able to listen on one interface/port.
With the introduction of IPv6, we may have the need to specify a set
of interfaces to listen to (as opposed to listening to all), and these
would also conflict with IPv4 ones on the same port.So, have a "multi-interface" ability in the "interface" setting of two
httpds, accepting both IPv4 and IPv6 syntax.
Example:
[httpd]
interface = [::72ff:fee2], 192.168.1.2, 10.0.4.1:8169This shall be compatible with the previous (single i/f) syntax, but
also allow configurations where we really want to restrict access to
trusted interfaces (networks). - 3451. By xrg
-
websrv_lib: repr() for HTTPDir, helps logs
- 3450. By xrg
-
http_server: Initial IPv6 support
Easily, add one more http server at an IPv6 interface.
But wait, shall we only add one port, different than the main one?
We are currently switching the HTTP stack from the websrv_lib layer to a WSGI approach. This means that handling IPv6 is done at an upper level, namely the WSGI server. For this reason I will reject this merge proposal.