We use lua-resty-websocket to create websocket server: https://github.com/openresty/lua-resty-websocket Solution: don’t use send_text, should use send_binary
We use lua-resty-websocket to create websocket server: https://github.com/openresty/lua-resty-websocket And we see in log file: Solution: chunk data then send each chunk: We use some value…
Read more: https://tools.ietf.org/id/draft-bryan-ftp-range-03.html We use extension library luasocket Edit file: https://github.com/lunarmodules/luasocket/blob/master/src/ftp.lua Local location: /usr/share/lua/5.1/socket/ftp.lua Add function: Edit function tget , add line if gett.rang then…
Case 1: client_body_in_file_only off; Case 2: client_body_in_file_only clean; client_body_in_file_only on; We recommend using client_body_in_file_only clean; and read binary file when PUT content of file to…