aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9pserve.c
AgeCommit message (Collapse)AuthorFilesLines
2008-06-119pserve: add -c optionRuss Cox1-2/+11
2007-10-129pserve: add -n flag to reject auth by clientsRuss Cox1-1/+9
2007-08-289pserve: delete from correct hash slot (fix infinite loop)Russ Cox1-1/+1
2007-08-229pserve: fix a new race involving assert(c->nmsg == 0).Russ Cox1-3/+3
Just like outputthread can have processed the message but not yet called msgput, the same is true of the connoutthread, so we cannot check c->nmsg until after the connoutthread has shut down gracefully.
2007-08-229pserve: fix races causing assert(c->nmsg == 0) to fail.Russ Cox1-26/+36
1. Could happen that connoutthread sends c->outq a nil just before the regular input handler sends c->outq a real message. When the connoutthread gets the nil it will free c->outq, leaving the real message unprocessed. 2. Could happen that the outputthread writes a message body to the remote 9P server and then a response comes in and then the connection gets torn down, all before the outputthread manages to call msgput(m). Thanks to David Swasey for identifying this scenario. Also change yield() loop into explicit communication. Also remove dead code involving hungup queues.
2007-06-18ignore window resize; should be elsewherersc1-0/+2
2006-05-27use same name that srv.c doesrsc1-3/+1
2006-05-04paranoia about extensionrsc1-1/+1
2006-05-04paranoia about extensionrsc1-1/+6
2006-04-21darwinrsc1-0/+2
2006-04-01Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc1-7/+7
2006-03-03change Tcreate message in 9P2000.ursc1-1/+7
2006-02-03fix offsetsrsc1-3/+19
2005-11-219P2000.u fixes (Lucho Ionkov)rsc1-4/+15
2005-11-12x11, used, etc.rsc1-11/+18
2005-09-13Signedness.rsc1-3/+3
2005-09-13Signedness bugs for Mac OS X.rsc1-2/+3
2005-09-13Add 9P2000.u extensions.rsc1-15/+135
2005-07-27use correct type for NOFID (sunos)rsc1-1/+1
2005-03-21add srv -a optionrsc1-19/+95
2005-03-18add verbose9pserve environment variable; fix afid refrsc1-1/+6
2005-03-18ignore tstprsc1-1/+3
2005-02-11bug fixes; quieterrsc1-3/+3
2005-01-17do not call exits in threaded programsrsc1-1/+1
2005-01-06more precision on timersc1-2/+7
2005-01-04more debuggingrsc1-82/+149
2004-12-28remove debugging printrsc1-1/+0
2004-12-28remove race between openfdthread and connoutthread msgput,rsc1-1/+8
so that openfd'ed fids always get clunked properly.
2004-12-28use threaddaemonizersc1-14/+8
2004-12-27use new thread libraryrsc1-153/+1
2004-03-25Today's changes.rsc1-1/+1
More changes.
2004-03-05Pipes cannot use SOCK_DGRAM. Back to SOCK_STREAM.rsc1-3/+5
Add debugging to fdwait. Rewrite getcallerpc on PowerMac to be correct.
2004-03-02Long-standing stability bugs fixed in 9pserve.rsc1-19/+42
Update win to use acme interface directly instead of via pipes. Add comment to pipe about lack of message boundaries.
2004-03-02Tweaks for the Macintosh.rsc1-1/+0
2004-02-29Small tweaks to make things build again.rsc1-1/+1
2004-02-29Fighting the good fight.rsc1-116/+68
Move libfmt, libutf into subdirectories of lib9. Add poll-based socket i/o to libthread, so that we can avoid using multiple procs when possible, thus removing dependence on crappy pthreads implementations. Convert samterm, acme to the single-proc libthread. Bring libcomplete, acme up-to-date w.r.t. Plan 9 distribution.
2003-12-17Tweaks to various bits.rsc1-23/+44
Until I hear otherwise, Refs aren't used enough to merit their own assembly. They are now implemented with locks.
2003-12-11Add support for user-level 9P servers/clients and various bug fixes to go ↵rsc1-32/+425
with them.
2003-12-09check everything in so i can move to linux and valgrind.rsc1-60/+409
2003-12-06File system stuff.rsc1-0/+597