Yichun Zhang

Results 937 comments of Yichun Zhang

@pfremm Enabling the MySQL connection pool via the `set_keepalive` method of the `resty.mysql` object can reduce connection closes a lot.

@pfremm And it will also improve performance a lot if you are not already using it.

@yigitbasalma You should check your nginx's error log file for the error messages (if any) and make sure you did NOT turn off `lua_code_cache`. You need lua code cache to...

@rahul286 You're recommended to use the ngx_lua module to do this, which is much more flexible and also easier. Below is a tested example for your example above: ``` header_filter_by_lua...

Hello! On Sun, Oct 27, 2013 at 11:11 PM, Rahul Bansal [email protected] wrote: > 1. I am using https://launchpad.net/~brianmercer/+archive/nginx PPA. So for Lua I need to compile nginx and replace...

In nginx, "flushing" has nothing to do with "chunking". So I'm confused here. Also, you seem to be confused chunked response bodies with chunked request bodies. Anyway, I don't quite...

@DuckDagobert If there is no pending subrequests to complete before the current subrequest, then my hunch is that `echo_flush` should do what it is supposed to do. But you'll have...

I don't have the MSVC toolchain off hand so I may not work on this any time soon. But I'm very willing to accept patches :)

@aviramc Care must be take in the case when, for example, the parent is currently waiting on the thread being killed by a 3rd party. Will you add some test...