Commit Graph

  • 261d15e327 app.run and app.create_server argument fixup. L. Kärkkäinen 2020-03-31 14:51:30 +0300
  • d04fbfc9bf I don't see how cwd could be different here. L. Kärkkäinen 2020-03-31 14:50:54 +0300
  • c1bab69f38 This works OK on Windows too. L. Kärkkäinen 2020-03-31 04:32:18 -0700
  • 1bf7e2f1b0 Allow autoreloader with multiple workers and run it earlier. L. Kärkkäinen 2020-03-31 13:03:19 +0300
  • 8ebac9bca0 Simplify autoreloader, don't need multiprocessing.Process. Now works on OSX py38. L. Kärkkäinen 2020-03-31 13:03:00 +0300
  • 59ccf711fa Fix watchdog reload worker repeatedly if there are multiple changed files Hùng X. Lê 2019-04-18 12:03:33 +0700
  • f0092c3ce7 Updated with current master branch Mike Yusko 2020-03-29 16:19:41 +0300
  • feef956479 Add missing Sanic(name) arguments in docs. Merge async/non-async class view examples. L. Kärkkäinen 2020-03-29 15:10:18 +0300
  • 5b4232c0fd Remove raw_args from docs (deprecated feature removed in Sanic 20.3). L. Kärkkäinen 2020-03-29 14:45:41 +0300
  • b6a4bd33cf Merge branch 'master' into streaming L. Kärkkäinen 2020-03-29 14:15:27 +0300
  • aa6ea5b5a0
    Updated deployment docs (#1821) L. Kärkkäinen 2020-03-28 20:43:42 +0200
  • 48800e657f
    Deprecation and test cleanup (#1818) L. Kärkkäinen 2020-03-28 20:43:14 +0200
  • 3dd1e01548 Wording and formatting. L. Kärkkäinen 2020-03-28 20:25:03 +0200
  • 1c1fde078e Updated deployment docs L. Kärkkäinen 2020-03-28 20:13:29 +0200
  • dbe79ea773 Do not set content-type and content-length headers in exceptions. L. Kärkkäinen 2020-03-28 15:37:48 +0200
  • 61bb67e28f Fixed linter checks Mike Yusko 2020-03-27 17:08:43 +0200
  • 7327b8ce5f Mention unix socket mode in deployment docs. L. Kärkkäinen 2020-03-27 17:02:32 +0200
  • 39b92631d8 Hide some imports inside functions to avoid Windows failure. L. Kärkkäinen 2020-03-27 15:26:10 +0200
  • 0422b10f44 Add comprehensive tests for unix socket mode. L. Kärkkäinen 2020-03-27 14:50:13 +0200
  • d610260140 More robust creating and unlinking of sockets. Show proper and not temporary name in conn_info. L. Kärkkäinen 2020-03-27 14:49:37 +0200
  • 03f11a064f Replaced str.format() method in core functionality Mike Yusko 2020-03-27 14:43:52 +0200
  • c77610108b Improved unix socket binding. L. Kärkkäinen 2020-03-26 20:56:16 +0200
  • 7c3d9fbfcb Merge branch 'master' into bind_unix_and_ipv6 L. Kärkkäinen 2020-03-26 20:52:09 +0200
  • 232177d930 An odd hack to avoid an httpx limitation that causes test failures. L. Kärkkäinen 2020-03-26 10:54:31 -0700
  • fcae70bbe5 Improved handling of errors during request. L. Kärkkäinen 2020-03-21 06:53:01 -0700
  • c84163f8ee app.handle_exception already sends the response. L. Kärkkäinen 2020-03-20 11:35:41 -0700
  • 39d10bf0a8 Revert "256 KiB send and receive buffers." L. Kärkkäinen 2020-03-26 18:09:22 +0200
  • abc1e3edb2 256 KiB send and receive buffers. L. Kärkkäinen 2020-03-26 16:55:00 +0200
  • e4a9b43bed Constant receive buffer size. L. Kärkkäinen 2020-03-26 16:41:54 +0200
  • 01480c437b New streaming test and minor fixes. L. Kärkkäinen 2020-03-26 16:23:40 +0200
  • 651d74c639 Run the coroutine returned by AsyncioServer.close. L. Kärkkäinen 2020-03-26 12:10:07 +0200
  • dae5cd8e0d Add pytest-asyncio to tox deps. L. Kärkkäinen 2020-03-26 11:16:07 +0200
  • 25ff93fc17 Avoid warning on a test that tests deprecated response.text(int). L. Kärkkäinen 2020-03-26 11:15:40 +0200
  • 799c962192 Avoid asyncio.Task.all_tasks deprecation warning. L. Kärkkäinen 2020-03-26 11:14:31 +0200
  • 183e26520e Remove apparently unnecessary py38 compat. L. Kärkkäinen 2020-03-26 11:13:42 +0200
  • 53424a04a2 Revert unnecessary deprecation warning. L. Kärkkäinen 2020-03-26 10:22:24 +0200
  • 234eb044af Remove unused import. L. Kärkkäinen 2020-03-26 10:13:24 +0200
  • 0854d631b3 response.text() takes str only: avoid deprecation warning in all but one test. L. Kärkkäinen 2020-03-26 10:12:35 +0200
  • 21738bcd25 Remove deprecated request.raw_args. L. Kärkkäinen 2020-03-26 09:43:25 +0200
  • e56cd9f77e Rewrite asyncio.coroutines with async/await. L. Kärkkäinen 2020-03-26 09:37:28 +0200
  • e06bac3e36 No need for py35 compat anymore. L. Kärkkäinen 2020-03-26 09:18:16 +0200
  • bafa6589c1 Remove remove_route, deprecated in 19.6. L. Kärkkäinen 2020-03-26 09:16:28 +0200
  • 84959878da Merge branch 'master' into less-server-args L. Kärkkäinen 2020-03-26 09:00:50 +0200
  • 1aac4f546b Merge branch 'master' into streaming L. Kärkkäinen 2020-03-26 08:59:33 +0200
  • 120f0262f7
    Fix Ctrl+C and tests on Windows. (#1808) L. Kärkkäinen 2020-03-26 06:42:46 +0200
  • f928ad22be These must be tuples + hack mypy warnings away. L. Kärkkäinen 2020-03-25 15:32:41 +0200
  • 6bedec97ae Linter and typing L. Kärkkäinen 2020-03-25 15:05:51 +0200
  • 5832764aab Merge branch 'master' into streaming L. Kärkkäinen 2020-03-25 14:58:45 +0200
  • 42af6e1af6 Add a check for request body functions and a test for NotImplementedError. L. Kärkkäinen 2020-03-25 14:35:09 +0200
  • b3a38b79cf Add a constant for OS checking. L. Kärkkäinen 2020-03-25 11:12:22 +0200
  • ae065fa318
    Same thing as oneliner koug44 2020-03-24 13:59:05 -0400
  • 4db075ffc1
    Streaming migration for 20.3 release (#1800) L. Kärkkäinen 2020-03-24 19:11:09 +0200
  • 1bdc9ac756 floor floats and check for negative values James Stidard 2020-03-23 14:07:53 +0000
  • 3911f099ac dont allow floats James Stidard 2020-03-23 13:26:38 +0000
  • b4f47e21c9 Linter L. Kärkkäinen 2020-03-23 14:11:49 +0200
  • 1c408609d5 py36 compat L. Kärkkäinen 2020-03-23 14:06:25 +0200
  • 1257bd3762 App may be restarted. L. Kärkkäinen 2020-03-23 13:02:23 +0200
  • 2b8a8dc4bd Don't rely on loop internals but add a stopping flag to app. L. Kärkkäinen 2020-03-23 12:56:24 +0200
  • 8514d1f131 py36 compat L. Kärkkäinen 2020-03-23 12:32:27 +0200
  • d3c8dd4fbf py36 compat L. Kärkkäinen 2020-03-23 11:51:23 +0200
  • fd2ba55e09 py36 compat L. Kärkkäinen 2020-03-22 20:32:04 +0200
  • f58319f69f Rewrite test for ctrlc_windows_workaround L. Kärkkäinen 2020-03-22 20:23:27 +0200
  • 41dff4096d Increase test coverage L. Kärkkäinen 2020-03-22 18:54:48 +0200
  • f1c85eb1f8 Add clarifying comment L. Kärkkäinen 2020-03-22 18:07:35 +0200
  • ed17a3cd6f Linter and typing L. Kärkkäinen 2020-03-22 17:57:40 +0200
  • 66ff770174 Fix deprecation warnings about missing name on Sanic() in tests. L. Kärkkäinen 2020-03-22 17:43:50 +0200
  • 73a2416938 Another test to random port instead of 8000. L. Kärkkäinen 2020-03-22 17:24:34 +0200
  • 6f55780e1f Use random test server port on most tests. Should avoid port/addr reuse issues. L. Kärkkäinen 2020-03-22 17:14:03 +0200
  • 46484eb8c6 Revert "app.run argument handling: added server kwargs (alike create_server), added warning on extra kwargs, made auto_reload explicit argument. Another go at Windows tests" L. Kärkkäinen 2020-03-22 12:27:20 +0200
  • dc5d682448 app.run argument handling: added server kwargs (alike create_server), added warning on extra kwargs, made auto_reload explicit argument. Another go at Windows tests L. Kärkkäinen 2020-03-21 20:42:35 +0200
  • 036c1d7019 Windows doesn't properly support SO_REUSEADDR, so that's disabled in Python, and thus rebinding fails. For successful testing, reuse port instead. L. Kärkkäinen 2020-03-21 20:20:03 +0200
  • 5f8fc0c850 Disable the other signal tests on Windows as well. L. Kärkkäinen 2020-03-21 20:01:43 +0200
  • 1418003fef Merge branch 'py38-windows-test' into ctrlc-windows L. Kärkkäinen 2020-03-21 18:03:31 +0200
  • fda9556557 Use port numbers more likely to be free than 8000. L. Kärkkäinen 2020-03-21 18:02:53 +0200
  • ae03fce628 The Windows test doesn't work on Windows :( L. Kärkkäinen 2020-03-21 17:38:46 +0200
  • 77a0e043ed Merge branch 'py38-windows-test' into ctrlc-windows L. Kärkkäinen 2020-03-21 17:33:08 +0200
  • 6f536a1434 Reduce amount of data in test_request_stream to avoid failures on Windows. L. Kärkkäinen 2020-03-21 07:00:27 -0700
  • 23561658e5 Merge branch 'typing-fix' into ctrlc-windows L. Kärkkäinen 2020-03-20 17:42:50 +0200
  • 1580ca637f Improved comments. L. Kärkkäinen 2020-03-20 17:42:28 +0200
  • da26adfc73 Initialise StreamingHTTPResponse.protocol = None L. Kärkkäinen 2020-03-20 17:26:47 +0200
  • 23e54fc546 Fix tracking of HTTP stage when writing to transport fails. L. Kärkkäinen 2020-03-20 17:20:20 +0200
  • 5f5404b95a
    Update getting_started.rst koug44 2020-03-20 10:09:20 -0400
  • a21b04b366 update test with ValueError check James Stidard 2020-03-18 18:27:18 +0000
  • d4ec7cd86d more appropriate ValueError James Stidard 2020-03-18 18:23:11 +0000
  • 7d314b6c07 update cookie tests James Stidard 2020-03-18 18:01:51 +0000
  • 68fb963539 Add test for coverage, avoid crash on missing _stopping. L. Kärkkäinen 2020-03-18 17:19:27 +0200
  • 6ea818395e Disable testing of a function N/A on Windows. L. Kärkkäinen 2020-03-18 17:01:18 +0200
  • e046823ce6 dont cast James Stidard 2020-03-18 14:34:05 +0000
  • 33388e6ae6 Fix Ctrl+C on Windows. L. Kärkkäinen 2020-03-18 07:24:24 -0700
  • b5f1d72b6c hard error for bad max-age James Stidard 2020-03-18 14:22:57 +0000
  • 5ceaa1ec54 Linter L. Kärkkäinen 2020-03-16 12:49:51 +0200
  • a8c8d6c316 Remove server config args that can be read directly from app. L. Kärkkäinen 2020-03-16 12:44:42 +0200
  • 60b4efad67
    Update config docs to match DEFAULT_CONFIG (#1803) Kevin Guillaumond 2020-03-14 08:57:39 -0700
  • 6da17a4eed
    Merge branch '19.12LTS' into master Prasanna Walimbe 2020-03-12 14:29:45 +0530
  • 9ae509c29c https://github.com/huge-success/sanic/issues/1610 Prasanna Walimbe 2020-03-12 14:12:04 +0530
  • 6791657215 Update config instead Kevin Guillaumond 2020-03-10 09:18:19 -0700
  • 9098493da9 Linter L. Kärkkäinen 2020-03-10 17:02:26 +0200
  • 17d100400f Middleware and error handling refactoring. L. Kärkkäinen 2020-03-10 16:45:26 +0200
  • d2d6008eec Need to check if transport is closing to avoid getting stuck in sending loops after peer has disconnected. L. Kärkkäinen 2020-03-10 15:23:22 +0200
  • e7cac832e8 Set REAL_IP_HEADER's default value to "X-Real-IP" Kevin Guillaumond 2020-03-09 09:31:44 -0700