Yichun Zhang

Results 937 comments of Yichun Zhang

@ckiickA Have you looked at the existing `set_secure_random_*` directives? See https://github.com/openresty/set-misc-nginx-module#set_secure_random_alphanum for example.

@ehsan310 We can make that configurable in this module. But we should still keep SHA1 for backward compatibility. Will you create a pull request for it please? Thanks!

@ckiickA Hmm, maybe you should use the ngx_lua module for such special requirements instead. Otherwise this simple ngx_set_misc module would keep growing forever, which is a bad thing IMHO :)

@dvigueras Frankly I don't know how to do this in the packaging scripts. @shell909090 @happyaron Will you please give me some hints here? Thanks!

@rkialashaki Thanks for the info! We'll try this in the next security release.

@bjne Should we reuse the existing `getoption()` method instead? There are just too many `getsockopt()` possibilities. Also, I think we should add a feature test for the `SO_PEERCRED` thing directly...

@alonbg Seems like 099-c-api.t causes the nginx server process to crash. Better use valgrind to locate the memory issues on your side.

@mike07026 Understood and it's been on the TODO list already. And @brg-liuwei is already working on a patch for it. See #33.

@alonbg This is still a TODO and will get addressed in the near future.

@alonbg Well, shared memory zones are not coupled with Lua VM states at all. So sharing can be achieved by a higher-level shared nginx C module which can be called...