summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/svc_tcp.c
AgeCommit message (Collapse)Author
2006-04-02sprinkle a socklen_tTheo de Raadt
2005-10-10Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95.Marc Espie
Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br> Thanks.
2005-08-08zap remaining rcsid.Marc Espie
Kill old files that are no longer compiled. okay theo
2005-04-01ansify. ok deraadt@ jaredy@Otto Moerbeek
2005-01-08Bit of KNF - replace (<type> *)0 and (<type> *)NULL with NULL. PointedKenneth R Westerback
out by mickey@, seconded by millert@. ok deraadt@.
2003-12-31Implement svc_getreq_poll(3) and friends and use poll(2) instead of select(2)Todd C. Miller
in the libc rpc code. The main difference between this and the previous version is the use of a simple free list that simplifies the logic when adding a socket to svc_pollfd. I've also added code to pack svc_pollfd when the free list gets too big. The idea general idea is to keep svc_pollfd as tightly packed as possible to make poll(2) efficient. Tested by many people and OK deraadt@
2002-09-06use socklen_t where needed; henning pvalchev okTheo de Raadt
2002-01-02label abort() from inside library as ILLEGALTheo de Raadt
2001-09-15prototype cleanupTheo de Raadt
2001-03-03plug many memory leaksTheo de Raadt
1998-05-22make svctcp_recv kill sockets that fail in xdr_callmsg(); wpaulTheo de Raadt
1998-05-22make readtcp() call svc_getreqset2() for activity on other sockets; wpaulTheo de Raadt
1998-05-19incorrect timeout handlingTheo de Raadt
1997-07-09avoid close(closed_socket) or close(-1); it looks disgusting in kdumpTheo de Raadt
1997-04-30Don't do pointer arithmetic on void pointersThorsten Lockert
1997-03-29if a bad socket is accept()ed, bail without trying another accept()Theo de Raadt
in svctcp_create(), only close socket if we created it
1997-02-17do not leak descriptors and memTheo de Raadt
1997-02-13if i find one more little problem, and have to make one more littleTheo de Raadt
tweak to this ip option handling code I am going to absolutely scream in rage, following which I will rip the bloody innards out of netinet and build my own new incompatible option checking/processing interface that does not make it so hidiously difficult to check if a session has source routes active!
1997-02-13option handling is a bitchTheo de Raadt
1997-02-13ok, i finally learned about struct ipoptionTheo de Raadt
1997-02-07destroy everything with source routesTheo de Raadt
1996-08-20memset 0; also fix for byte order botch in __svc_fdset handling; thanks to ↵Theo de Raadt
mw@openbsd.org
1996-08-19Fix RCS idsThorsten Lockert
Make sure everything uses {SYS,}LIBC_SCCS properly
1996-08-15support descriptors > FD_SETSIZE and correct timeout handlingTheo de Raadt
1996-08-05if port 20 incoming, kill it and try againTheo de Raadt
1996-07-20bcopy->memcpy & tagTheo de Raadt
1996-03-25Pull prototypes into scopeThorsten Lockert
Remove graticious casts
1995-10-18initial import of NetBSD treeTheo de Raadt