News for hackers. Stuff that matters.

annchin_peh

Re:Nginx C function on Friday October 19, 2018 @04:47AM (#18255167)
it's complicated
Re:Nginx C function on Monday October 15, 2018 @12:23AM (#18217368)
I preferred nginx over kore.io. The nginx can do a lot of things and been recognize by a lot of popular company
Re:Nginx C function on Monday October 15, 2018 @12:17AM (#18217353)
Re:Nginx C function on Sunday October 14, 2018 @10:58PM (#18217117)
Hmm.. I've tried luaJit module and I've given up half way when building as it seemed a lot of compatibility issue(maybe not professional enough to build), sincerely I don't know lua and I prefer go for c module over any other language mixed together since nginx is build from C

For nginx-c-function, it's easy build and I can build this as dynamic module and use it with other servers which has same version of nginx.

It might be good to use lua if the person not good in c/c++.

Re:Nginx C function on Sunday October 14, 2018 @10:50PM (#18217095)
Re:Nginx C function on Sunday October 14, 2018 @10:31PM (#18217029)
Can anyone explain to me what is the different between

ngx_http_c_func_call "my_app_simple_get_greeting";

vs

ngx_http_c_func_call "my_app_simple_get_greeting" respTo=myResponseVariable;

I didn't see any different, just create a variable.