aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2011-11-28 15:14:14 +0100
committerSverker Eriksson <[email protected]>2011-12-06 11:06:44 +0100
commitdc5f7190f16cf4552db74fba3f4e0f2d654e2594 (patch)
tree6f9b947d7e4bf228cfe40e22dac45add6f9bd6ff /erts/doc/src
parent5984409d1264871cbe61bfec875de53e51713efb (diff)
downloadotp-dc5f7190f16cf4552db74fba3f4e0f2d654e2594.tar.gz
otp-dc5f7190f16cf4552db74fba3f4e0f2d654e2594.tar.bz2
otp-dc5f7190f16cf4552db74fba3f4e0f2d654e2594.zip
erts: Remove truncation of http packet parsing and return error instead
This is a slight modification of previous commit by Steve Vinoski For backward compatibility of old users of decode_packet, I think it's enough to return error instead of keeping the old line truncation behaviour.
Diffstat (limited to 'erts/doc/src')
-rw-r--r--erts/doc/src/erlang.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 42a4e6a999..1ea88a185f 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -724,9 +724,12 @@ false</pre>
size limit.</p>
</item>
<tag><c>{line_length, integer()}</c></tag>
- <item><p>Applies only to line oriented protocols
- (<c>line</c>, <c>http</c>). Lines longer than this
- will be truncated.</p>
+ <item><p>For packet type <c>line</c>, truncate lines longer
+ than the indicated length.</p>
+ <p>Option <c>line_length</c> also applies to <c>http*</c>
+ packet types as an alias for option <c>packet_size</c> in the
+ case when <c>packet_size</c> itself is not set. This usage is
+ only intended for backward compatibility.</p>
</item>
</taglist>
<pre>