SNI for server side: receive callback
authorAndy Green <andy@warmcat.com>
Wed, 23 Mar 2016 05:04:58 +0000 (13:04 +0800)
committerAndy Green <andy@warmcat.com>
Sat, 26 Mar 2016 01:27:34 +0000 (09:27 +0800)
commite2cf3e1cc01b28e63a8449675cd0834b00b7fc04
tree1df94e141044fcdc438f1e6c06bcb1a5886ead61
parent476329f3f8070c1f5e7df4549037c8041b8b8907
SNI for server side: receive callback

This takes tha callback and binds the lws_context to the SSL_CTX so we can
get the lws_context in the callback.

It just logs the incoming hostname atm.

Signed-off-by: Andy Green <andy@warmcat.com>
lib/ssl.c