summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cwfs/net.c
AgeCommit message (Collapse)Author
2022-12-12cwfs: add missing \n in error printcinap_lenrek
2019-10-04cwfs: fix listen filedescriptor leakscinap_lenrek
2013-08-08cwfs: fix out of order repliescinap_lenrek
using a shared reply queue and a pool of worker procs does result in replies to be send out of order under some conditions. the symptoms are mnt errors when interrupting requests (Rflush arriving before the original requests response). this change gives each connection its own reply queue and its own srvo process. so now a connection consists of one reply queue, a srvi process reading the connections file descriptor and a srvo process reading the reply queue and writng replies to the connections file descriptor. the srvi processes live as long as the connection is established. the srvo prcoesses live forever and are attached to the chan (which gets reused). to avoid excessive process creation, we limit the number of connections to 30. srvchan() returns nil when all 30 network channels are in use.
2012-07-13cwfs: make /srv/cwfs.cmd redable to receive command outputcinap_lenrek
before, cwfs would print everything to /dev/cons. this change will redirect the output of commands to the /srv/cwfs.cmd pipe so one can use: con -C /srv/cwfs.cmd and not have the fish for the output in /dev/kmesg. use standard error (/dev/cons) for unsolicited messages as there is not always a reader on the command file.
2011-05-01cwfs: fix network listener, relay auth errors. boot(8): split bootargs only ↵cinap_lenrek
on first ! char, prepare /net so cwfs can announce 9fs
2011-04-17cwfs: make noauth a storable config option so one can boot without factotum ↵cinap_lenrek
and nvram
2011-04-17cwfs: code cleanupcinap_lenrek
2011-04-17cwfs: remove p9sk1 code, use factotumcinap_lenrek
2011-04-12updating cwfs and moving installer in /rc/bincinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen