summary refs log tree commit diff stats
path: root/lib/pure/asyncdispatch.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug with asyncdispatch.async and discard statements.Philip Witte2015-05-201-1/+1
|
* Fixed 'milliseconds' spelling in code and docspdw2015-05-151-1/+1
|
* Revert "Introduce FutureVar[T] to make recvLineInto safer."def2015-04-261-31/+0
| | | | This reverts commit 72b4912c84b16644657f94e54105739cba4b2457.
* Fix asyncdispatch on Windows.Dominik Picheta2015-04-241-0/+111
|
* Introduce FutureVar[T] to make recvLineInto safer.Dominik Picheta2015-04-241-0/+31
| | | | | | | | | | | FutureVar[T] is a new distinct Future type which is designed to be used for situations where the highest performance is needed. It reduces the number of Future allocations needed. It acts as a replacement for 'var' params in async procs. This commit modifies @def-'s PR in order to make it safer. The recvLineInto procedure has been modified to take a ``FutureVar[string]`` param instead of a ``ptr string`` param.
* Fixed SIGPIPE on MacOSyglukhov2015-04-081-1/+4
|
* Fix infinite recursion when await is in except body.Dominik Picheta2015-03-301-3/+3
|
* Rename PNimrodNode to NimNodedef2015-03-171-14/+14
|
* Get rid of 'result shadowed' warning for async procsdef2015-03-111-1/+12
|
* fixes #1940; code breakage! stricter template evaluationAraq2015-03-071-31/+31
|
* Fix typosFederico Ceratto2015-02-151-1/+1
|
* Async await try statement fixes.Dominik Picheta2015-02-091-10/+48
|
* Happy new year!Guillaume Gelin2015-01-061-1/+1
|
* Close async socket on error (instead of looping on epoll_wait with 100% CPU)def2015-01-041-0/+4
|
* More deprecation warning fixes (asyncdispatch, uri).Dominik Picheta2014-12-261-15/+15
|
* fixes #1689Araq2014-12-101-9/+9
|
* Fix some deprecation warnings caused by renamesdef2014-11-131-22/+22
|
* s/sock/fd/. Fixes #1487.Dominik Picheta2014-09-271-44/+44
|
* Adds socket creation for arbitrary domain, type and protocol.Dominik Picheta2014-09-181-0/+11
|
* Lots of documentation improvements for asyncdispatch.Dominik Picheta2014-09-121-19/+121
| | | | Ref #1487.
* Fixes for new comment handling.Dominik Picheta2014-09-091-0/+1
|
* Implements getCurrentException for try in async procs. Ref #1487.Dominik Picheta2014-09-091-5/+12
|
* Multiple exception idents in except for async. Ref #1487.Dominik Picheta2014-09-081-24/+39
|
* Fixes httpclient SSL issue. Implements unbuffered SSL recv. Ref #1487.Dominik Picheta2014-09-061-0/+4
|
* Implemented asyncfile for Posix.Dominik Picheta2014-09-051-3/+4
|
* Added Windows asyncfile implementation.Dominik Picheta2014-09-051-9/+8
|
* Case sensitivity fixes for Posix.Dominik Picheta2014-08-301-20/+20
|
* Case fixes for network modules.Dominik Picheta2014-08-301-32/+32
|
* Merge branch 'devel' into bigbreakDominik Picheta2014-08-301-7/+17
|\ | | | | | | | | Conflicts: lib/pure/ftpclient.nim
| * Async macro fixes. Added waitFor.Dominik Picheta2014-08-291-7/+17
| |
* | big renameAraq2014-08-281-79/+79
| |
* | big renameAraq2014-08-271-44/+48
|/
* Implements `or` and `and` for futures. Ref #1487.Dominik Picheta2014-08-191-0/+21
|
* Fixes #1158.Dominik Picheta2014-08-141-3/+2
|
* Added SafeDisconn for accept.Dominik Picheta2014-08-101-13/+39
|
* More future debug info. Added new error code to SafeDisconn list.Dominik Picheta2014-08-091-4/+21
|
* Fixes async on Linux.Dominik Picheta2014-08-091-1/+1
|
* Fixes incorrect async exception handling. Adds sleepAsync.Dominik Picheta2014-08-091-48/+99
| | | | | | | | | | | | | | The tasyncexceptions test has been added which tests for this incorrect exception handling behaviour. The problem was that the exception was raised inside a callback which was called from a previously finished async procedure. This caused a "Future already finished" error. The fix was to simply reraise the exception if the retFutureSym is already finished. sleepAsync was added to help with the reproduction of this test. It should also be useful for users however. Finally some debug information was added to futures to help with future bugs.
* 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
|