Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: Cleanup
Commits on Aug 10, 2012
  1. Commiting some older changes. The function from Handler/Common.hs doe…

    authored
    …s not seem to have any effect when client interrupts the connection, so in that aspect, nothing has changed (sadly).
Commits on Jul 22, 2012
Commits on Jul 20, 2012
  1. Refactored the code (removed most of the code duplication, plus the t…

    authored
    …ranports are more conduit based).
Commits on Jul 15, 2012
  1. Added HTMLFIle transport.

    authored
Commits on Jul 11, 2012
  1. Bumped to use 0.5.* conduit.

    authored
Commits on Jul 6, 2012
  1. Added Control Messages os that the Application can now close the sess…

    authored
    …ion. Updated the WebSockets code. The ability of closing the session from withing the Application causes some problems with the WebSocket implementation, at the moment, if the session is closed by the CloseSession message, we end up in an endless loop, the reason is that the foreverReceive never ends. We could have the forverSend and foreverReceive communicate with each other using the sessionStatus MVar, but I'm worried since it cause problem if we receive much more than we send (since the threads would have to wait for each other) and it could even cause dead locks (not to mention I would have to get rid of the direct recursion which I intended anyway).
Commits on Jul 5, 2012
Commits on Jul 3, 2012
  1. Some cosmetic things

    authored
Commits on Jul 1, 2012
  1. Added untracked files.

    authored
  2. Completed the restructuralization. Now the main handler (function soc…

    authored
    …k) is of the type H.Request -> Server H.Response. The server implementation thus has to implement function for converting between the request and response types and a way to run ResourceT IO in its monad. Implementation for Wai is included.
  3. Revamped the locations of all files. Introduced Request and Response …

    authored
    …types independent of Wai.
  4. Some cleanup, receive and send are for now not used, I will see if I …

    authored
    …need them after I integrate WebSockets.
  5. Some fine tuning of the XHR Polling (all tests of the official test s…

    authored
    …uite regarding XHR Polling now pass). Made some settings application-wise instead of server-wise.
Commits on Jun 29, 2012
Commits on Jun 28, 2012
  1. XHR Polling is now basically working, what remains to be done are pro…

    authored
    …per response headers, decode incoming JSON, more importantly add timeouts and heartbeats, but most importatnly -- make the code prettier (adding a Server monad containing environment, settings, Request wrapper containing (Maybe) Application, Session, SessionID, etc. might help a bit, but there are some disgustingly long lines in Transports.XHR)
Commits on Jun 27, 2012
  1. Some more work on XHR Polling... the problem is that the code in Tran…

    authored
    …sport/XHR.hs is very, very ugly and I can not find a way to make it prettier
Commits on Jun 26, 2012
Commits on Jun 23, 2012
  1. Added handleSubroutes, handleTransport, they are mostly stubs atm. Se…

    authored
    …parated response and header helpers into their own module.
Commits on Jun 21, 2012
  1. Added Internal.Types (I had to do this, since otherwise there would b…

    authored
    …e a circular dependency)
  2. Updated README

    authored
  3. Init

    authored
Commits on May 29, 2012
  1. Init

    authored
Commits on May 3, 2012
  1. Added /info handler

    authored
Commits on May 2, 2012
  1. Added simple test server

    authored
  2. Cleaned up old files.

    authored
  3. Initial Commit

    authored
Commits on Dec 16, 2011
  1. @yihuang

    remote warnings

    yihuang authored
  2. @yihuang
Commits on Dec 12, 2011
  1. @yihuang

    hlint

    yihuang authored
Commits on Dec 11, 2011
  1. @yihuang

    hlint

    yihuang authored
  2. @yihuang
Commits on Dec 10, 2011
  1. @yihuang

    remove useless file

    yihuang authored
  2. @yihuang

    fix compile warnings.

    yihuang authored
Something went wrong with that request. Please try again.