[Haskell-cafe] Re: ANNOUNCE: tls,
native TLS/SSL protocol implementation
michael at snoyman.com
Fri Oct 8 09:14:19 EDT 2010
On Fri, Oct 8, 2010 at 1:59 PM, Maciej Piechotka <uzytkownik2 at gmail.com> wrote:
> On Wed, 2010-10-06 at 22:26 +0100, Vincent Hanquez wrote:
>> Hi haskellers,
>> I'ld like to announce the tls package , which is a native implementation
>> of the TLS protocol, client and server. It's currently mostly supporting SSL3,
>> TLS1.0 and TLS1.1. It's got *lots* of rough edges, and a bunch of unsupported
>> features, but it's humming along, and at each iteration it's becoming more
>> tighly secure and featureful.
>> I would recommend against using this implementation in a production system just
>> yet, or in an aggressive environment either (specially for the server side);
>> I don't think it should necessary fail, but it's still an early implementation
>> with probable API changes on the way.
>>  http://github.com/vincenthz/hs-tls
>>  http://hackage.haskell.org/package/tls
> 1. Could also callback in addition to handles be added?
> connect' :: (ByteString -> IO ()) -> IO ByteString -> TLSClient IO ()
> - It allows to wrap it into Enumerators
It's entirely possible to wrap the current interface into
enumerators/iteratees. That's how http-enumerator works.
More information about the Haskell-Cafe