Re: [gnet-dev] Gnet with SSL support



hi!

>i discussed this with dave before, and we think the iochannel filters
>provided by glib (2?) can be used.

glib iochannel filters ? never heard of that.


do you mean the openssl BIO/filter api ?


i don't see another option as to (on unix):

 - capture the fd from the io_channel

 - plug the fd into an openssl-context

 - encaspsulate the openssl BIO api into GIOFuncs

 - create a custom GIOChannel struct that includes
    the original iochannel and the openssl-context.


am i wrong or do you know another option ?


--
  __              _ 
 / _|_ __ ___  __| | ___    unix, linux, freebsd
| |_| '__/ _ \/ _` |/ _ \   jpeg, png, gif, ppm
|  _| | |  __/ (_| | (_) |  apache, perl, php, mysql 
|_| |_|  \___|\__,_|\___/   pdf, ps, abw, html, pod



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]