Luna
|
99b1e759ba
|
Merge remote-tracking branch 'upstream/master'
|
2022-08-07 15:55:22 -03:00 |
Anton Maminov
|
f5d767fe7e
|
Fix static file handler for Crystal 1.6.0 (#644)
|
2022-08-04 12:42:18 +03:00 |
Oleksii Vasyliev
|
1a45f54c6c
|
Disable signal trap for usage kemal with other tools (#642)
|
2022-07-16 12:44:40 +03:00 |
Russell Smith
|
05d55540b9
|
Enable option for index.html to be a directories default (#640)
|
2022-06-30 18:00:51 +03:00 |
Serdar Dogruyol
|
268e501a63
|
fix Crystal 1.5.0 warnings
|
2022-06-29 13:31:28 +03:00 |
Chao Yang
|
9bd24caf7e
|
Closes response by default in HTTP::Server::Context#redirect (#641)
|
2022-06-29 13:25:40 +03:00 |
Serdar Dogruyol - Sedo セド
|
317d086b4c
|
fix content_for failing to capture the correct block input (#639)
|
2022-06-27 12:28:13 +03:00 |
Alexander Zhou
|
d53d253620
|
Eliminated several seconds of delay when loading big mp4 file
|
2022-05-31 17:14:59 +03:00 |
matthewmcgarvey
|
d6dc893052
|
Fix content rendering
|
2022-02-24 17:49:19 +03:00 |
Samantaz Fox
|
3d2d30db93
|
Ignore HTTP::Server::Response patching for crystal >= 1.3.0
Closes #627
|
2022-02-22 17:10:04 +03:00 |
Luna
|
eb1832acaf
|
Merge remote-tracking branch 'upstream/master'
|
2021-10-09 17:35:25 -03:00 |
Serdar Dogruyol
|
0ab0ecb7c6
|
Remove all code references to Kilt
|
2021-09-08 17:31:45 +03:00 |
Henrik Christensen
|
a251ede5bd
|
Deprecate dependency on Kilt (#615)
|
2021-09-07 14:36:21 +03:00 |
Serdar Dogruyol - Sedo セド
|
64733c10e0
|
Set content type to text/html for 500 exceptions (#616)
|
2021-09-01 18:26:38 +03:00 |
Anton Maminov
|
14aabb8907
|
fixed executing filters when before and after is defined at the same time (#612)
|
2021-09-01 16:25:21 +03:00 |
Luna
|
bba5bef505
|
don't prepend raw close code anymore
thanks to recent crystal changes adding support for close reasons we
don't need to encode things anymore.
|
2021-05-12 12:17:02 -03:00 |
Luna
|
00e5c98fdd
|
Merge remote-tracking branch 'upstream/master'
|
2021-05-12 11:57:15 -03:00 |
Serdar Dogruyol - Sedo セド
|
6e72ebb447
|
Add array of paths support for before/after filters (#605)
|
2021-04-05 18:24:09 +03:00 |
Aravinda Vishwanathapura
|
de5e022222
|
New option to set application name (#606)
|
2021-04-05 18:05:06 +03:00 |
Luna
|
2fb7d018d5
|
fix websocket close wrapper
|
2021-03-31 22:57:05 -03:00 |
Luna
|
6af6569b0f
|
Merge remote-tracking branch 'upstream/master'
|
2021-03-31 22:36:00 -03:00 |
Sijawusz Pur Rahnama
|
0764091e03
|
Bump ameba dependency (#602)
|
2021-03-15 08:45:35 +03:00 |
Luna
|
845ccb10ab
|
don't overwrite content-length if its already there
we shouldn't overwrite something that the client likely did it
willlingly
|
2020-09-03 22:54:48 -03:00 |
Luna
|
61af3854cb
|
route_handler: remove auto-HEAD
|
2020-09-03 22:54:48 -03:00 |
Luna
|
aa378b7a90
|
add head method to dsl
|
2020-09-03 22:54:48 -03:00 |
Luna
|
2f9f859be9
|
websocket: default to error code 500 on any websocket error
|
2020-09-03 22:54:48 -03:00 |
Luna
|
19bc38b881
|
add support for error codes on websockets
copied from 541dfc9da5/src/onyx-http/middleware/router/websocket_handler.cr (L36)
|
2020-09-03 22:54:48 -03:00 |
Anton Maminov
|
dfe7dca08f
|
fix websocket issue (#577)
|
2020-07-08 14:42:08 +03:00 |
Anton Maminov
|
2e749a2987
|
fix an issues with responding with long strings (#576)
|
2020-07-08 14:41:16 +03:00 |
Brian J. Cardiff
|
a8c0f09b85
|
Upgrade to Crystal 0.35.0 (#570)
* Update to ameba ~> 0.12.0
* Use Compress::Deflate and Compress::Gzip
* Drop unused require
* Fix spec due to defer request upgrade
|
2020-06-10 21:11:43 +03:00 |
Todd Sundsted
|
70684a2cf0
|
Pick up transitional type aliases. (#566)
|
2020-05-16 18:22:13 +03:00 |
Brian J. Cardiff
|
c3c43145b8
|
Comply exhaustive case check (#560)
|
2020-04-04 21:26:05 +03:00 |
Anton Maminov
|
b7506f6fab
|
allow to set optional response body on redirects (#561)
|
2020-04-04 21:25:35 +03:00 |
maggie
|
a4bdecdc7d
|
Flush io buffer after each write to log (#554)
|
2019-10-11 12:14:26 +03:00 |
Sijawusz Pur Rahnama
|
c893172fbf
|
Cleanup ameba warnings (#551)
|
2019-08-30 14:32:23 +03:00 |
Sijawusz Pur Rahnama
|
740cb188a9
|
Check for KEMAL_ENV variable already in Config#initialize (#552)
|
2019-08-30 14:20:38 +03:00 |
Anton Maminov
|
e99129ab50
|
fix process request when a response already closed (#550)
|
2019-08-05 18:34:26 +03:00 |
Omar Roth
|
18ddc3b4e6
|
Fix static file handler for files > 2^31 bytes (#546)
|
2019-08-03 19:37:23 +03:00 |
Brian J. Cardiff
|
17bf1c7709
|
Upgrade to Crystal v0.30.0 (#548)
|
2019-08-03 19:35:40 +03:00 |
Johannes Müller
|
6e2714404d
|
Add missing return types to overrides of abstract methods (#544)
|
2019-07-26 11:48:14 +03:00 |
Anton Maminov
|
e3544a86bf
|
Do not early return from HTTP::Server::Response::Output.close. Revert what Ameba broke
|
2019-06-18 18:03:32 +03:00 |
Sijawusz Pur Rahnama
|
06665e81bc
|
Use Ameba on Travis CI (#520)
|
2019-06-13 14:31:45 +03:00 |
Brian J. Cardiff
|
79cd8bd646
|
Fix Time.now deprecation warning
|
2019-06-04 16:59:05 -03:00 |
Alexander Reelsen
|
14ed2aa8bf
|
improvement: use Time.measure
|
2019-03-20 08:39:36 +01:00 |
Alexander Reelsen
|
c6ac5232db
|
Properly measure request time using Time.monotonic
|
2019-03-19 12:57:28 +01:00 |
Sijawusz Pur Rahnama
|
1fa87761a4
|
Run crystal tool format --check on Travis CI (#518)
|
2019-02-05 11:23:20 +03:00 |
Sijawusz Pur Rahnama
|
b7bf9d771f
|
Use Crystal built-in MIME registry (#516)
|
2019-02-05 10:26:45 +03:00 |
sdogruyol
|
b0a17ac9b4
|
Do not try to call ExceptionHandler#call_exception_with_status_code on a closed response. Fixes #514
|
2019-01-16 23:33:33 +03:00 |
Serdar Dogruyol
|
0fa869cf96
|
allow to set filename for send_file (#512)
|
2019-01-16 21:59:57 +03:00 |
Anton Maminov
|
c3dd24482e
|
set status_code before response (#513)
|
2018-12-25 19:06:07 +03:00 |