<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/kernel/doc, branch OTP-18.1.3</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>2015-09-21T15:09:23+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2015-09-21T15:09:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6738d356a279835222b951fd213ed4cf9897eb7e'/>
<id>6738d356a279835222b951fd213ed4cf9897eb7e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add documentation</title>
<updated>2015-09-07T08:35:32+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2015-08-28T12:45:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d73f47345776d3567b50115af69d551077909514'/>
<id>d73f47345776d3567b50115af69d551077909514</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare release</title>
<updated>2015-06-23T08:24:26+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2015-06-23T08:24:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2955ddebc32837b66d9bacb4e925ad0ed0033168'/>
<id>2955ddebc32837b66d9bacb4e925ad0ed0033168</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change license text to APLv2</title>
<updated>2015-06-18T09:31:02+00:00</updated>
<author>
<name>Bruce Yinhe</name>
<email>bruce@erlang.org</email>
</author>
<published>2015-06-18T09:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=738c34d4bb8f1a3811acd00af8c6c12107f8315b'/>
<id>738c34d4bb8f1a3811acd00af8c6c12107f8315b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Apply 'show_econnreset' socket option to send errors as well</title>
<updated>2015-06-09T19:50:14+00:00</updated>
<author>
<name>Rory Byrne</name>
<email>rory@nybek.com</email>
</author>
<published>2015-05-02T19:34:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0098eed847516cc6760d961421c83527816e35ae'/>
<id>0098eed847516cc6760d961421c83527816e35ae</id>
<content type='text'>
Up till now all send errors have been translated into a generic
{error, closed}. This patch allows {error, econnreset} to be
returned on send errors when it is detected that the TCP peer
has sent an RST.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Up till now all send errors have been translated into a generic
{error, closed}. This patch allows {error, econnreset} to be
returned on send errors when it is detected that the TCP peer
has sent an RST.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 'show_econnreset' TCP socket option</title>
<updated>2015-06-09T19:50:06+00:00</updated>
<author>
<name>Rory Byrne</name>
<email>rory@nybek.com</email>
</author>
<published>2015-04-20T09:57:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4f63e427f1345b40b484ef16f6ff5e922bf14dac'/>
<id>4f63e427f1345b40b484ef16f6ff5e922bf14dac</id>
<content type='text'>
An ECONNRESET is a socket error which tells us that a TCP peer has sent
an RST. The RST indicates that they have aborted the connection and
that the payload we have received should not be considered complete. Up
until now, the implementation of TCP in inet_drv.c has hidden the
receipt of the RST from the user, treating it as though it was just
a FIN terminating the read side of the socket.

There are many cases where user code needs to be able to distinguish
between a socket that was closed normally and one that was aborted.
Setting the option {show_econnreset, true} enables the user to receive
ECONNRESET errors on both active and passive sockets.

A connected socket returned from gen_tcp:accept/1 will inherit the
show_econnreset setting of the listening socket.

By default this option is set to {show_econnreset, false}.

Note that this patch only enables the reporting of ECONNRESET when
the socket is being read from. It does not report ECONNRESET (or
EPIPE) when the user tries to write to a connection when an RST
has already been received. Currently the TCP implementation in
inet_drv.c hides all such send errors from the user in favour
of returning {error, close}. A separate patch will be needed to
enable the reporting of such errors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An ECONNRESET is a socket error which tells us that a TCP peer has sent
an RST. The RST indicates that they have aborted the connection and
that the payload we have received should not be considered complete. Up
until now, the implementation of TCP in inet_drv.c has hidden the
receipt of the RST from the user, treating it as though it was just
a FIN terminating the read side of the socket.

There are many cases where user code needs to be able to distinguish
between a socket that was closed normally and one that was aborted.
Setting the option {show_econnreset, true} enables the user to receive
ECONNRESET errors on both active and passive sockets.

A connected socket returned from gen_tcp:accept/1 will inherit the
show_econnreset setting of the listening socket.

By default this option is set to {show_econnreset, false}.

Note that this patch only enables the reporting of ECONNRESET when
the socket is being read from. It does not report ECONNRESET (or
EPIPE) when the user tries to write to a connection when an RST
has already been received. Currently the TCP implementation in
inet_drv.c hides all such send errors from the user in favour
of returning {error, close}. A separate patch will be needed to
enable the reporting of such errors.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'nybek/fix_gen_tcp_shutdown'</title>
<updated>2015-06-02T13:40:58+00:00</updated>
<author>
<name>Zandra Hird</name>
<email>zandra@erlang.org</email>
</author>
<published>2015-06-02T13:40:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b4774c9d55a1606a1abc726e0f7ce563065284b3'/>
<id>b4774c9d55a1606a1abc726e0f7ce563065284b3</id>
<content type='text'>
OTP-12797
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OTP-12797
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'richcarl/warnings-by-default/OTP-12781'</title>
<updated>2015-05-28T13:43:05+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2015-05-28T13:43:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6fe0fae81adf2f6a222dccb3222309e205c6ffdc'/>
<id>6fe0fae81adf2f6a222dccb3222309e205c6ffdc</id>
<content type='text'>
* richcarl/warnings-by-default/OTP-12781:
  stdlib: Use warning channel in test qlc_SUITE:otp_6964/1
  stdlib: Fix testcase for qlc_SUITE
  kernel: Fix code_SUITE with respect to new logger default
  Map error logger warnings to warning messages by default
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* richcarl/warnings-by-default/OTP-12781:
  stdlib: Use warning channel in test qlc_SUITE:otp_6964/1
  stdlib: Fix testcase for qlc_SUITE
  kernel: Fix code_SUITE with respect to new logger default
  Map error logger warnings to warning messages by default
</pre>
</div>
</content>
</entry>
<entry>
<title>Map error logger warnings to warning messages by default</title>
<updated>2015-05-22T12:58:43+00:00</updated>
<author>
<name>Richard Carlsson</name>
<email>richardc@klarna.com</email>
</author>
<published>2015-04-17T20:04:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=441842ce023bf8ef5dc84f2d5061b0b7c79c8130'/>
<id>441842ce023bf8ef5dc84f2d5061b0b7c79c8130</id>
<content type='text'>
Also fix and document the broken +We option.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix and document the broken +We option.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Map error logger warnings to warning messages by default"</title>
<updated>2015-05-20T13:37:48+00:00</updated>
<author>
<name>Zandra Hird</name>
<email>zandra@erlang.org</email>
</author>
<published>2015-05-20T13:35:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4034b89a07a97766dba5e6213b1eb4d76ba6df9e'/>
<id>4034b89a07a97766dba5e6213b1eb4d76ba6df9e</id>
<content type='text'>
This reverts commit 4c4d7fa40e5fb59854724ce74b8aa3546525cb90.

This pr is causing some test failures that were missed at first.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 4c4d7fa40e5fb59854724ce74b8aa3546525cb90.

This pr is causing some test failures that were missed at first.
</pre>
</div>
</content>
</entry>
</feed>
