[pve-devel] new https server

Dietmar Maurer dietmar at proxmox.com
Wed Apr 17 07:58:13 CEST 2013

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20130417/71040c86/attachment.htm>

More information about the pve-devel mailing list