]> git.lizzy.rs Git - plan9front.git/blob - sys/src/cmd/ip/httpd/anonymous.c
tls: fix various tlsClient()/tlsServer() related bugs
[plan9front.git] / sys / src / cmd / ip / httpd / anonymous.c
1 #include <u.h>
2 #include <libc.h>
3 #include "httpd.h"
4 #include "httpsrv.h"
5
6 void
7 anonymous(HConnect *c)
8 {
9         if(bind(webroot, "/", MREPL) < 0){
10                 hfail(c, HInternal);
11                 exits(nil);
12         }
13         chdir("/");
14 }