on master help sign in
Build flags
commit6af611134e106a51af590982fbb45f65bdf63119 authorMichael Snoyman <michael@snoyman.com> dateSat 9 Apr 2011, 21:48 (16 years ago) parent2e1aae0
1 file changed+2−6
warp.cabal+2−6
warp.cabal+2−6
@@ -1,5 +1,5 @@
11Name: warp
2−Version: 0.4.0
2+Version: 0.4.0.1
33Synopsis: A fast, light-weight web server for WAI applications.
44License: BSD3
55License-file: LICENSE
@@ -11,10 +11,8 @@ Build-Type: Simple
1111Cabal-Version: >=1.6
1212Stability: Stable
1313
14−flag timeout-protection
15− Description: Use timeouts (very performance-costly) to protect against DOS attacks.
16− Default: True
1714flag network-bytestring
15+ Default: False
1816
1917Library
2018 Build-Depends: base >= 3 && < 5
@@ -35,8 +33,6 @@ Library
3533 Exposed-modules: Network.Wai.Handler.Warp
3634 Other-modules: Timeout
3735 ghc-options: -Wall
38− if !flag(timeout-protection)
39− Cpp-options: -DNO_TIMEOUT_PROTECTION
4036 if os(windows)
4137 Cpp-options: -DWINDOWS
4238