git-svn-id: file:///raid/svn-personal/tewi/trunk@41 8739d7e6-ffea-ec47-b151-bdff447c6205
This commit is contained in:
Nishi 2024-09-18 08:18:41 +00:00
parent bf87d827d3
commit 32962dcdd3
2 changed files with 6 additions and 1 deletions

View File

@ -17,4 +17,7 @@ int mod_config(struct tw_tool* tools, char** argv, int argc) {
return TW_CONFIG_NOTME;
}
int mod_request(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res) { return TW_MODULE_PASS; }
int mod_request(struct tw_tool* tools, struct tw_http_request* req, struct tw_http_response* res) {
res->status = 403;
return TW_MODULE_STOP;
}

2
README
View File

@ -1,3 +1,5 @@
Simple HTTP daemon
Put under public domain, except Server/strptime.{c,h}.
http://nishi.boats/tewi