Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes #3847. | Dominik Picheta | 2016-06-02 | 1 | -0/+5 |
| | |||||
* | Let asynchttpserver pass control of socket to cb for upgrades. | Dominik Picheta | 2016-06-02 | 1 | -2/+4 |
| | |||||
* | The asynchttpserver module now uses a HttpHeaders object. | Dominik Picheta | 2016-06-02 | 1 | -76/+20 |
| | |||||
* | attempt to fix serious asynchttpserver regression | Andreas Rumpf | 2016-06-01 | 1 | -1/+1 |
| | |||||
* | fixes #4221 | Andreas Rumpf | 2016-05-30 | 1 | -13/+13 |
| | |||||
* | Add SO_REUSEPORT support | Federico Ceratto | 2015-12-16 | 1 | -1/+5 |
| | |||||
* | udpated the compiler and tester to use getOrDefault | Araq | 2015-10-13 | 1 | -6/+9 |
| | |||||
* | Added missing 412 - 417 http codes which are standard according to rfc2616 ↵ | Rostyslav Dzinko | 2015-09-17 | 1 | -0/+6 |
| | | | | which is HTTP/1.1 standard. | ||||
* | Reintroduce FutureVar[T] from commit 72b4912c84b16644657. | Dominik Picheta | 2015-09-11 | 1 | -11/+14 |
| | |||||
* | Fixes dom96/jester#45. | Dominik Picheta | 2015-09-06 | 1 | -0/+1 |
| | |||||
* | Modify proc parseHeader | tulayang | 2015-08-09 | 1 | -2/+5 |
| | |||||
* | Fix incorrect 400 reply in asynchttpserver | Dominik Picheta | 2015-06-03 | 1 | -0/+1 |
| | | | Without the ``continue`` the user's callback will be called but the client would have already been replied to. | ||||
* | Revert "Introduce FutureVar[T] to make recvLineInto safer." | def | 2015-04-26 | 1 | -14/+11 |
| | | | | This reverts commit 72b4912c84b16644657f94e54105739cba4b2457. | ||||
* | Introduce FutureVar[T] to make recvLineInto safer. | Dominik Picheta | 2015-04-24 | 1 | -11/+14 |
| | | | | | | | | | | | 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. | ||||
* | Some small cleanup. | Dominik Picheta | 2015-04-23 | 1 | -6/+5 |
| | |||||
* | Merge branch 'clean-speedup-2' of https://github.com/def-/Nim into ↵ | Dominik Picheta | 2015-04-23 | 1 | -46/+49 |
|\ | | | | | | | def--clean-speedup-2 | ||||
| * | Rename clearStringTable to clear | def | 2015-03-17 | 1 | -1/+1 |
| | | |||||
| * | Make respond a template again | def | 2015-03-17 | 1 | -11/+11 |
| | | |||||
| * | Make recvLineInto a proc instead of template | def | 2015-03-17 | 1 | -2/+2 |
| | | |||||
| * | Rename resetStringTable to clearStringTable | def | 2015-03-17 | 1 | -1/+1 |
| | | |||||
| * | Remove unused newRequest proc | def | 2015-03-17 | 1 | -3/+0 |
| | | |||||
| * | Document asynchttpserver's respond template | def | 2015-03-17 | 1 | -1/+1 |
| | | |||||
| * | Speed up asynchttpserver significantly using all the previous changes | def | 2015-03-17 | 1 | -46/+52 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Export socket field of AsyncHttpServer and addHeaders proc for templates - Make respond a template instead of proc because of how often it's called. This means no more "await" when invoking it. - Optimize respond template with special case for empty headers and Content-Length entry - newRequest doesn't allocate a hostname and body anymore because they're copied in later - Major changes to processClient to prevent allocations and copies | ||||
* | | Don't run non-test code when defined(testing) | Oleh Prypin | 2015-04-21 | 1 | -1/+1 |
|/ | |||||
* | Happy new year! | Guillaume Gelin | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Add imports to asynchttpserver example | def | 2014-12-29 | 1 | -0/+2 |
| | |||||
* | Fixes asynchttpsever. | Dominik Picheta | 2014-12-26 | 1 | -1/+1 |
| | |||||
* | Fixes deprecation warnings in asynchttpserver. | Dominik Picheta | 2014-12-26 | 1 | -21/+21 |
| | |||||
* | Added more HTTP status codes to asynchttpserver. | Dominik Picheta | 2014-12-26 | 1 | -2/+29 |
| | |||||
* | Ensure Request.body is initialised. | Dominik Picheta | 2014-11-17 | 1 | -0/+2 |
| | |||||
* | Implement SO_REUSEADDR for asyncnet and asynchttpserver. | Dominik Picheta | 2014-11-07 | 1 | -1/+5 |
| | |||||
* | Add bool to determine if socket has been closed. | Dominik Picheta | 2014-09-16 | 1 | -1/+1 |
| | |||||
* | Lots of documentation improvements for asyncdispatch. | Dominik Picheta | 2014-09-12 | 1 | -1/+15 |
| | | | | Ref #1487. | ||||
* | More empty stmt fixes. | Dominik Picheta | 2014-09-09 | 1 | -0/+1 |
| | |||||
* | Fixes asynchttpserver. | Dominik Picheta | 2014-09-01 | 1 | -6/+6 |
| | |||||
* | Merge branch 'devel' into bigbreak | Dominik Picheta | 2014-08-30 | 1 | -2/+3 |
|\ | | | | | | | | | Conflicts: lib/pure/ftpclient.nim | ||||
| * | Fixed gcsafe in asynchttpserver module. | Dominik Picheta | 2014-08-21 | 1 | -2/+3 |
| | | |||||
* | | big rename | Araq | 2014-08-27 | 1 | -5/+8 |
|/ | |||||
* | asynchttpserver compiles again; made some tests green | Araq | 2014-08-13 | 1 | -11/+13 |
| | |||||
* | Asynchttpserver now uses new uri module for URL parsing. | Dominik Picheta | 2014-08-10 | 1 | -3/+3 |
| | |||||
* | Fixes incorrect async exception handling. Adds sleepAsync. | Dominik Picheta | 2014-08-09 | 1 | -0/+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. | ||||
* | Fix broken async tests. | Dominik Picheta | 2014-07-13 | 1 | -1/+1 |
| | |||||
* | Void futures are no longer discardable. | Dominik Picheta | 2014-07-13 | 1 | -9/+8 |
| | |||||
* | Many async optimisations. | Dominik Picheta | 2014-07-12 | 1 | -87/+93 |
| | | | | | | | | | * 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 Picheta | 2014-06-28 | 1 | -7/+32 |
| | |||||
* | Allow async lambdas. Other socket modifications. | Dominik Picheta | 2014-06-19 | 1 | -1/+6 |
| | |||||
* | Get rid unsafe pointer type in GetQueuedCompletionStatus. | Dominik Picheta | 2014-04-30 | 1 | -1/+3 |
| | |||||
* | Implemented buffering for asynchronous sockets. | Dominik Picheta | 2014-04-13 | 1 | -1/+1 |
| | |||||
* | fixes for asynchttpserver | Andreas Rumpf | 2014-04-13 | 1 | -5/+6 |
| | |||||
* | Updates docs and news. | Dominik Picheta | 2014-04-06 | 1 | -0/+2 |
| |