uhttpd: add /etc/uhttpd.key and /etc/uhttpd.crt to conffile hints
SVN-Revision: 23260
This commit is contained in:
parent
073ade4368
commit
88db961cf0
2 changed files with 5 additions and 1 deletions
|
@ -68,6 +68,8 @@ endef
|
|||
|
||||
define Package/uhttpd/conffiles
|
||||
/etc/config/uhttpd
|
||||
/etc/uhttpd.crt
|
||||
/etc/uhttpd.key
|
||||
endef
|
||||
|
||||
define Package/uhttpd/install
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue