On Wed, Mar 31, 2010 at 04:57:15PM +0200, Christian Parpart <[email protected]> 
wrote:
> x0 also includes support for SSL (via gnutls), which is currently
> integrated directly into the core, because it was easier to implement it
> this way for me, as the asynchronous SSL-handshake made my headache-less
> nights rare and I still search for an ideal connection-level API to be
> able to encapsulate SSL into its dedicated plugin.

For simple use of TLS, all you need is to be able to filter read/write
to the socket via a plugin (it's easier if the plugin doesn't *have* to
process incoming data instantly, though, but at least openssl has a nice
buffering api which makes even this very simple - also, the plugin has to
be able to generate write data when getting passed read data).

(I think you use gnutls, no clue how gnutls handles this).

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to