<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/diameter/test, branch R16B02_yielding_binary_to_term</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Simplify Address encode/decode</title>
<updated>2013-07-30T15:59:08+00:00</updated>
<author>
<name>Anders Svensson</name>
<email>anders@erlang.org</email>
</author>
<published>2013-07-30T14:48:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8e7402a8b4230d25d89ddd2492908b4206083392'/>
<id>8e7402a8b4230d25d89ddd2492908b4206083392</id>
<content type='text'>
By using binary comprehensions. Add string-valued addresses to codec
suite.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By using binary comprehensions. Add string-valued addresses to codec
suite.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix UTF8String encode</title>
<updated>2013-07-30T15:56:53+00:00</updated>
<author>
<name>Anders Svensson</name>
<email>anders@erlang.org</email>
</author>
<published>2013-07-24T09:05:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8f69052ae8c27115f0cd1756e6949139759aa751'/>
<id>8f69052ae8c27115f0cd1756e6949139759aa751</id>
<content type='text'>
To accept any nested list of codepoints and binaries. A list containing
a binary was previously misinterpreted and the documentation was
incomplete.

Also, rework codec suite slightly to be able to specify values for which
decode o encode is the identity map, for which encode should succeed,
and for which encode should fail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To accept any nested list of codepoints and binaries. A list containing
a binary was previously misinterpreted and the documentation was
incomplete.

Also, rework codec suite slightly to be able to specify values for which
decode o encode is the identity map, for which encode should succeed,
and for which encode should fail.
</pre>
</div>
</content>
</entry>
<entry>
<title>Comment tweaks</title>
<updated>2013-07-12T13:12:19+00:00</updated>
<author>
<name>Anders Svensson</name>
<email>anders@erlang.org</email>
</author>
<published>2013-07-08T06:58:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b055e89956269543b08bc7c3a17c3fadf41f0f13'/>
<id>b055e89956269543b08bc7c3a17c3fadf41f0f13</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix list-valued Vendor-Specific-Application-Id config</title>
<updated>2013-06-13T15:08:29+00:00</updated>
<author>
<name>Anders Svensson</name>
<email>anders@erlang.org</email>
</author>
<published>2013-06-13T11:18:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c2d5c74d231b62cc511f3927201ac6578844b578'/>
<id>c2d5c74d231b62cc511f3927201ac6578844b578</id>
<content type='text'>
Commit f0a36c79 broke the handling of such configuration, resulting in a
function clause error in diameter_capx if the list was not of length 3,
and faulty extraction of application id's otherwise.  Only record-valued
config was properly interpreted.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit f0a36c79 broke the handling of such configuration, resulting in a
function clause error in diameter_capx if the list was not of length 3,
and faulty extraction of application id's otherwise.  Only record-valued
config was properly interpreted.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'anders/diameter/release/R16B01/OTP-11120' into maint</title>
<updated>2013-06-11T10:20:12+00:00</updated>
<author>
<name>Anders Svensson</name>
<email>anders@erlang.org</email>
</author>
<published>2013-06-11T10:20:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=47e81de2e656767fbd3bc4b6f5d73631dcc3bb92'/>
<id>47e81de2e656767fbd3bc4b6f5d73631dcc3bb92</id>
<content type='text'>
* anders/diameter/release/R16B01/OTP-11120:
  vsn -&gt; 1.4.2
  Update appup for R16B01
  Trailing whitespace and copyright fixes
  Minor macro simplification
  Move app/appsrc from src/base into src
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* anders/diameter/release/R16B01/OTP-11120:
  vsn -&gt; 1.4.2
  Update appup for R16B01
  Trailing whitespace and copyright fixes
  Minor macro simplification
  Move app/appsrc from src/base into src
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'anders/diameter/request_spawn/OTP-11060' into maint</title>
<updated>2013-06-11T10:19:55+00:00</updated>
<author>
<name>Anders Svensson</name>
<email>anders@erlang.org</email>
</author>
<published>2013-06-11T10:19:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=69694acdab4391ef3a10c1e9d8130a1cf39beb4a'/>
<id>69694acdab4391ef3a10c1e9d8130a1cf39beb4a</id>
<content type='text'>
* anders/diameter/request_spawn/OTP-11060:
  Make spawn options for request processes configurable
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* anders/diameter/request_spawn/OTP-11060:
  Make spawn options for request processes configurable
