Kazu Yamamoto
397d4e0f04
refactoring for max concurrency.
2016-06-16 14:53:08 +09:00
Michael Snoyman
7e423d5e36
Merge pull request #558 from thumphries/topic/gzipdef
...
Gzip: add note about file compression
2016-06-14 15:10:13 +03:00
Timothy Humphries
752c340939
Gzip: add note about GzipFiles
2016-06-14 22:07:52 +10:00
Michael Snoyman
653b570268
Merge pull request #557 from mkscrg/clarify-warp-ex-handling
...
warp: add example of normal exception handling to Warp.hs haddocks
2016-05-25 07:01:51 +03:00
Mike Craig
e251d8bd0d
warp: add example of normal exception handling to Warp.hs haddocks
2016-05-24 15:39:30 -07:00
Michael Snoyman
19a939ea77
Merge branch 'bugfix/accept-error-handling' of https://github.com/helium/wai into helium-bugfix/accept-error-handling
2016-05-24 07:36:06 +03:00
Michael Snoyman
247d672ab8
Relax upper bound on bytestring-builder
2016-05-24 05:52:44 +03:00
Michael Snoyman
c0898eab54
Merge pull request #556 from tolysz/warp-tls-DHParams
...
Add dh-params setting to wrap-tls
2016-05-23 14:03:37 +03:00
Michael Snoyman
71270926ce
Disable benchmarks for GHC 7.6.3
2016-05-23 10:36:53 +03:00
Marcin Tolysz
d7419f51b0
Add dh-params setting to wrap-tls; they are not exported from tls but they live in cryptonite
2016-05-22 19:30:17 +01:00
Michael Snoyman
8239844756
Allow GHC 7.6.3 to fail haskell/cabal#3453
...
Pinging @kazu-yamamoto
2016-05-22 16:49:33 +03:00
Michael Snoyman
c9427c887a
Try using newer cabal to avoid solver spinning its wheels
2016-05-22 07:31:54 +03:00
Michael Snoyman
089e6492df
Version bump
2016-05-22 07:30:54 +03:00
Michael Snoyman
68142be9f4
Merge pull request #554 from cocreature/process-1.4
...
Allow process-1.4
2016-05-22 07:08:53 +03:00
Moritz Kiefer
013fc92257
Allow process-1.4
2016-05-20 08:28:48 +02:00
Reid Draper
fce31039a0
Update documentation for graceful shutdown timeout
2016-05-19 17:27:41 -07:00
Reid Draper
aebd8d4081
Add an optional graceful shutdown timeout
...
For servers with long-lived (or infinite lived) connections, waiting for
graceful shutdown can block the server indefinitely. A new setting is
added, which allows for a time (in seconds) to be applied when
commencing a graceful shutdown.
2016-05-18 14:11:21 -07:00
Reid Draper
31d0012af5
Ignore ECONNABORTED errors during accept
...
ECONNABORTED is a recoverable error, and only applies to a particular
socket in the accept(2) queue. It is safe to simply try accept'ing the
next socket on the queue.
2016-05-18 11:27:56 -07:00
Reid Draper
3011cade3b
Do not special-handle ResourceExhausted
...
There is no guarantee that running out of file-descriptors is a
temporary condition, and simply sleeping for a second is a naive
solution. In the general case, it is better to scream loudly and alert
an administrator to this case.
2016-05-18 10:42:16 -07:00
Michael Snoyman
7eded0855e
Merge pull request #551 from RyanGlScott/master
...
Make warp benchmarks build with modern criterion
2016-05-18 18:05:01 +03:00
Michael Snoyman
1694dd41ec
Version bump for #549
2016-05-17 21:09:36 +03:00
Michael Snoyman
2f8abffde8
Merge pull request #549 from asariley/cleanup-stream
...
clean up stream resources when websockets completes
2016-05-17 21:08:47 +03:00
Ryan Scott
1b567285b0
Make warp benchmarks build with modern criterion
2016-05-17 12:41:41 -04:00
Asa Riley
23c7a07682
expand scope of computation that is covered by finally
2016-05-17 11:16:40 -04:00
Asa Riley
000a181079
clean up stream resources when websockets completes
2016-05-16 11:00:40 -04:00
Michael Snoyman
007c32993f
Version bump for #541
2016-05-11 07:45:46 +03:00
Michael Snoyman
71d74ae20f
Version bump for #547
2016-05-09 08:43:16 +03:00
Michael Snoyman
81c144d66b
auto-update version bump
2016-05-09 08:43:16 +03:00
Michael Snoyman
d895b71ea1
Merge pull request #547 from nanonaren/master
...
Provide updateActionModify API in AutoUpdate
2016-05-09 08:39:06 +03:00
nanonaren
1b3911b339
Cleanup
2016-05-05 18:41:46 +05:30
nanonaren
60fbb46703
Prototyping non-breaking approach to udpateActionModify
2016-05-05 10:42:12 +05:30
nanonaren
3ce482223e
Conditionally import (<*>)
2016-05-05 08:38:02 +05:30
nanonaren
6d63f1cc8d
Export updateActionModify
2016-05-05 08:32:36 +05:30
nanonaren
ef886d7205
Provide updateActionModify API in AutoUpdate
...
Fixes yesodweb/wai#535
2016-05-04 14:11:27 +05:30
Michael Snoyman
2a755b739d
Merge pull request #541 from simonmichael/master
...
don't launch if server fails; kill server on exit #537
2016-05-02 20:20:42 +03:00
Simon Michael
8ee4d4ac47
name the other flag, too #537
2016-05-02 09:02:55 -07:00
Simon Michael
6f7f5b67fb
don't launch if server fails; kill server on exit #537
...
Make the server thread and launch/monitor thread more aware of each
other, using async. Now, we won't launch a browser until the server is
ready to serve pages, and we won't launch it at all if the server fails
to start. Also we make sure to terminate the server thread whenever the
main thread terminates, eg from ctrl-c in GHCI.
2016-05-02 09:01:31 -07:00
Michael Snoyman
082bd633cd
Version bump for #544
2016-04-25 16:21:01 +03:00
Michael Snoyman
a45b73b938
Merge pull request #544 from hreinhardt/master
...
don't use deprecated CRT functions on Windows
2016-04-25 16:20:18 +03:00
Holger Reinhardt
5d711c8016
don't use deprecated CRT functions on Windows
2016-04-25 12:03:14 +02:00
Michael Snoyman
e7630c8627
Merge pull request #543 from yesodweb/reaperDocs
...
Add example code for Control.Reaper to Haddocks
2016-04-25 09:55:42 +03:00
Maximilian Tagher
8f04ecabae
Switch to cache pruning example for Reaper
2016-04-24 10:23:40 -07:00
Michael Snoyman
cf2ff48f60
Merge pull request #542 from yesodweb/autoupdateDocs
...
Minor improvements to auto-update docs
2016-04-24 08:54:35 +03:00
Maximilian Tagher
81fe47380c
Add example code for Control.Reaper to Haddocks
2016-04-23 15:18:31 -07:00
Maximilian Tagher
95e3805048
Limit line length in AutoUpdate description
2016-04-23 12:41:28 -07:00
Maximilian Tagher
346e5e7029
Improve auto-update docs
2016-04-23 12:04:23 -07:00
Michael Snoyman
5dc1cc5911
Version bunch
2016-04-22 09:09:45 +03:00
Michael Snoyman
f0fac18e48
Merge pull request #539 from simonmichael/master
...
make host configurable too (fixes #538 )
2016-04-22 09:07:25 +03:00
Simon Michael
ea02528588
make host configurable too
...
Cf fpco/streaming-commons/#29
2016-04-21 13:48:34 -07:00
Michael Snoyman
cc8dbb6c8e
Version bump for #534
2016-04-21 14:28:08 +03:00