added HIO_SVC_HTTS_FILE_LIST_DIR

updated the file handler to list directory if the option is set
This commit is contained in:
2022-12-21 14:57:51 +00:00
parent 8ea676d337
commit 85616b1658
3 changed files with 49 additions and 15 deletions

View File

@ -7,7 +7,7 @@
test_default_index()
{
local msg="default index.html"
local msg="hi-webs default index.html"
local srvaddr=127.0.0.1:54321
local tmpdir="/tmp/s-001.$$"
../bin/hio-webs "${srvaddr}" "${tmpdir}" 2>/dev/null &