depressed-pho / HsOpenSSL

OpenSSL binding for Haskell
http://hackage.haskell.org/package/HsOpenSSL
Creative Commons Zero v1.0 Universal
20 stars 56 forks source link

SSL_set_tlsext_host_name for Server Name Indication (SNI) #40

Closed vshabanov closed 8 years ago

vshabanov commented 9 years ago

Hi, I've added SSL function which is necessary for sites that require SNI (many CloudFlare sites at the moment).

Without setting host name SSL connections to these sites terminate with

ProtocolError "error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error"
vshabanov commented 9 years ago

Hi @phonohawk,

Any news on this pull request?

Without it I can't upload new version of my own package to Hackage https://github.com/bazqux/http-conduit-downloader

It would be really great if you could merge it and upload new HsOpenSSL version to Hackage.

pavelkogan commented 9 years ago

:+1:

freizl commented 8 years ago

+1

singpolyma commented 8 years ago

+1

I've written a fork of http-streams that uses this: https://github.com/afcowie/http-streams/compare/master...singpolyma:SNI?expand=1

mstarzyk commented 8 years ago

+1

vshabanov commented 8 years ago

I'm new maintainer of HsOpenSSL. https://github.com/vshabanov/HsOpenSSL is now the repo for HsOpenSSL. This pull request is not needed anymore. In future please send pull requests to the new repo.