Commit graph

115 commits

Author SHA1 Message Date
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Dominik Picheta
2dff5ef718 Fixed gcsafe in asynchttpserver module. 2014-08-21 20:36:27 +01:00
Araq
62e454f41b asynchttpserver compiles again; made some tests green 2014-08-13 01:16:18 +02:00
Dominik Picheta
eb6ac2a901 Asynchttpserver now uses new uri module for URL parsing. 2014-08-10 10:54:59 +01:00
Dominik Picheta
4f5f98f0b1 Fixes incorrect async exception handling. Adds sleepAsync.
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.
2014-08-09 17:13:22 +01:00
Dominik Picheta
cdcdab49b7 Fix broken async tests. 2014-07-13 11:02:34 +01:00
Dominik Picheta
374706b1c3 Void futures are no longer discardable. 2014-07-13 10:19:48 +01:00
Dominik Picheta
cf5c8a204e Many async optimisations.
* 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.
2014-07-12 22:51:06 +01:00
Dominik Picheta
f830aed869 AsyncHttpServer now supports POST. 2014-06-28 13:08:11 +01:00
Dominik Picheta
7ebbc09578 Allow async lambdas. Other socket modifications. 2014-06-19 00:05:27 +01:00
Dominik Picheta
6c4870d812 Get rid unsafe pointer type in GetQueuedCompletionStatus. 2014-04-30 17:38:44 +01: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
b2fd562983 Updates docs and news. 2014-04-06 20:46:31 +01:00
Dominik Picheta
cd70bba332 Added asynchttpserver module. 2014-04-05 20:30:32 +01:00