<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/lib/libc/yp, branch stable/6</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F6</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F6'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2007-08-25T19:41:02Z</updated>
<entry>
<title>MFC rev 1.51:</title>
<updated>2007-08-25T19:41:02Z</updated>
<author>
<name>Simon L. B. Nielsen</name>
<email>simon@FreeBSD.org</email>
</author>
<published>2007-08-25T19:41:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=dc9b7588d20bdb35480337bb8f26aa09603a2795'/>
<id>urn:sha1:dc9b7588d20bdb35480337bb8f26aa09603a2795</id>
<content type='text'>
  Set timeout for all NIS RPC requests to 1 second and not just for
  yp_next as revision 1.50 did.  This should fix, or at least very much
  reduce the risk of, NIS timing out due to UDP packet loss for NIS
  functions.

  See also revision 1.50 for more details about the general problem.
</content>
</entry>
<entry>
<title>MFC 1.50:</title>
<updated>2007-03-11T09:59:51Z</updated>
<author>
<name>Simon L. B. Nielsen</name>
<email>simon@FreeBSD.org</email>
</author>
<published>2007-03-11T09:59:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=7619493d5bfbe5de2d0985df8ded100e9bd8612f'/>
<id>urn:sha1:7619493d5bfbe5de2d0985df8ded100e9bd8612f</id>
<content type='text'>
- Bump _yplib_timeout limit from 10 to 20 seconds to better handle
  packet loss when talking to a NIS server.
- Set 1 second retry timeout to further realistically handle UDP
  packet loss for yp_next packet bursts.  If the packet hasn't come
  back within 1 second its rather unlikely to come back at all.  There
  is still back-off mechanism in RPC so if there is another reason
  than packet loss for the lack of response within 1 second, the NIS
  server will not be totally bombarded with requests.

This reduces the risk of NIS failing with:

	yp_next: clnt_call: RPC: Timed out

considerably.  This is mainly a problem if you have larger NIS maps
(like at FreeBSD.org) since enumerations of the lists will cause a UDP
packet bursts where a few packets being lost once in a while do
happen.

Discussed with: peter
Problem mainly diagnosed by:    peter
</content>
</entry>
<entry>
<title>do mutex lock for each yp calls.  with this,</title>
<updated>2005-05-03T20:30:31Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-05-03T20:30:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d21de89a71f0c850e167d5cb1ca07c0ec4910bd6'/>
<id>urn:sha1:d21de89a71f0c850e167d5cb1ca07c0ec4910bd6</id>
<content type='text'>
  http://cvsweb.netbsd.org/bsdweb.cgi/src/regress/lib/libpthread/resolv/
is working.
</content>
</entry>
<entry>
<title>MUTEX_INITIALIZER should be used instead of</title>
<updated>2005-04-06T15:16:04Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-04-06T15:16:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=1b482912d124eaa5e1c0abb83ef7cc87b9e205f1'/>
<id>urn:sha1:1b482912d124eaa5e1c0abb83ef7cc87b9e205f1</id>
<content type='text'>
PTHREAD_MUTEX_INITIALIZER, here.
</content>
</entry>
<entry>
<title>protect _yp_domain with mutex lock.</title>
<updated>2005-04-05T18:07:59Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-04-05T18:07:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=069eb2cafbd04644ab994cc2a7684b86f5c33447'/>
<id>urn:sha1:069eb2cafbd04644ab994cc2a7684b86f5c33447</id>
<content type='text'>
Inspired by:	NetBSD
</content>
</entry>
<entry>
<title>Use socklen_t where appropriate.</title>
<updated>2005-03-11T14:17:12Z</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2005-03-11T14:17:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=595e532309e983d7d6c86f88867f786b3ccaa756'/>
<id>urn:sha1:595e532309e983d7d6c86f88867f786b3ccaa756</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Back out the `hiding' of strlcpy and strlcat.  Several people</title>
<updated>2003-05-01T19:03:14Z</updated>
<author>
<name>Jacques Vidrine</name>
<email>nectar@FreeBSD.org</email>
</author>
<published>2003-05-01T19:03:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d05090827f0e5b95cc7d2bcdde8b3b4e0f986241'/>
<id>urn:sha1:d05090827f0e5b95cc7d2bcdde8b3b4e0f986241</id>
<content type='text'>
vocally objected to this safety belt.
</content>
</entry>
<entry>
<title>`Hide' strlcpy and strlcat (using the namespace.h / __weak_reference</title>
<updated>2003-04-29T21:13:50Z</updated>
<author>
<name>Jacques Vidrine</name>
<email>nectar@FreeBSD.org</email>
</author>
<published>2003-04-29T21:13:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=5723e501abb675701352eb3e9fd58bb3cc2c649d'/>
<id>urn:sha1:5723e501abb675701352eb3e9fd58bb3cc2c649d</id>
<content type='text'>
technique) so that we don't wind up calling into an application's
version if the application defines them.

Inspired by:	qpopper's interfering and buggy version of strlcpy
</content>
</entry>
<entry>
<title>libc_r wasn't so tied to libc for 22 months.</title>
<updated>2002-11-18T09:50:57Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2002-11-18T09:50:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c51d717f0c0adcb64bbf49ef373972c2367c50ec'/>
<id>urn:sha1:c51d717f0c0adcb64bbf49ef373972c2367c50ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Spell void * as void * rather than caddr_t.  This is complicated by the</title>
<updated>2002-04-28T15:18:50Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2002-04-28T15:18:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=f249dbcc7149848de00cd8f4e93fe140dfa3f219'/>
<id>urn:sha1:f249dbcc7149848de00cd8f4e93fe140dfa3f219</id>
<content type='text'>
fact that caddr_t is often misspelled as char *.

Sponsored by:	DARPA, NAI Labs
</content>
</entry>
</feed>
