<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/kernel, branch OTP_R14B</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Prepare release</title>
<updated>2010-09-13T15:58:05+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2010-09-13T15:58:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=17224a3d31d25ce6daa4de63b52b26bee9564bcd'/>
<id>17224a3d31d25ce6daa4de63b52b26bee9564bcd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'pan/epmd-vulnerabilities/OTP-8780' into dev</title>
<updated>2010-09-13T09:26:23+00:00</updated>
<author>
<name>Patrik Nyblom</name>
<email>pan@erlang.org</email>
</author>
<published>2010-09-13T09:26:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=bbf3ab21b404aedbf9c7b7062b1e96062133fe44'/>
<id>bbf3ab21b404aedbf9c7b7062b1e96062133fe44</id>
<content type='text'>
* pan/epmd-vulnerabilities/OTP-8780:
  Teach testcases to survive TIME_WAIT overload
  Update erl_interface doc and testsuite for epmd changes
  Restore null termination of input buffer
  Teach testcase epmd_SUITE:too_large to accept econnaborted
  Teach epmd_cli.c to not respond 'Killed' when killing denied
  Calculate minimal packet size for ALIVE2 requests correctly
  Document epmd and it's options properly and fixup help text
  Fix anomalies in epmd not yet reported as security issues
  Remove two buffer overflow vulnerabilities in EPMD
  Remove all support for ancient EPMD protocol
  Remove very old protocol from EPMD

Conflicts:
	lib/erl_interface/src/epmd/epmd_port.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* pan/epmd-vulnerabilities/OTP-8780:
  Teach testcases to survive TIME_WAIT overload
  Update erl_interface doc and testsuite for epmd changes
  Restore null termination of input buffer
  Teach testcase epmd_SUITE:too_large to accept econnaborted
  Teach epmd_cli.c to not respond 'Killed' when killing denied
  Calculate minimal packet size for ALIVE2 requests correctly
  Document epmd and it's options properly and fixup help text
  Fix anomalies in epmd not yet reported as security issues
  Remove two buffer overflow vulnerabilities in EPMD
  Remove all support for ancient EPMD protocol
  Remove very old protocol from EPMD

Conflicts:
	lib/erl_interface/src/epmd/epmd_port.c
</pre>
</div>
</content>
</entry>
<entry>
<title>Add line macros to gen_udp_SUITE:connect</title>
<updated>2010-09-13T08:51:52+00:00</updated>
<author>
<name>Patrik Nyblom</name>
<email>pan@erlang.org</email>
</author>
<published>2010-09-07T08:22:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2f2d4c6b2ed4eff518936bc4d6a3fac170876171'/>
<id>2f2d4c6b2ed4eff518936bc4d6a3fac170876171</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove warnings for clashes with new autoimported BIFs</title>
<updated>2010-09-10T12:24:42+00:00</updated>
<author>
<name>Patrik Nyblom</name>
<email>pan@erlang.org</email>
</author>
<published>2010-09-01T12:30:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac'/>
<id>19a3f0c5bab37ba261abbca6c0253c1e3cb4d3ac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make gen_tcp:recv/2 consistent with ssl:recv/2</title>
<updated>2010-09-09T10:18:17+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2010-09-08T14:19:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=33caf70b63ef4cdb7ba5f3b24d7f04c596f081eb'/>
<id>33caf70b63ef4cdb7ba5f3b24d7f04c596f081eb</id>
<content type='text'>
When the HTTP packet mode has been enabled for a socket,
the ssl and gen_tcp modules have different error indications
when there is an error while parsing the HTTP header:

  ssl:recv(SSLSocket, 0) -&gt; {ok, {http_error, _Str}}

  gen_tcp:recv(Socket, 0) -&gt; {error, {http_error, _Str}}

We have decided to change gen_tcp:recv/2 to behave the same
way as ssl:recv/2. That means that there will be always be
an ok tuple if data could be succefully read from the socket,
and an error tuple if there was a read error at the socket level.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the HTTP packet mode has been enabled for a socket,
the ssl and gen_tcp modules have different error indications
when there is an error while parsing the HTTP header:

  ssl:recv(SSLSocket, 0) -&gt; {ok, {http_error, _Str}}

  gen_tcp:recv(Socket, 0) -&gt; {error, {http_error, _Str}}

