<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/kernel/test, 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>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>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>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>
<entry>
<title>Merge branch 'maint-r13' into dev</title>
<updated>2010-09-02T11:58:31+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2010-09-02T11:58:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e687346cace88b81053d603481f881be49915973'/>
<id>e687346cace88b81053d603481f881be49915973</id>
<content type='text'>
Conflicts:
	lib/kernel/doc/src/notes.xml
	lib/kernel/vsn.mk
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	lib/kernel/doc/src/notes.xml
	lib/kernel/vsn.mk
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'rani/sctp-sndrcvinfo/OTP-8795' into dev</title>
<updated>2010-09-02T09:36:37+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2010-09-02T09:36:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9ea58dff408c0c72f5a6ad0e11b521a80292b024'/>
<id>9ea58dff408c0c72f5a6ad0e11b521a80292b024</id>
<content type='text'>
* rani/sctp-sndrcvinfo/OTP-8795:
  Fix xfer_active close expection for Solaris behaviour
  Keep default #sctp_sndrcvinfo{} fields on gen_sctp:send/4
  Fill in sinfo_assoc_id in struct sctp_sndrcvinfo for getopt()

Conflicts:
	lib/kernel/test/gen_sctp_SUITE.erl
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* rani/sctp-sndrcvinfo/OTP-8795:
  Fix xfer_active close expection for Solaris behaviour
  Keep default #sctp_sndrcvinfo{} fields on gen_sctp:send/4
  Fill in sinfo_assoc_id in struct sctp_sndrcvinfo for getopt()

Conflicts:
	lib/kernel/test/gen_sctp_SUITE.erl
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix xfer_active close expection for Solaris behaviour</title>
<updated>2010-08-31T14:37:32+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2010-08-31T14:37:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8a0e1429ef2099378cdab0288224207d4d64332d'/>
<id>8a0e1429ef2099378cdab0288224207d4d64332d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Keep default #sctp_sndrcvinfo{} fields on gen_sctp:send/4</title>
<updated>2010-08-31T14:15:49+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2010-08-25T16:03:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=eaf1d4c5850ee84427d70e3df42fe777d82249c2'/>
<id>eaf1d4c5850ee84427d70e3df42fe777d82249c2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
