Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/matsumotory/ngx_mruby
ngx_mruby - A Fast and Memory-Efficient Web Server Extension Mechanism Using Scripting Language mruby for nginx
https://github.com/matsumotory/ngx_mruby
3187a51366f17de0ef0c002aa0487d3a298aa4e2 authored over 11 years ago by cubicdaiya <[email protected]>
add getter and setter for r->headers_(in|out)
0944aecdacdc96ffc606d0f1d4255508b6681efc authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>fix bug(Nginx.rputs empty string causes response-stalling)
9bbf9712231a469841a4538a9d6227eee904e078 authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>c5d5c82dae00c780fb76b40be72cb05b25a7d389 authored over 11 years ago by cubicdaiya <[email protected]>
example is following
Nginx.rputs("abc")
Nginx.rputs("") or Nginx.rputs(nil)
return Nginx::HTTP_OK
add getters/setters and define macro for request members
1c596dc3e10ecaedf21f58b68ccfafee992f7d49 authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>request members is following
* request_line
* unparsed_uri
* method
* protocol
* args
prototype declaration is not found
9c321a22861372d526252819fea3a66e7203fef0 authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>remove unneeded comment
ab72e2a0d424150cd8cb765da78998f77cae62dd authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>994b5fceeea346514c21d35168b304ec54c41a4b authored over 11 years ago by 崔峥 <[email protected]>
861c67d1c4a61819a3fa1bdd4ad588143a63a6b9 authored over 11 years ago by cubicdaiya <[email protected]>
The prototype declaration of ngx_mrb_set_request_uri is not found.
3c27a9d27915f0e114835eec186f10517ccc7d33 authored over 11 years ago by cubicdaiya <[email protected]>1d17eba3451367013f8afd6569c57ff2e71b2392 authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>
7cda10a9beb7fd38eacf3b088b1ccd8a41bab530 authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>
1b0dca05a222c55df357b02fb8ec5283c4ff8b3b authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>
output a error log when mruby script does not exist for mruby_set
aa7cd4bae3f17b2483080ee6b92e432b69fdc906 authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>
a missing mruby script for mruby_set causes a failure of starting nginx.
In this case ngx_mruby ...
8fb92772cb168ba2fc909de8de88951f9e8b07d1 authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>
6e46a4daecd2fc497c519282e0bf3e15eae28e6a authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>
add directive 'mruby_set' and 'mruby_set_inline'
a223ce85f2e3e67883985ce31588b88d976c8033 authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>These directives assign a result of mruby script to a variable.
mruby_set_inline $res1 "ARGV[0]...
8aed47e9b0ce1b9c8830f90a11dff6f5b2dc924b authored over 11 years ago by cubicdaiya <[email protected]>105bf3c885e6d507b0cc362c4b0e0dd641c43c12 authored over 11 years ago by 崔峥 <[email protected]>
c30dc2c126b978584fbd78ac509ec47004a71ed7 authored over 11 years ago by 崔峥 <[email protected]>
4edaaf24fcfaa5ad71bf7b71e0ccee668b62e21c authored over 11 years ago by 崔峥 <[email protected]>
fix bug #41. nginx sample conf is error.
2e1118ace064793fad97e5329f4e61ebb17e42d8 authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>3b1c799f31fce4c8d2c82ab9925509918d3cc098 authored over 11 years ago by 崔峥 <[email protected]>
DONE is already defined in mruby
3b42edd878b429a81a93da72175a20fac80544d1 authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>* mruby/src/init.c
cfbdae47ede5b9964002feb01bca948c5988cf18 authored over 11 years ago by cubicdaiya <[email protected]>extend context scope for handlers
b1ad0398f859a7b1ce0a968543acad4b52cdaafc authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>remove return(refs #35 #36)
9e9c854e3fc23be9e1159b02f70e5c492bc6ef61 authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>49ecb3c0c808fc51943a6b29ecc2bd9785c648cb authored over 11 years ago by cubicdaiya <[email protected]>
hello.mrb is used the example for mruby_content_handler.
But in this case, ngx_mruby does not re...
3c76ebd08d6fc03ccea13ec4450cd01677cf36df authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>
7b5bbab82f86138cfac958d774f0cbfdc53a3d47 authored over 11 years ago by MATSUMOTO Ryosuke <[email protected]>
unify indent
50bf5f3c309052f418734cb6c9078ec7507cc02c authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>fix memory corruption error
0ba4e973cefdc8debd9d88ed22747a6164ba80f1 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>eed82df6ca64a3a84fd746942ff5a70c9934dcb8 authored almost 12 years ago by cubicdaiya <[email protected]>
If ngx_mrb_irep_clean is called when mruby_cache is on,
memory corruption error occurs.
a83289208f245385e0a047f54d4e337c115a1196 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
8c2147e7e05e9c70a8b5b7740b57c5be06535588 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
8fbbf8761e9057b22a74037bf1ff008ede855868 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
c776f4dfa3f1fd7dfbe8eba27d9d9cfbe0921f67 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
divide ngx_http_mruby_module.(c|h) into ngx_http_mruby_(handler|hook).(c...
fb98de5e21cb06657ba2b47ca7d74519ed03cffb authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>'mruby_cache' is not enabled in (post_read|server_rewrite)_handler
2e38f9edb1879306ee56b270425afe3f4d3c3c65 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>replace mrb_str_new2 mrb_str_new_cstr
aa13d82a60f215f4c5e8275195fec1fc5b5f72f2 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>bf6276c78d0582fc6881d108afec33b1fe93d782 authored almost 12 years ago by cubicdaiya <[email protected]>
3d27736390a9166bc4801fd12bf87ec3dd64224e authored almost 12 years ago by cubicdaiya <[email protected]>
e8c746130e16a6c4c004d5169c1fbf79e9c0271d authored almost 12 years ago by cubicdaiya <[email protected]>
Even if mruby_cache is set on in location context,
it is not enabled in (post_read|server_rewrit...
e8cd0fd41aca1af22dc1bca624a0c8543d73af66 authored almost 12 years ago by cubicdaiya <[email protected]>
add directive 'mruby_eval_every_time'
8e422d1a5fdce51f0aa96b8160704f25eb02190f authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
* rename 'mruby_eval_every_time' to 'mruby_cache'(behavior is reverse)
* By default, 'mruby_ca...
if 'eval_every_time' is not description in nginx.conf,
clcf->eval_every_time is not set default ...
forgot to return status code
13e6398ebf08a366a749457cff036f2ec9e6bd2f authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>If 'eval_every_time' is on, mruby_xxx_handlers eval mrb files every time.
fc953985757e03881c63dc04b40e6fd34fef440b authored almost 12 years ago by cubicdaiya <[email protected]>b83f50ae09a47492acf904f0d30f62dc5ed290cd authored almost 12 years ago by cubicdaiya <[email protected]>
fix invalid memory access problem
6e72cfbe6a2e0d710dbde9d72513a8788cbabfc4 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>remove unused function and struct
d77b4667a56dfe679da7dde724e4639f6a93c8de authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>nginx use unaddressable bytes when mruby's value is passed to nginx.
e1bf3b8051b9bbfbfe4a39f8d6225edd7886a7e7 authored almost 12 years ago by cubicdaiya <[email protected]>d1175bf313666271720ca3fd5dfec6f09b58a532 authored almost 12 years ago by cubicdaiya <[email protected]>
6f3044401f45ddc64c92514aa104cadd1643e1a4 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
20082c847f745964c37ff930a8936e620dccf2b7 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
686a56e9da6379cb1db15f62397a1108ebb21c99 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
bd4bf389e2167c43bab880e84ead4772b81ea8a1 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
52ad4f69504d5794e6bb784e62061ca45de500b7 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
fix typo
66174f4054929caf837dec9596639b4eec0f7915 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>02884b6bb6c998e9aa0ddec509343dfe00157217 authored almost 12 years ago by cubicdaiya <[email protected]>
comparison between signed and unsigned value
3e441dc0e8e9cf48a20ecd6ad5c395156b17b52e authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
If Nginx.errlogger recives 1st args as negative number,
ngx_log_error works incorrectly.
example:
Nginx.rputs "ngx_mruby_version: #{Nginx.ngx_mruby_version}<br>"
Nginx.r...
example:
Nginx.errlogger Nginx::NGX_LOG_ERR, "ngx_mruby error!"
b3a6d65c2a446960ec0f60f3687f3e6d377dcbe8 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
add inline handlers
688c95bdb753b6b2766811dbd5d46b37095ad7bb authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>adjust space
112fe36db9aa00981b41cf6b4706b43a3f94cf29 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>b1570dad3a20b83483f265f8f9580a2359f51d56 authored almost 12 years ago by cubicdaiya <[email protected]>
61f54a84575beb3b2bf29c7e3f29a53483f4cb4b authored almost 12 years ago by cubicdaiya <[email protected]>
* mruby_server_rewrite_handler_code
* mruby_rewrite_handler_code
* mruby_log_handler_code
e0b35c6e7d23daf0c74c87aca10dacee9012dc22 authored almost 12 years ago by cubicdaiya <[email protected]>
make multi-rputs stabled
0a01ab8fb68c19dd4b97b2dcd54f38323b2db70c authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>8be21aa186d471d0f36c901de1ef3f40688df780 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
* use nginx module context instead of mruby context
* mruby context is single on each handler...
call ngx_strlen once
70e2d97404cc5f3f016971949c0d5bb5661ba3e6 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>452ec12c115f46792aa24cb05694fb99e3cd4a2a authored almost 12 years ago by cubicdaiya <[email protected]>
add ignore patterns
8e5648d0fed379de3920fb82336258aad54075af authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>fix invalid parameter type
a40a8e021e8515b832f6b86917d079a518f20789 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>f395f028eb8e8c8eeec7396ce80e9e824afb8864 authored almost 12 years ago by cubicdaiya <[email protected]>
* str is u_char, but strlen receives const char *(ngx_strlen casts const char * internally)
* mr...
use '.' instead of 'source'
39ba3b67278cd3ee859824a0cbece3551de8bff6 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
source does not work when sh is dash.
dash is default shell in recent linux distribution.(For ex...
8ac9df9ca2d28971290001a41e44685fc0bc7a12 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
7e82ca34ad0775a43f98e6b660ab1b9686a02cfe authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
1ed83dc96d580a47e0e63c8b306034797f58df04 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
ae0c9511587e265953944205610c28f317d980fd authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
64bc665087fbdc5965409c3c777b5090a56d4826 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
81ddb361f1d425aa45be1211fa99ea4d27749d8d authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
9c9c9072b18bf2380294e7886070ed30d28d9fbd authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>
performance improvement patch
e0c5379e67ef6226a6fa49d97b69e9a309fcf732 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>07d888e49bc3a22b47f0d1cc83d61f048a85d891 authored almost 12 years ago by cubicdaiya <[email protected]>
d5b08a297d4e9f93945d214f0f621bec01d3da2b authored almost 12 years ago by cubicdaiya <[email protected]>
be41af56f812c5cd78f51efa72af3cdc64185ba9 authored almost 12 years ago by MATSUMOTO Ryosuke <[email protected]>