1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[package] uhttpd: add /etc/uhttpd.key and /etc/uhttpd.crt to conffile hints

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23260 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow
2010-10-05 19:34:22 +00:00
parent 2e2e95f481
commit ce67681a34
2 changed files with 5 additions and 1 deletions

View File

@@ -558,7 +558,9 @@ static void uh_mainloop(struct config *conf, fd_set serv_fds, int max_fd)
if( conf->lua_state &&
uh_path_match(conf->lua_prefix, req->url) )
{
conf->lua_request(cl, req, conf->lua_state);
/* auth ok? */
if( uh_auth_check(cl, req, pin) )
conf->lua_request(cl, req, conf->lua_state);
}
else
#endif