http-client-openssl

http-client backend using the OpenSSL library.

https://github.com/snoyberg/http-client

Version on this page:0.3.1.0
LTS Haskell 22.14:0.3.3@rev:1
Stackage Nightly 2024-03-28:0.3.3@rev:1
Latest on Hackage:0.3.3@rev:1

See all snapshots http-client-openssl appears in

MIT licensed by Michael Snoyman
This version can be pinned in stack with:http-client-openssl-0.3.1.0@sha256:423d74b93d5b2a79991340da8d2cd8fccd496fb470483bad8c73857200509e4e,1494

Module documentation for 0.3.1.0

Used by 1 package in nightly-2020-08-02(full list with versions):

http-client-openssl

Full tutorial docs on the http-client package set are available at: https://haskell-lang.org/library/http-client

This package is an alternative to http-client-tls for those wishing to make secure connections with the OpenSSL library.

Changes

0.3.1.0

  • Fix a bug with http-proxy that would cause SNI to be set incorrectly; (would use the domain of the proxy, instead of the server we’re trying to reach through the proxy)

0.3.0.0

  • Wrap HsOpenSSL specific exceptions into http-clients own HttpExceptionRequest. This is a breaking change and might need adjustment with respect to exception handling in user code.
  • More robust handling of unexpectedly closed connections

0.2.2.0

  • Tell OpenSSL what host is being contacted, so it can use the SNI extension for certificate selection if the server requires it.

0.2.1.1

  • Fix a connection-bug with http-proxy(Previous version closes a connection before reading all respose-data.)

0.2.1.0

  • Add support for http-proxy

0.2.0.5

  • Use different domain name so tests pass

0.2.0.4

  • Minor doc updates

0.2.0.3

  • Simplified a test case

0.2.0.1

Expand hints for getAddrInfo. More exception safety.