Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | documentation style tweaks (#10790) | Miran | 2019-03-08 | 1 | -4/+4 |
| | | | | | | | * exports are the least important field in the docs: they are put in the last place (at the bottom) * indent text after proc/type declaration for an easier navigation (noticeable difference between declarations and examples) * quickfix invalid style in `asynchttpserver` | ||||
* | Fix regression w/ keep-alive connections to AsyncHttpServer | LemonBoy | 2019-02-04 | 1 | -1/+4 |
| | | | | | | We should keep listening if the connection is marked as keep-alive. Fixes #10536 | ||||
* | Clean up some code using a tuple unpack expression | LemonBoy | 2019-02-04 | 1 | -4/+2 |
| | |||||
* | Fixes long-standing asynchttpserver regression. (#10102) | Dominik Picheta | 2018-12-27 | 1 | -21/+27 |
| | |||||
* | Change parseEnum to something faster for method parsing in asynchttpserver ↵ | hlaaf | 2018-06-08 | 1 | -2/+15 |
| | | | | | | | | | | (#7682) * Add faster method parsing to asynchttpserver * Make it readable * Align case statement | ||||
* | remove deprecated stuff from the stdlib; introduce better deprecation warnings | Araq | 2018-05-05 | 1 | -3/+0 |
| | |||||
* | Don't catch-all in asynchttpserver. It hides bugs. | Dominik Picheta | 2017-11-26 | 1 | -4/+1 |
| | |||||
* | further hardening of asynchttpserver | Andreas Rumpf | 2017-11-19 | 1 | -6/+5 |
| | |||||
* | Fixes #6386. (#6545) | Dominik Picheta | 2017-11-19 | 1 | -124/+144 |
| | |||||
* | Handle failed uri parsing in asynchttpserver (#6374) | superfunc | 2017-09-15 | 1 | -1/+6 |
| | |||||
* | Add more suitable error code and reason phrase for required Content-Length ↵ | Artem Labazin | 2017-07-26 | 1 | -2/+2 |
| | | | | request. | ||||
* | Update asynchttpserver.nim | wt | 2017-06-06 | 1 | -1/+1 |
| | |||||
* | Fix bad tail for status response | wt | 2017-06-05 | 1 | -1/+1 |
| | |||||
* | fixes #3847 (#5609) | Andreas Rumpf | 2017-03-27 | 1 | -7/+27 |
| | |||||
* | Merge pull request #5466 from yglukhov/asynchttpserver-bad-content-length | Dominik Picheta | 2017-03-01 | 1 | -1/+3 |
|\ | | | | | Dont assert on malformed requests | ||||
| * | Dont assert on malformed requests | Yuriy Glukhov | 2017-03-01 | 1 | -1/+3 |
| | | |||||
* | | Revert "Listen on ipv6" (#5461) | Yuriy Glukhov | 2017-03-01 | 1 | -2/+2 |
|/ | |||||
* | Listen on ipv6 | Yuriy Glukhov | 2017-02-25 | 1 | -2/+2 |
| | |||||
* | asynchttpserver: import json in the example code | Luke Diamand | 2017-01-10 | 1 | -0/+1 |
| | | | | | | The example code won't compile unless json is imported, because of the use of the %* operator. This can trip-up inexperienced Nim developers. | ||||
* | Implement suggestions from @dom96 | Dmitry Polienko | 2016-11-02 | 1 | -2/+2 |
| | |||||
* | Skip empty lines before status line | Dmitry Polienko | 2016-10-31 | 1 | -7/+14 |
| | | | | As recommended here: https://tools.ietf.org/html/rfc7230#section-3.5 | ||||
* | asynchttpserver: cleanup example code | Araq | 2016-10-24 | 1 | -1/+1 |
| | |||||
* | Add respond proc example | honewatson | 2016-10-03 | 1 | -0/+11 |
| | | | Add an example for the respond proc demonstration JSON response. | ||||
* | Fixes #3847. | Dominik Picheta | 2016-09-25 | 1 | -0/+6 |
| | |||||
* | asynchttpserver's Response object's req method uses HttpMethod now. | Dominik Picheta | 2016-09-25 | 1 | -11/+13 |
| | | | | Fixes #4423. | ||||
* | 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 |
| |