[pve-devel] new https server
aderumier at odiso.com
Thu Apr 18 08:32:40 CEST 2013
Thanks Dietmar, I'll test it this week.
BTW, I finally get tls working with spice, I'll submit patches this week.
Do you think it's possible to use this new http server as CONNECT proxy ?
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: pve-devel at pve.proxmox.com
Envoyé: Mercredi 17 Avril 2013 07:58:13
Objet: [pve-devel] new https server
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.
pve-devel mailing list
pve-devel at pve.proxmox.com
More information about the pve-devel