Commit Graph

16 Commits

Author SHA1 Message Date
Araq
e6d17e6273 made large parts of the stdlib gcsafe 2014-04-20 20:01:24 +02:00
Dominik Picheta
3612aca5fe Implemented buffering for asynchronous sockets. 2014-04-13 14:18:47 +01:00
Andreas Rumpf
fe387888bd fixes for asynchttpserver 2014-04-13 00:39:15 +02:00
Dominik Picheta
369d8c57ae Disable async macro code output. Added some WSA error codes to winlean. 2014-04-07 20:46:47 +01:00
Dominik Picheta
d2593e1d62 setLen now used on asyncdispatch.recv's return value on Linux.
This fixes issues with the async httpclient.
2014-04-06 22:06:25 +01:00
Dominik Picheta
b2fd562983 Updates docs and news. 2014-04-06 20:46:31 +01:00
Dominik Picheta
b23dce03a1 Get rid of incorrect assert in asyncdispatch. 2014-04-06 19:26:21 +01:00
Araq
a4ccd7b865 doc generation for asyncdispatch works 2014-04-06 19:36:29 +02:00
Dominik Picheta
d0478a5637 Asyncdispatch fixes.
``return`` is now transformed into a ``return nil`` in the async iterator
to work around the no-yield in ``try .. except ..`` closure iterator
limitation.
2014-04-05 20:27:42 +01:00
Dominik Picheta
4399895d2e Async httpclient should now work. Changed recv behaviour.
asyncdispatch.recv no longer guarantees that it will read ALL the data
requested. The underlying WinAPI function doesn't guarantee this and it
already wasn't guaranteed anyway since the socket could disconnect
mid-transmission.
2014-04-03 20:02:42 +01:00
Dominik Picheta
e4e87f1cb2 Refactored createCb in asyncdispatch. 2014-04-02 21:28:45 +01:00
Dominik Picheta
227c54c786 Replaced idents with genSym in asyncdispatch. 2014-03-29 21:28:01 +00:00
Dominik Picheta
783087fd57 Implemented async for httpclient. 2014-03-26 16:43:32 +00:00
Dominik Picheta
4ed1ac0078 Move asyncdispatch tests to asyncnet. 2014-03-26 10:31:16 +00:00
Dominik Picheta
d310b01db1 Moved the global dispatcher to asyncdispatch. 2014-03-23 18:24:11 +00:00
Dominik Picheta
192e11e7b7 Many renames. Created high level asyncnet module. 2014-03-22 22:33:53 +00:00