Oleh Prypin
32109a7867
Don't run non-test code when defined(testing)
2015-04-21 14:37:29 +03:00
Guillaume Gelin
3119fe087d
Happy new year!
2015-01-06 15:26:33 +01:00
def
2d20feb8f1
Add imports to asynchttpserver example
2014-12-29 22:27:31 +01:00
Dominik Picheta
32db6798a3
Fixes asynchttpsever.
2014-12-26 19:47:25 +00:00
Dominik Picheta
9471f585c2
Fixes deprecation warnings in asynchttpserver.
2014-12-26 16:53:19 +00:00
Dominik Picheta
e4a5b1af6c
Added more HTTP status codes to asynchttpserver.
2014-12-26 16:48:53 +00:00
Dominik Picheta
8f89c30fdd
Ensure Request.body is initialised.
2014-11-17 19:53:44 +00:00
Dominik Picheta
13e3c0d5bb
Implement SO_REUSEADDR for asyncnet and asynchttpserver.
2014-11-07 14:48:11 +00:00
Dominik Picheta
efca06c71c
Add bool to determine if socket has been closed.
2014-09-16 16:37:53 +01:00
Dominik Picheta
6f155af802
Lots of documentation improvements for asyncdispatch.
...
Ref #1487 .
2014-09-12 22:54:02 +01:00
Dominik Picheta
00b6a14489
More empty stmt fixes.
2014-09-09 15:58:44 +01:00
Dominik Picheta
6e321f799a
Fixes asynchttpserver.
2014-09-01 21:21:13 +01:00
Dominik Picheta
361657dea4
Merge branch 'devel' into bigbreak
...
Conflicts:
lib/pure/ftpclient.nim
2014-08-30 11:58:54 +01:00
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