fix https://github.com/openresty/openresty/issues/336 Signed-off-by: Yichun Zhang (agentzh) <[email protected]>