From: pho Date: Wed, 3 Mar 2010 17:18:42 +0000 (+0900) Subject: Update NEWS and Lucu.cabal X-Git-Tag: RELEASE-0_5~1 X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=511b688492a4ddc489f4d45366ff967e9ec1cb0a;p=Lucu.git Update NEWS and Lucu.cabal Ignore-this: ab507668f5271aaa00321942f36df36b darcs-hash:20100303171842-62b54-f5a3b2634e609f2e17d06157411b370b3b28043c.gz --- diff --git a/Lucu.cabal b/Lucu.cabal index 39fa14b..d260616 100644 --- a/Lucu.cabal +++ b/Lucu.cabal @@ -8,7 +8,7 @@ Description: 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 diff --git a/NEWS b/NEWS index 28e23fc..c944072 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,25 @@ +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) diff --git a/Network/HTTP/Lucu/Config.hs b/Network/HTTP/Lucu/Config.hs index 29c5608..cb3f4a8 100644 --- a/Network/HTTP/Lucu/Config.hs +++ b/Network/HTTP/Lucu/Config.hs @@ -29,16 +29,16 @@ data Config = Config { -- |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