We have decided to change gen_tcp:recv/2 to behave the same
way as ssl:recv/2. That means that there will be always be
an ok tuple if data could be succefully read from the socket,
and an error tuple if there was a read error at the socket level.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'ph/auto_recognize_ipv6' into dev</title>
<updated>2010-09-07T08:54:35+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2010-09-07T08:54:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1d3297b5fa8b444beaef3a0decafe3e4d6dcc664'/>
<id>1d3297b5fa8b444beaef3a0decafe3e4d6dcc664</id>
<content type='text'>
* ph/auto_recognize_ipv6:
  Add tests
  Let an 8-tuple given as ip_address() for gen_tcp/gen_udp/gen_sctp imply 'inet6'

OTP-8822
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ph/auto_recognize_ipv6:
  Add tests
  Let an 8-tuple given as ip_address() for gen_tcp/gen_udp/gen_sctp imply 'inet6'

OTP-8822
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'ms/inet-bug-fixes' into dev</title>
<updated>2010-09-06T12:02:47+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2010-09-06T12:02:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9c24be4cc8dcfd6e702c77a776f3788c824c9b5c'/>
<id>9c24be4cc8dcfd6e702c77a776f3788c824c9b5c</id>
<content type='text'>
* ms/inet-bug-fixes:
  inet: support retrieving MAC address on BSD
  inet: fix getservbyname buffer overflow
  inet: fix ifr_name buffer overflow
  inet: null terminate ifr_name buffer

OTP-8816
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ms/inet-bug-fixes:
  inet: support retrieving MAC address on BSD
  inet: fix getservbyname buffer overflow
  inet: fix ifr_name buffer overflow
  inet: null terminate ifr_name buffer

OTP-8816
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests</title>
<updated>2010-09-06T10:26:47+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2010-09-06T10:26:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=296b3ae4d88c87cdf9638a1dd9cab622c748c5e6'/>
<id>296b3ae4d88c87cdf9638a1dd9cab622c748c5e6</id>
<content type='text'>
Conflicts:

	lib/kernel/test/gen_sctp_SUITE.erl
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:

	lib/kernel/test/gen_sctp_SUITE.erl
</pre>
</div>
</content>
</entry>
<entry>
<title>Let an 8-tuple given as ip_address() for gen_tcp/gen_udp/gen_sctp imply 'inet6'</title>
<updated>2010-09-06T10:15:39+00:00</updated>
<author>
<name>Per Hedeland</name>
<email>per@hedeland.org</email>
</author>
<published>2010-08-24T17:53:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8e415cb7094e9ea4287a56daaf227666f2862ed2'/>
<id>8e415cb7094e9ea4287a56daaf227666f2862ed2</id>
<content type='text'>
Currently an 8-tuple representing an IPv6 address is not accepted by
gen_tcp:listen/2, gen_tcp:connect/3,4, gen_udp:open/2, or
gen_sctp:open/1,2, unless the 'inet6' option is also given. This means
that an application that has obtained the address, e.g. from
configuration that allows for either IPv4 or IPv6, must always check the
type of the address before passing it to these functions. Letting the
functions infer 'inet6' from the 8-tuple, in case other options do not
override this choice, improves usability.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently an 8-tuple representing an IPv6 address is not accepted by
gen_tcp:listen/2, gen_tcp:connect/3,4, gen_udp:open/2, or
gen_sctp:open/1,2, unless the 'inet6' option is also given. This means
that an application that has obtained the address, e.g. from
configuration that allows for either IPv4 or IPv6, must always check the
type of the address before passing it to these functions. Letting the
functions infer 'inet6' from the 8-tuple, in case other options do not
override this choice, improves usability.
</pre>
</div>
</content>
</entry>
<entry>
<title>inet: support retrieving MAC address on BSD</title>
<updated>2010-09-03T14:52:28+00:00</updated>
<author>
<name>Michael Santos</name>
<email>michael.santos@gmail.com</email>
</author>
<published>2010-07-21T18:50:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8393c5d5b682f8acbdc0ecf5b0e6f87589a314cb'/>
<id>8393c5d5b682f8acbdc0ecf5b0e6f87589a314cb</id>
<content type='text'>
On systems supporting getaddrinfo(), support looking up the MAC
address from inet:ifget/2. The results have the same quirks as with
Linux: if the MAC address is longer than 6 bytes (e.g., fw0 under
Mac OS X), the address is truncated; if the interface does not have
a MAC address (e.g., lo0), an address consisting of 0's is returned.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On systems supporting getaddrinfo(), support looking up the MAC
address from inet:ifget/2. The results have the same quirks as with
Linux: if the MAC address is longer than 6 bytes (e.g., fw0 under
Mac OS X), the address is truncated; if the interface does not have
a MAC address (e.g., lo0), an address consisting of 0's is returned.
</pre>
</div>
</content>
</entry>
</feed>
