summary refs log tree commit diff stats
path: root/lib/pure/asyncnet.nim
Commit message (Collapse)AuthorAgeFilesLines
* big renameAraq2014-08-271-6/+8
|
* Fix asyncnet example. Rearrange net code.Dominik Picheta2014-08-101-2/+2
|
* Added SafeDisconn for accept.Dominik Picheta2014-08-101-4/+5
|
* Fixes incorrect async exception handling. Adds sleepAsync.Dominik Picheta2014-08-091-2/+2
| | | | | | | | | | | | | | 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.
* Implement safe flags for socket operations.Dominik Picheta2014-07-131-17/+20
|
* Fix broken async tests.Dominik Picheta2014-07-131-1/+1
|
* Many async optimisations.Dominik Picheta2014-07-121-22/+52
| | | | | | | | | * 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.
* Rename asyncdispatch.close to asyncdispatch.closeSocket.Dominik Picheta2014-05-231-1/+1
|
* Fixes buffered recv in asyncnet.Dominik Picheta2014-04-301-11/+17
|
* Implemented buffering for asynchronous sockets.Dominik Picheta2014-04-131-2/+36
|
* fixes for asynchttpserverAndreas Rumpf2014-04-131-0/+1
|
* Updates docs and news.Dominik Picheta2014-04-061-0/+38
|
* Async httpclient should now work. Changed recv behaviour.Dominik Picheta2014-04-031-2/+3
| | | | | | | 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.
* Implemented async for httpclient.Dominik Picheta2014-03-261-1/+1
|
* Move asyncdispatch tests to asyncnet.Dominik Picheta2014-03-261-34/+74
|
* Moved the global dispatcher to asyncdispatch.Dominik Picheta2014-03-231-11/+19
|
* Many renames. Created high level asyncnet module.Dominik Picheta2014-03-221-0/+147