I just committed the code for the new http server. You basically need to update
pve-manager and pve-access-control packages.

We do not longer need apache2 for the api, so you can safely stop and remove 
apache2.

The new service is called pveproxy, and only listens to port 8006 (no redirect 
for port 80 and 443).

The new http server code in PVE::HTTPServer is event based using AnyEvent 
(fully asynchronous). So
we can open many connection and support keep-alive.

The whole server is about 1000 LOC, but code is a bit hard to read because of
the 'continuation passing' style 
(http://en.wikipedia.org/wiki/Continuation-passing_style)

In future, it would be even possible to use Coro 
(http://search.cpan.org/~mlehmann/Coro-6.23/) to
further improve performance.

Please review the code, and report bugs and missing features.

- Dietmar





_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to