summaryrefslogtreecommitdiff
path: root/sys/man/4
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-11-12 12:03:51 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-11-12 12:03:51 +0100
commitc79dc3263e6242182421a99c384e70124e7e544a (patch)
tree7e0291142ac50eb098a54420eb1f9f0fa13483e9 /sys/man/4
parent5540ca6b68dd964376e6f436de82ef81cecb2979 (diff)
httpfile: use webfs, fix 9p flushes
we can improve performance alot by using webfs which does http keep alives for us, so connection setup overhead is eleminated. fix 9p flushes and double frees.
Diffstat (limited to 'sys/man/4')
-rw-r--r--sys/man/4/httpfile14
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/man/4/httpfile b/sys/man/4/httpfile
index b7cd36551..0947814ac 100644
--- a/sys/man/4/httpfile
+++ b/sys/man/4/httpfile
@@ -22,10 +22,6 @@ httpfile \- serve a single web file
.B -s
.I srvname
]
-[
-.B -x
-.I net
-]
.I url
.SH DESCRIPTION
.I Httpfile
@@ -63,21 +59,15 @@ to post the 9P service as
and disables the default mount.
.PP
The
-.B -x
-option specifies an alternate network directory
-.RI ( e.g.,
-.BR /net.alt ).
-.PP
-The
.B -c
option sets the number of file blocks kept cached in memory (default 32).
.SH EXAMPLE
Mount an ISO image on a web server:
.IP
.EX
-ip/httpfile http://www.9grid.de/plan9/plan9.iso
+ip/httpfile http://www.r-36.net/9front/9front.iso
9660srv
-mount /srv/9660 /n/iso plan9.iso
+mount /srv/9660 /n/iso 9front.iso
.EE
.SH SOURCE
.B /sys/src/cmd/ip/httpfile.c