Christopher Reichert ae0608bc21 Bump yesod-websockets version. | %!s(int64=9) %!d(string=hai) anos | |
---|---|---|
.. | ||
Yesod | %!s(int64=9) %!d(string=hai) anos | |
ChangeLog.md | %!s(int64=9) %!d(string=hai) anos | |
LICENSE | %!s(int64=10) %!d(string=hai) anos | |
README.md | %!s(int64=10) %!d(string=hai) anos | |
Setup.hs | %!s(int64=10) %!d(string=hai) anos | |
chat-with-timeout-control.hs | %!s(int64=10) %!d(string=hai) anos | |
chat.hs | %!s(int64=10) %!d(string=hai) anos | |
sample.hs | %!s(int64=9) %!d(string=hai) anos | |
yesod-websockets.cabal | %!s(int64=9) %!d(string=hai) anos |
The example, chat.hs, requires stm-lifted
and conduit-combinators
which are not dependencies of yesod-websockets
. Installing the extra
packages needed for the chat.hs example can be installed with the
command:
$ cabal install stm-lifted conduit-combinators
Versions of yesod-websockets
prior to 0.2.1 may experience session
timeouts after about 30 seconds of inactivity. Refer to the patch in
the websockets
library which addresses this issue:
https://github.com/jaspervdj/websockets/commit/536849d1f3265076f61edefd5c89e84e82a99c71