messing around FastCGI. It is also intended to be run behind a
reverse-proxy so it doesn't have some facilities like logging,
client filtering or such like.
-Version: 0.4.2
+Version: 0.5
License: PublicDomain
License-File: COPYING
Author: PHO <pho at cielonegro dot org>
+Changes from 0.4.2 to 0.5
+-------------------------
+* Network.HTTP.Lucu.Config: (Suggested by Voker57)
+
+ - New config parameters:
+ - cnfServerV4Addr (default: Just "0.0.0.0")
+ - cnfServerV6Addr (default: Just "::")
+
+ These are local IP addresses to listen to both HTTP and HTTPS
+ clients. If you set 'cnfServerV4Addr' to Nothing, Lucu will not
+ listen to IPv4 clients. Ditto with 'cnfServerV6Addr'.
+
+ - Type change:
+ - cnfServerPort
+ - sslServerPort
+
+ The type of these params used to be Network.PortID but is now
+ Network.Socket.ServiceName, which means Lucu no longer be able
+ to listen to UNIX domain sockets. I believe no one wants to do
+ that but feel free to blame PHO if you miss it.
+
+
Changes from 0.4.1 to 0.4.2
---------------------------
* Fixed build failure on GHC 6.12.1. (Thanks: Voker57)
-- |A port number (or service name) to listen to HTTP clients.
, cnfServerPort :: !ServiceName
- -- |Local IPv4 address to listen to HTTP clients. Set this to
- -- @('Just' "0.0.0.0")@ if you want to accept any IPv4
- -- connections. Set this to 'Nothing' to disable IPv4.
+ -- |Local IPv4 address to listen to both HTTP and HTTPS
+ -- clients. Set this to @('Just' "0.0.0.0")@ if you want to accept
+ -- any IPv4 connections. Set this to 'Nothing' to disable IPv4.
, cnfServerV4Addr :: !(Maybe HostName)
- -- |Local IPv6 address to listen to HTTP clients. Set this to
- -- @('Just' "::")@ if you want to accept any IPv6 connections. Set
- -- this to 'Nothing' to disable IPv6. Note that there is currently
- -- no way to assign separate ports to IPv4 and IPv6 server
- -- sockets.
+ -- |Local IPv6 address to listen to both HTTP and HTTPS
+ -- clients. Set this to @('Just' "::")@ if you want to accept any
+ -- IPv6 connections. Set this to 'Nothing' to disable IPv6. Note
+ -- that there is currently no way to assign separate ports to IPv4
+ -- and IPv6 server sockets.
, cnfServerV6Addr :: !(Maybe HostName)
-- |Configuration for HTTPS connections. Set this 'Nothing' to