valum-framework / valum

Web micro-framework written in Vala
https://valum-framework.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
225 stars 23 forks source link

Add support for TLS to `VSGI.SocketServer` #192

Closed arteymix closed 7 years ago

arteymix commented 7 years ago

It basically only mean to wrap the incoming TCP connection with GLib.TlsServerConnection and passing the necessary flags at runtime.

For example, Apache support TLS with any proxy backend so it could be used for SCGI.

arteymix commented 7 years ago

It does not work directly because incoming expects a SocketConnection. Since it's relatively easy to implement, it's better be implementation-specific.