summary refs log tree commit diff stats
path: root/lib/pure/asyncdispatch.nim
Commit message (Collapse)AuthorAgeFilesLines
* Added debug code for futures.Dominik Picheta2014-07-141-3/+19
|
* Linux async fixes.Dominik Picheta2014-07-131-2/+2
|
* Implement safe flags for socket operations.Dominik Picheta2014-07-131-14/+29
|
* Void futures are no longer discardable.Dominik Picheta2014-07-131-2/+9
|
* Async fixes for Linux.Dominik Picheta2014-07-131-6/+7
|
* Many async optimisations.Dominik Picheta2014-07-121-8/+22
| | | | | | | | | * Selectors implementation will now attempt to immediately execute an IO operation instead of waiting for a ready notification. * Removed recursion in asynchttpserver. * Improved buffered implementation of recvLine in asyncnet. * Optimised ``respond`` in asynchttpserver removing a possible "Delayed ACK" situation.
* AsyncHttpServer now supports POST.Dominik Picheta2014-06-281-1/+2
|
* Futures with an error but no callback no longer raise.Dominik Picheta2014-06-281-6/+11
| | | | | | | This was done as a safety measure against futures which may be accidentally discarded when they have an exception leading the exception being silently forgotten. Unfortunately we will need to come up with some other solution.
* Allow async lambdas. Other socket modifications.Dominik Picheta2014-06-191-9/+18
|
* Clean createVar template.Dominik Picheta2014-05-251-7/+8
|
* Modified future behaviour when completing with an exception.Dominik Picheta2014-05-241-0/+5
| | | | | Futures will now raise the exception if they did not have a callback associated with them.
* Add asyncdispatch.unregister.Dominik Picheta2014-05-241-0/+7
|
* Rename asyncdispatch.close to asyncdispatch.closeSocket.Dominik Picheta2014-05-231-2/+2
|
* Fix #1170.EXetoC2014-05-041-1/+2
|
* Fix #1171.EXetoC2014-05-031-13/+14
|
* Await is now supported in try statements.Dominik Picheta2014-05-011-26/+79
|
* Get rid unsafe pointer type in GetQueuedCompletionStatus.Dominik Picheta2014-04-301-2/+3
|
* async might work now reliablyAraq2014-04-301-25/+28
|
* made large parts of the stdlib gcsafeAraq2014-04-201-9/+11
|
* Implemented buffering for asynchronous sockets.Dominik Picheta2014-04-131-1/+1
|
* fixes for asynchttpserverAndreas Rumpf2014-04-131-3/+8
|
* Disable async macro code output. Added some WSA error codes to winlean.Dominik Picheta2014-04-071-1/+1
|
* setLen now used on asyncdispatch.recv's return value on Linux.Dominik Picheta2014-04-061-4/+2
| | | | This fixes issues with the async httpclient.
* Updates docs and news.Dominik Picheta2014-04-061-3/+9
|
* Get rid of incorrect assert in asyncdispatch.Dominik Picheta2014-04-061-1/+0
|
* doc generation for asyncdispatch worksAraq2014-04-061-11/+11
|
* Asyncdispatch fixes.Dominik Picheta2014-04-051-6/+19
| | | | | | ``return`` is now transformed into a ``return nil`` in the async iterator to work around the no-yield in ``try .. except ..`` closure iterator limitation.
* Async httpclient should now work. Changed recv behaviour.Dominik Picheta2014-04-031-21/+26
| | | | | | | 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.
* Refactored createCb in asyncdispatch.Dominik Picheta2014-04-021-21/+9
|
* Replaced idents with genSym in asyncdispatch.Dominik Picheta2014-03-291-7/+4
|
* Implemented async for httpclient.Dominik Picheta2014-03-261-4/+4
|
* Move asyncdispatch tests to asyncnet.Dominik Picheta2014-03-261-77/+0
|
* Moved the global dispatcher to asyncdispatch.Dominik Picheta2014-03-231-106/+129
|
* Many renames. Created high level asyncnet module.Dominik Picheta2014-03-221-0/+1013