<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/include/netdb.h, branch release/5.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F5.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F5.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2005-02-03T07:47:55Z</updated>
<entry>
<title>MFC: implement AI_NUMERICSERV (as defined in RFC3493).</title>
<updated>2005-02-03T07:47:55Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2005-02-03T07:47:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3e24f131d6affb012ee73fcb89362a7b91110a75'/>
<id>urn:sha1:3e24f131d6affb012ee73fcb89362a7b91110a75</id>
<content type='text'>
	src/include/netdb.h:		1.33
	src/lib/libc/net/getaddrinfo.c:	1.56
</content>
</entry>
<entry>
<title>Make the resolver(3) and many associated interfaces much more reentrant.</title>
<updated>2004-02-25T21:03:46Z</updated>
<author>
<name>Brian Feldman</name>
<email>green@FreeBSD.org</email>
</author>
<published>2004-02-25T21:03:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=33dee819339974eaf7dbf69068001771cbdcd548'/>
<id>urn:sha1:33dee819339974eaf7dbf69068001771cbdcd548</id>
<content type='text'>
The getaddrinfo(3), getipnodebyname(3) and resolver(3) can coincide now
with what should be totally reentrant, and h_errno values will now
be preserved correctly, but this does not affect interfaces such as
gethostbyname(3) which are still mostly non-reentrant.

In all of these relevant functions, the thread-safety has been pushed
down as far as it seems possible right now.  This means that operations
that are selected via nsdispatch(3) (i.e. files, yp, dns) are protected
still under global locks that getaddrinfo(3) defines, but where possible
the locking is greatly reduced.  The most noticeable improvement is
that multiple DNS lookups can now be run at the same time, and this
shows major improvement in performance of DNS-lookup threaded programs,
and solves the "Mozilla tab serialization" problem.

No single-threaded applications need to be recompiled.  Multi-threaded
applications that reference "_res" to change resolver(3) options will
need to be recompiled, and ones which reference "h_errno" will also
if they desire the correct h_errno values.  If the applications already
understood that _res and h_errno were not thread-safe and had their own
locking, they will see no performance improvement but will not
actually break in any way.

Please note that when NSS modules are used, or when nsdispatch(3)
defaults to adding any lookups of its own to the individual libc
_nsdispatch() calls, those MUST be reentrant as well.
</content>
</entry>
<entry>
<title>remove EAI_NODATA aliased to EAI_NONAME.</title>
<updated>2004-01-15T15:10:02Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2004-01-15T15:10:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c77fb521888857cd39b36811d2eae48096a3d43e'/>
<id>urn:sha1:c77fb521888857cd39b36811d2eae48096a3d43e</id>
<content type='text'>
PR:		bin/61369
</content>
</entry>
<entry>
<title>style.</title>
<updated>2003-10-24T06:53:12Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2003-10-24T06:53:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ff6322f8289a47c2d4a6a7137d238d6608d79b27'/>
<id>urn:sha1:ff6322f8289a47c2d4a6a7137d238d6608d79b27</id>
<content type='text'>
Reported by:	bde
</content>
</entry>
<entry>
<title>oops, EAI_NONAME is not EAINONAME.</title>
<updated>2003-10-24T03:49:38Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2003-10-24T03:49:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fdf361fd38d73f5476d6f1e718dfb57de28e68bd'/>
<id>urn:sha1:fdf361fd38d73f5476d6f1e718dfb57de28e68bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>workaround to have backward compatibility for EAI_NODATA.</title>
<updated>2003-10-23T17:54:17Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2003-10-23T17:54:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=56f88dba4c11c60be8ef5704203af982abc07517'/>
<id>urn:sha1:56f88dba4c11c60be8ef5704203af982abc07517</id>
<content type='text'>
it will be removed on 23 Apr 2004.

Submitted by:	terry
</content>
</entry>
<entry>
<title>oops, I forget to diable EAI_ADDRFAMILY and EAI_NODATA.</title>
<updated>2003-10-23T16:11:46Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2003-10-23T16:11:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=27f9f4194284874846add5c03ee03c2ace7b059c'/>
<id>urn:sha1:27f9f4194284874846add5c03ee03c2ace7b059c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stop use of NI_WITHSCOPEID.  it was deprecated.</title>
<updated>2003-10-21T20:11:47Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2003-10-21T20:11:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d24cb2490d10a6abfd24c7bba65db9a7dc011715'/>
<id>urn:sha1:d24cb2490d10a6abfd24c7bba65db9a7dc011715</id>
<content type='text'>
Obtained from:	KAME
</content>
</entry>
<entry>
<title>o Merge &lt;machine/ansi.h&gt; and &lt;machine/types.h&gt; into a new header</title>
<updated>2002-08-21T16:20:02Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-08-21T16:20:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=abbd8902334e8c6409384593b4a2c81f939b47b4'/>
<id>urn:sha1:abbd8902334e8c6409384593b4a2c81f939b47b4</id>
<content type='text'>
  called &lt;machine/_types.h&gt;.
o &lt;machine/ansi.h&gt; will continue to live so it can define MD clock
  macros, which are only MD because of gratuitous differences between
  architectures.
o Change all headers to make use of this.  This mainly involves
  changing:
    #ifdef _BSD_FOO_T_
    typedef	_BSD_FOO_T_	foo_t;
    #undef _BSD_FOO_T_
    #endif
  to:
    #ifndef _FOO_T_DECLARED
    typedef	__foo_t	foo_t;
    #define	_FOO_T_DECLARED
    #endif

Concept by:	bde
Reviewed by:	jake, obrien
</content>
</entry>
<entry>
<title>Minor libc internal-only interface change for mapv4v6.</title>
<updated>2002-06-26T08:18:42Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2002-06-26T08:18:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=baefb2ee4e670d602b4a15ee8f2afdf84419d685'/>
<id>urn:sha1:baefb2ee4e670d602b4a15ee8f2afdf84419d685</id>
<content type='text'>
</content>
</entry>
</feed>
