1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
|
Name: warp
Version: 3.0.0.5
Synopsis: A fast, light-weight web server for WAI applications.
License: MIT
License-file: LICENSE
Author: Michael Snoyman, Kazu Yamamoto, Matt Brown
Maintainer: michael@snoyman.com
Homepage: http://github.com/yesodweb/wai
Category: Web, Yesod
Build-Type: Simple
Cabal-Version: >=1.8
Stability: Stable
Description:
The premier WAI handler. For more information, see <http://steve.vinoski.net/blog/2011/05/01/warp-a-haskell-web-server/>.
.
Changelog
.
[3.0.0] WAI no longer uses conduit for its streaming interface.
.
[2.1.0] The @onOpen@ and @onClose@ settings now provide the @SockAddr@ of the client, and @onOpen@ can return a @Bool@ which will close the connection. The @responseRaw@ response has been added, which provides a more elegant way to handle WebSockets than the previous @settingsIntercept@. The old settings accessors have been deprecated in favor of new setters, which will allow settings changes to be made in the future without breaking backwards compatibility.
.
[2.0.0] ResourceT is not used anymore. Request and Response is now abstract data types. To use their constructors, Internal module should be imported.
.
[1.3.9] Support for byte range requests.
.
[1.3.7] Sockets now have FD_CLOEXEC set on them. This behavior is more secure, and the change should not affect the vast majority of use cases. However, it appeared that this is buggy and is fixed in 2.0.0.
extra-source-files: attic/hex
Flag network-bytestring
Default: False
Flag allow-sendfilefd
Description: Allow use of sendfileFd (not available on GNU/kFreeBSD)
Default: True
Flag warp-debug
Description: print debug output. not suitable for production
Default: False
Library
Build-Depends: base >= 3 && < 5
, array
, blaze-builder >= 0.3.3 && < 0.4
, bytestring >= 0.9.1.4
, case-insensitive >= 0.2
, ghc-prim
, http-types >= 0.8.5
, simple-sendfile >= 0.2.7 && < 0.3
, unix-compat >= 0.2
, void
, wai >= 3.0 && < 3.1
, text
, streaming-commons >= 0.1.2
if flag(network-bytestring)
Build-Depends: network >= 2.2.1.5 && < 2.2.3
, network-bytestring >= 0.1.3 && < 0.1.4
else
Build-Depends: network >= 2.3
Exposed-modules: Network.Wai.Handler.Warp
Network.Wai.Handler.Warp.Buffer
Network.Wai.Handler.Warp.Timeout
Network.Wai.Handler.Warp.Internal
Other-modules: Network.Wai.Handler.Warp.Conduit
Network.Wai.Handler.Warp.Date
Network.Wai.Handler.Warp.FdCache
Network.Wai.Handler.Warp.Header
Network.Wai.Handler.Warp.IO
Network.Wai.Handler.Warp.IORef
Network.Wai.Handler.Warp.ReadInt
Network.Wai.Handler.Warp.Recv
Network.Wai.Handler.Warp.Request
Network.Wai.Handler.Warp.RequestHeader
Network.Wai.Handler.Warp.Response
Network.Wai.Handler.Warp.ResponseHeader
Network.Wai.Handler.Warp.Run
Network.Wai.Handler.Warp.SendFile
Network.Wai.Handler.Warp.Settings
Network.Wai.Handler.Warp.Thread
Network.Wai.Handler.Warp.Types
Network.Wai.Handler.Warp.Windows
Paths_warp
Ghc-Options: -Wall
if flag(warp-debug)
Cpp-Options: -DWARP_DEBUG
if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
Cpp-Options: -DSENDFILEFD
Build-Depends: hashable
Other-modules: Network.Wai.Handler.Warp.MultiMap
if os(windows)
Cpp-Options: -DWINDOWS
Build-Depends: time
, old-locale
else
Build-Depends: unix
, http-date
Test-Suite doctest
Type: exitcode-stdio-1.0
HS-Source-Dirs: test
Ghc-Options: -threaded -Wall
Main-Is: doctests.hs
Build-Depends: base
, doctest >= 0.9.3
Test-Suite spec
Main-Is: Spec.hs
Other-modules: ConduitSpec
ExceptionSpec
FdCacheSpec
MultiMapSpec
ReadIntSpec
RequestSpec
ResponseHeaderSpec
ResponseSpec
RunSpec
ThreadSpec
Hs-Source-Dirs: test, .
Type: exitcode-stdio-1.0
Ghc-Options: -Wall
Build-Depends: base >= 4 && < 5
, array
, blaze-builder >= 0.3.3 && < 0.4
, bytestring >= 0.9.1.4
, case-insensitive >= 0.2
, ghc-prim
, HTTP
, http-types >= 0.8.4
, lifted-base >= 0.1
, simple-sendfile >= 0.2.4 && < 0.3
, transformers >= 0.2.2
, unix-compat >= 0.2
, void
, wai
, network
, HUnit
, QuickCheck
, hspec >= 1.3
, time
, old-locale
, text
, streaming-commons >= 0.1.1
, async
if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
Cpp-Options: -DSENDFILEFD
Build-Depends: unix
, hashable
, http-date
if os(windows)
Cpp-Options: -DWINDOWS
Benchmark parser
Type: exitcode-stdio-1.0
Main-Is: Parser.hs
HS-Source-Dirs: bench .
Build-Depends: base
, bytestring
, criterion
, http-types
, network
, network
Source-Repository head
Type: git
Location: git://github.com/yesodweb/wai.git
|