openresty / stream-lua-nginx-module

Embed the power of Lua into NGINX TCP/UDP servers
BSD 2-Clause "Simplified" License
728 stars 198 forks source link

About the timeout period #332

Closed coderwxl closed 10 months ago

coderwxl commented 11 months ago

Is there a way to set the timeout between the successful connection and the first time we receive the client request data?

tzssangglass commented 11 months ago

Is there a way to set the timeout between the successful connection and the first time we receive the client request data?

lua_socket_read_timeout ?

zhuizhuhaomeng commented 10 months ago

Is there a way to set the timeout between the successful connection and the first time we receive the client request data? For the client request data, you should set the preread_timeout value.