3* New APIs: setGracefulCloseTimeout1 and setGracefulCloseTimeout2.
4 For HTTP/1.x, connections are closed immediately by default.
5 gracefullClose is used for HTTP/2 by default.
6 [#782](https://github.com/yesodweb/wai/pull/782)
10* Setting isSecure of HTTP/2 correctly.
14* Calling setOnException in HTTP/2.
15 [#771](https://github.com/yesodweb/wai/pull/771)
19* Fixing a bug of HTTP/2 without fd cache.
23* Using gracefullClose of network 3.1.1 or later if available.
24* If the first line of an HTTP request is really invalid,
25 don't send an error response
29* Switching from the original implementation to HTTP/2 server library.
30 [#752](https://github.com/yesodweb/wai/pull/752)
31* Breaking change: The type of `http2dataTrailers` is now
32 `HTTP2Data -> TrailersMaker`.
36* Using the Strict and StrictData language extensions for GHC >8.
37 [#752](https://github.com/yesodweb/wai/pull/752)
38* System.TimeManager is now in a separate package: time-manager.
39 [#750](https://github.com/yesodweb/wai/pull/750)
40* Fixing a bug of ALPN.
41* Introducing the half closed state for HTTP/2.
42 [#717](https://github.com/yesodweb/wai/pull/717)
46* Internally, use `lookupEnv` instead of `getEnvironment` to get the
47 value of the `PORT` environment variable
48 [#736](https://github.com/yesodweb/wai/pull/736)
49* Throw 413 for too large payload
50* Throw 431 for too large headers
51 [#741](https://github.com/yesodweb/wai/pull/741)
52* Use exception response handler in HTTP/2 & improve connection preservation
53 in HTTP/1.x if uncaught exceptions are thrown in an `Application`.
54 [#738](https://github.com/yesodweb/wai/pull/738)
58* Support network package version 3
62* Removing Connection: and Transfer-Encoding: from HTTP/2
64 [#707](https://github.com/yesodweb/wai/pull/707)
68* Fix HTTP2 unwanted GoAways on late WindowUpdate frames.
69 [#711](https://github.com/yesodweb/wai/pull/711)
73* Log real requsts when an app throws an error.
74 [#698](https://github.com/yesodweb/wai/pull/698)
78* Fixing large request body in HTTP/2.
82* Fixing HTTP/2's timeout handler in request's vault.
86* Fixing large request body in HTTP/2
87 [#593](https://github.com/yesodweb/wai/issues/593)
91* Fixing 0-byte request body in HTTP/2
92 [#597](https://github.com/yesodweb/wai/issues/597)
93 [#679](https://github.com/yesodweb/wai/issues/679)
97* Replace dependency on `blaze-builder` with `bsb-http-chunked`
101* Fix benchmark compilation [#681](https://github.com/yesodweb/wai/issues/681)
105* Make `testWithApplicationSettings` actually use the settings passed.
106 [#677](https://github.com/yesodweb/wai/pull/677).
109* Add support for windows thread block hack and closeOnExec to TLS.
110 [#674](https://github.com/yesodweb/wai/pull/674).
114* In `testWithApplication`, don't `throwTo` ignorable exceptions
115 [#671](https://github.com/yesodweb/wai/issues/671), and
116 reuse `bindRandomPortTCP`
120* Address space leak from exception handlers
121 [#649](https://github.com/yesodweb/wai/issues/649)
125* Support streaming-commons 0.2
130* Tickling HTTP/2 timer. [624](https://github.com/yesodweb/wai/pull/624)
131* Guarantee atomicity of WINDOW_UPDATE increments [622](https://github.com/yesodweb/wai/pull/622)
132* Relax HTTP2 headers check [621](https://github.com/yesodweb/wai/pull/621)
136* If an empty string is set by setServerName, the Server header is not included in response headers [#619](https://github.com/yesodweb/wai/issues/619)
140* Don't throw exceptions when closing a keep-alive connection
141 [#618](https://github.com/yesodweb/wai/issues/618)
145* Move exception handling to top of thread (fixes
146 [#613](https://github.com/yesodweb/wai/issues/613))
150* Fixing 10 HTTP2 bugs pointed out by h2spec v2.
154* Add `connFree` to `Connection`. Close socket connections on timeout triggered. Timeout exceptions extend from `SomeAsyncException`. [#602](https://github.com/yesodweb/wai/pull/602) [#605](https://github.com/yesodweb/wai/pull/605)
158* Fixing a space leak. [#586](https://github.com/yesodweb/wai/pull/586)
162* Fixing HTTP2 requestBodyLength. [#573](https://github.com/yesodweb/wai/pull/573)
163* Making HTTP/2 :path optional for the CONNECT method. [#572](https://github.com/yesodweb/wai/pull/572)
164* Adding new APIs for HTTP/2 trailers: http2dataTrailers and modifyHTTP2Data [#566](https://github.com/yesodweb/wai/pull/566)
168* Adding new APIs for HTTP/2 server push: getHTTP2Data and setHTTP2Data [#510](https://github.com/yesodweb/wai/pull/510)
169* Better accept(2) error handling [#553](https://github.com/yesodweb/wai/pull/553)
170* Adding getGracefulShutdownTimeout.
171* Add {test,}withApplicationSettings [#531](https://github.com/yesodweb/wai/pull/531)
175* Using token based APIs of http2 1.6.
179* Ignoring errors from setSocketOption. [#526](https://github.com/yesodweb/wai/issues/526).
183* Added `withApplication`, `testWithApplication`, and `openFreePort`
184* Fixing reaper delay value of file info cache.
188* Using http2 v1.5.x which much improves the performance of HTTP/2.
189* To get rid of the bottleneck of ByteString's (==), a new logic to
190 compare header names is introduced.
194* Throwing errno for pread [#499](https://github.com/yesodweb/wai/issues/499).
195* Makeing compilable on Windows [#505](https://github.com/yesodweb/wai/issues/505).
199* Add back `warpVersion`
203* Major version up due to breaking changes. This is because the HTTP/2 code
204 was started over with Warp 3.1.3 due to performance issue [#470](https://github.com/yesodweb/wai/issues/470).
205* runHTTP2, runHTTP2Env, runHTTP2Settings and runHTTP2SettingsSocket were removed from the Network.Wai.Handler.Warp module.
206* The performance of HTTP/2 was drastically improved. Now the performance of HTTP/2 is almost the same as that of HTTP/1.1.
207* The logic to handle files in HTTP/2 is now identical to that in HTTP/1.1.
208* Internal stuff was removed from the Network.Wai.Handler.Warp module according to [the plan](http://www.yesodweb.com/blog/2015/06/cleaning-up-warp-apis).
212* Setting lower bound for auto-update [#495](https://github.com/yesodweb/wai/issues/495)
216* Providing a new API: killManager.
217* Preventing space leaks due to Weak ThreadId [#488](https://github.com/yesodweb/wai/issues/488)
218* Setting upper bound for http2.
222* `setFileInfoCacheDuration`
224* `FileInfo`/`getFileInfo`
225* Fix: warp-tls strips out the Host request header [#478](https://github.com/yesodweb/wai/issues/478)
229* Using the new priority queue based on PSQ provided by http2 lib again.
233* Using the new priority queue based on PSQ provided by http2 lib.
237* A concatenated Cookie header is prepended to the headers to ensure that it flows pseudo headers. [#454](https://github.com/yesodweb/wai/pull/454)
238* Providing a new settings: `setHTTP2Disabled` [#450](https://github.com/yesodweb/wai/pull/450)
242* Adding back http-types 0.8 support [#449](https://github.com/yesodweb/wai/pull/449)
246* Using http-types v0.9.
247* Fixing build on OpenBSD. [#428](https://github.com/yesodweb/wai/pull/428) [#440](https://github.com/yesodweb/wai/pull/440)
248* Fixing build on Windows. [#438](https://github.com/yesodweb/wai/pull/438)
252* Using newer http2 library to prevent change table size attacks.
253* API for HTTP/2 server push and trailers. [#426](https://github.com/yesodweb/wai/pull/426)
254* Preventing response splitting attacks. [#435](https://github.com/yesodweb/wai/pull/435)
255* Concatenating multiple Cookie: headers in HTTP/2.
259* Warp now supports blaze-builder v0.4 or later only.
260* HTTP/2 code was improved: dynamic priority change, efficient queuing and sender loop continuation. [#423](https://github.com/yesodweb/wai/pull/423) [#424](https://github.com/yesodweb/wai/pull/424)
264* Configurable Slowloris size [#418](https://github.com/yesodweb/wai/pull/418)
268* Fixing a bug of HTTP/2 when no FD cache is used [#411](https://github.com/yesodweb/wai/pull/411)
269* Fixing a buffer-pool bug [#406](https://github.com/yesodweb/wai/pull/406) [#407](https://github.com/yesodweb/wai/pull/407)
273* Supporting HTTP/2 [#399](https://github.com/yesodweb/wai/pull/399)
274* Cleaning up APIs [#387](https://github.com/yesodweb/wai/issues/387)
278* Remove dependency on the void package [#375](https://github.com/yesodweb/wai/pull/375)
282* Turn off file descriptor cache by default [#371](https://github.com/yesodweb/wai/issues/371)
286* Fix for: HEAD requests returning non-empty entity body [#369](https://github.com/yesodweb/wai/issues/369)
290* Only conditionally produce HTTP 100 Continue
294* Better HEAD support for files [#357](https://github.com/yesodweb/wai/pull/357)
298* Fix [missing `IORef` tweak](https://github.com/yesodweb/wai/issues/351)
299* Disable timeouts as soon as request body is fully consumed. This addresses
300 the common case of a non-chunked request body. Previously, we would wait
301 until a zero-length `ByteString` is returned, but that is suboptimal for some
302 cases. For more information, see [issue
303 351](https://github.com/yesodweb/wai/issues/351).
304* Add `pauseTimeout` function
308* Don't serve a 416 status code for 0-length files [keter issue #75](https://github.com/snoyberg/keter/issues/75)
309* Don't serve content-length for 416 responses [#346](https://github.com/yesodweb/wai/issues/346)
313Fix support for old versions of bytestring
317Add support for blaze-builder 0.4
321* Add runEnv: like run but uses $PORT [#334](https://github.com/yesodweb/wai/pull/334)
325* [Pass the Request to settingsOnException handlers when available. #326](https://github.com/yesodweb/wai/pull/326)
329Support for PROXY protocol, such as used by Amazon ELB TCP. This is useful
330since, for example, Amazon ELB HTTP does *not* have support for Websockets.
331More information on the protocol [is available from
332Amazon](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#proxy-protocol).
340Modify flushing of request bodies. Previously, regardless of the size of the
341request body, the entire body would be flushed. When uploading large files to a
342web app that does not accept such files (e.g., returns a 413 too large status),
343browsers would still send the entire request body and the servers will still
346The new behavior is to detect if there is a large amount of data still to be
347consumed and, if so, immediately terminate the connection. In the case of
348chunked request bodies, up to a maximum number of bytes is consumed before the
349connection is terminated.
351This is controlled by the new setting `setMaximumBodyFlush`. A value of
352@Nothing@ will return the original behavior of flushing the entire body.
356WAI no longer uses conduit for its streaming interface.
360The `onOpen` and `onClose` settings now provide the `SockAddr` of the client,
361and `onOpen` can return a `Bool` which will close the connection. The
362`responseRaw` response has been added, which provides a more elegant way to
363handle WebSockets than the previous `settingsIntercept`. The old settings
364accessors have been deprecated in favor of new setters, which will allow
365settings changes to be made in the future without breaking backwards
370ResourceT is not used anymore. Request and Response is now abstract data types.
371To use their constructors, Internal module should be imported.
375Support for byte range requests.
379Sockets now have `FD_CLOEXEC` set on them. This behavior is more secure, and
380the change should not affect the vast majority of use cases. However, it
381appeared that this is buggy and is fixed in 2.0.0.
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list