</pre>
</div>
</content>
</entry>
<entry>
<title>Make spawn options for request processes configurable</title>
<updated>2013-06-10T13:15:24+00:00</updated>
<author>
<name>Anders Svensson</name>
<email>anders@erlang.org</email>
</author>
<published>2013-06-10T11:08:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=78b3dc6eea23a728a20947ccc425a7860ef39d97'/>
<id>78b3dc6eea23a728a20947ccc425a7860ef39d97</id>
<content type='text'>
That is, for the process that's spawned for each incoming Diameter
request message.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That is, for the process that's spawned for each incoming Diameter
request message.
</pre>
</div>
</content>
</entry>
<entry>
<title>Let diameter_{tcp,sctp} be configured with permissible remote addresses</title>
<updated>2013-06-10T09:40:51+00:00</updated>
<author>
<name>Anders Svensson</name>
<email>anders@erlang.org</email>
</author>
<published>2013-06-05T11:56:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9bbf27eb94877dea7229223de62d28f0d0206709'/>
<id>9bbf27eb94877dea7229223de62d28f0d0206709</id>
<content type='text'>
Option 'accept' allows remote addresses to be configured as tuples or
regular expressions. The remote addresses for any incoming (aka
accepted) connection/association are matched against the configured
values, any non-matching address causing the connection/association to
be aborted.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Option 'accept' allows remote addresses to be configured as tuples or
regular expressions. The remote addresses for any incoming (aka
accepted) connection/association are matched against the configured
values, any non-matching address causing the connection/association to
be aborted.
</pre>
</div>
</content>
</entry>
<entry>
<title>Trailing whitespace and copyright fixes</title>
<updated>2013-06-10T09:37:00+00:00</updated>
<author>
<name>Anders Svensson</name>
<email>anders@erlang.org</email>
</author>
<published>2013-05-30T09:37:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1492c9513e34563387db8996c17121c03bbf7526'/>
<id>1492c9513e34563387db8996c17121c03bbf7526</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix setting of Failed-AVP on {answer_message, 5xxx} from handle_request</title>
<updated>2013-06-02T13:00:19+00:00</updated>
<author>
<name>Anders Svensson</name>
<email>anders@erlang.org</email>
</author>
<published>2013-05-31T12:46:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=21e778b998b895034453251d83c3e6aaa72fe395'/>
<id>21e778b998b895034453251d83c3e6aaa72fe395</id>
<content type='text'>
RFC 6733 says that certain 5xxx result codes must be accompanied by
Failed-AVP, and decode populates #diameter_packet.errors with
Result-Code/AVP pairs for errors it detects. However, Failed-AVP was not
set in the outgoing answer if the handle_request callback returned
{answer_message, 5xxx}. It is now set with the AVP from the first pair
with the specified Result-Code, if found.

Note that {answer_message, 5xxx} doesn't handle all cases in which a
5xxx answer is required, only that in which the setting above is
appropriate. If it isn't then handle_request should construct its answer
and return {reply, Ans}.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RFC 6733 says that certain 5xxx result codes must be accompanied by
Failed-AVP, and decode populates #diameter_packet.errors with
Result-Code/AVP pairs for errors it detects. However, Failed-AVP was not
set in the outgoing answer if the handle_request callback returned
{answer_message, 5xxx}. It is now set with the AVP from the first pair
with the specified Result-Code, if found.

Note that {answer_message, 5xxx} doesn't handle all cases in which a
5xxx answer is required, only that in which the setting above is
appropriate. If it isn't then handle_request should construct its answer
and return {reply, Ans}.
</pre>
</div>
</content>
</entry>
</feed>
