summaryrefslogtreecommitdiff
path: root/src/Network/KRPC/Manager.hs
AgeCommit message (Collapse)Author
2014-01-06Add logging to query functionSam Truzjan
2013-12-25Prettify documentation a bitSam Truzjan
2013-12-25Update documentationSam Truzjan
2013-12-25Kill listener thread at exitSam Truzjan
2013-12-24Update testsSam Truzjan
2013-12-22More permissive default query timeoutSam Truzjan
2013-12-22Run each handler in separate thread.Sam Truzjan
This is needed because handler can call query too. The minimal example: * listener received KQuery(1); * listener dispatch corresponding handler; * handler send KQuery(2); * handler blocked waiting for response; * listener is unable to receive KQuery(2) because it is blocked on handler. So we should run each handler in separated thread otherwise dead lock can happen.
2013-12-22Fix warningsSam Truzjan
2013-12-22Throw exception if query takes too longSam Truzjan
2013-12-22Expose Handler type synonymSam Truzjan
2013-12-21Separate KRPC monad from Handler monadSam Truzjan
2013-12-20Handle transactions properlySam Truzjan