summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.c
diff options
context:
space:
mode:
authorAlexander Borisov <alexander.borisov@nginx.com>2018-03-21 16:50:07 +0300
committerAlexander Borisov <alexander.borisov@nginx.com>2018-03-21 16:50:07 +0300
commit37051b6c15cce7d6ab01c50e1086f8ef0b34e93d (patch)
treed6f7fee987e795613c4088c7fa12709888d0a00e /src/nxt_application.c
parent778a90c319e47f688b749e43df33f3eb9dce3e72 (diff)
downloadunit-37051b6c15cce7d6ab01c50e1086f8ef0b34e93d.tar.gz
unit-37051b6c15cce7d6ab01c50e1086f8ef0b34e93d.tar.bz2
Added Ruby support.
Diffstat (limited to '')
-rw-r--r--src/nxt_application.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_application.c b/src/nxt_application.c
index cad4ac8d..8ded36da 100644
--- a/src/nxt_application.c
+++ b/src/nxt_application.c
@@ -875,6 +875,9 @@ nxt_app_parse_type(u_char *p, size_t length)
} else if (nxt_str_eq(&str, "perl", 4)) {
return NXT_APP_PERL;
+
+ } else if (nxt_str_eq(&str, "ruby", 4)) {
+ return NXT_APP_RUBY;
}
return NXT_APP_UNKNOWN;