Commit Graph

83 Commits

Author SHA1 Message Date
Russell Smith 05d55540b9
Enable option for index.html to be a directories default (#640) 2022-06-30 18:00:51 +03:00
Aravinda Vishwanathapura de5e022222
New option to set application name (#606) 2021-04-05 18:05:06 +03:00
Sijawusz Pur Rahnama 740cb188a9 Check for KEMAL_ENV variable already in Config#initialize (#552) 2019-08-30 14:20:38 +03:00
Julien Reichardt 21ab64511a Add allocation optimizations (#487) 2018-11-01 14:29:05 +03:00
Lewis E. Bogan 09bb1fcd40 add a VERSION constant (#471) 2018-07-16 05:55:53 +03:00
Hirofumi Shibata f916bad095 reset values to test with default value (#453) 2018-06-18 15:07:54 +03:00
Serdar Dogruyol a5870e7d24
Crystal 0.25.0 (#452) 2018-06-16 18:03:00 +03:00
Blacksmoke16 f3f7e319ae Ability to optionally disable powered-by header (#449) 2018-05-09 10:19:59 +03:00
Serdar Dogruyol 6fbad555d0 Remove unused stuff 2018-03-17 17:58:19 +03:00
Serdar Dogruyol 5d737ee8f3 Rename common_log_handler and common_exception_handler 2017-10-06 20:34:18 +03:00
Serdar Dogruyol ac56973663 Format 2017-10-06 14:59:53 +03:00
Sijawusz Pur Rahnama 210e2c0801 Prettify docs (#410) 2017-10-06 14:53:53 +03:00
Serdar Dogruyol 677dc62832 Remove dead code for WebSocketHandler 2017-10-05 19:29:35 +03:00
Serdar Dogruyol ad692357d4 Allow config.server to be lazily initiliazed. Fixes #396 2017-10-04 19:42:41 +03:00
Serdar Dogruyol fe9d193418 Seperate websocket and websocket handler. Fixes #395 2017-09-10 14:41:07 +03:00
Serdar Dogruyol 3050b75f0a Tidy up config properties 2017-09-06 23:58:55 +03:00
Serdar Dogruyol 00217d9545 Add more types to method signatures 2017-08-24 23:32:43 +03:00
Sdogruyol 607aaeffe3 Allow headers in built-in static file server 2017-08-22 15:29:51 +03:00
sdogruyol 1d056b203b Dynamically insert handlers. Fixes #376 2017-07-11 11:22:35 +03:00
sdogruyol ce024ba748 Use replace instead of each for replacing handlers 2017-05-13 09:16:59 -07:00
sdogruyol 62946fd987 Modularize handlers 2017-05-12 16:18:50 -07:00
Sdogruyol f511d21aa1 Dont call setup in config#add_filter_handler. Fixes #338 2017-03-25 20:37:11 +03:00
Michael Barrett c08bf71d88 Allow for disabling the shutdown message (#292)
Allow for disabling the shutdown message
2017-01-18 15:55:33 +03:00
Sdogruyol ac8ec0a07b Remove redundant session stuff 2016-12-10 19:34:46 +03:00
Sdogruyol 9c1c832c9a Add Kemal.stop. Fixes #269 2016-12-08 13:50:54 +03:00
sdogruyol 012ac8f6b7 Yield error in custom error handlers 2016-11-16 20:27:01 +03:00
sdogruyol 7dd834ad28 Fix broken websocket routing :/ 2016-11-02 11:19:48 +03:00
Serdar Dogruyol 922d6de4d1 Middleware ordering (#236)
Improve and correct request middleware

 Request -> Middleware -> Filter -> Route
2016-10-28 11:35:34 +03:00
Sdogruyol 8c600cb26e Make session name and expire time configurable 2016-09-30 14:03:29 +03:00
Serdar Dogruyol d41ad90826 Merge pull request #204 from crisward/master
gzip for static files
2016-09-18 13:03:54 +03:00
Cris Ward a8cc4f4177 gzip static files options dir listing and etags
format
2016-09-18 01:46:16 +01:00
maiha b2e81e6bc1 Disable ssl when `-D without_openssl` is given 2016-09-16 23:34:23 +09:00
sdogruyol 64d3271fb2 Make HTTP::Server uninitialized instead of HTTP::Server? 2016-09-05 10:38:00 +03:00
Sdogruyol 1705852f25 Inject STDOUT by default in CommonLogHandler 2016-08-01 23:21:19 +03:00
Sdogruyol 98efbfe341 Improve logging and specs 2016-07-28 21:12:55 +03:00
Sdogruyol 09d9e708f1 Introduce Kemal::InitHandler to initialize HTTP::Server::Context with defaults 2016-07-17 18:11:26 +03:00
Sdogruyol d11b702ee4 More docs 2016-07-17 14:26:22 +03:00
Sdogruyol 3ea6a01afc Remove file handler from CommonLogHandler. Log only to STDOUT. Fixes #159 2016-07-05 22:14:00 +03:00
Sdogruyol 20a174b66e Add extra_options from CLI 2016-07-04 20:23:16 +03:00
Omar Roth ac4a5afc05 Fix ssl and specs for 0.18 2016-06-14 16:18:00 -05:00
sdogruyol c9b206d1d6 Remove unnecessary type annotations 2016-05-22 23:34:37 +03:00
Ben Jolitz b73802df0e resolve merge conflict by trusting sdogruyol/master RE property listings 2016-05-07 17:22:08 -07:00
Ben Jolitz 108e732274 rename on_options -> extra_options 2016-05-07 17:18:42 -07:00
sdogruyol 76b5add665 Don't write to context in case of an exception 2016-05-05 23:22:58 +03:00
sdogruyol e6d9311895 Start implementing error block 2016-05-05 22:35:36 +03:00
sdogruyol 35239dfaa0 Improve config semantics 2016-05-03 21:11:35 +03:00
Sdogruyol a8ecbde222 Merge branch 'instance-vars' 2016-04-17 00:04:53 +03:00
sdogruyol 2b9152ff79 Update instance types 2016-04-13 11:00:02 +03:00
sdogruyol 40ab34c63d All specs passing 2016-04-12 20:00:37 +03:00
sdogruyol 05e44e68c6 Updating to instance types 2016-04-12 14:41:09 +03:00