Yichun Zhang
Yichun Zhang
@tokers Yeah, we used to use `ngx.req.get_headers()` to fetch the Content-Type header, but we did not remove the table type check after switching to `ngx.var`. This patch looks good to...
@vartiait Thanks for the contribution! I wonder, however, whether we can reuse the existing `ssl_certificiate_by_lua*` for this. @ghedo @lziest Will you please have a look at this? Thanks!
@vartiait Seems like I cannot rebase your branch to the latest master? See ``` agentzh@fedora64 ~/git/lua-nginx-module (PR/1167)$ git rebase master First, rewinding head to replay your work on top of...
@vartiait Will you explain your use cases a bit? It seems that the use cases for this feature is very narrow.
@vartiait That sounds interesting. Thanks for the info!
@vartiait I still think we should use `ssl_certificate_by_lua*` for that but we need a separate context constant so that we can disable those Lua APIs which may yield (like cosockets...
@vartiait I'll have a look as soon as I can manage. Thanks!
@thefosk I'd go for the simpler and more efficient form below: ``` lua obj:lock(key, timeout) ``` where the `timeout` argument is optional (default to the value set in the constructor...
@thefosk And patches welcome :)
@pfremm The aborted connection metric shown on the mysqld side is usually a false alarm since lua-resty-mysql avoids sending a mysql close packet on connection close (for performance reasons).