From dc5f7190f16cf4552db74fba3f4e0f2d654e2594 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson
Date: Mon, 28 Nov 2011 15:14:14 +0100
Subject: 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.
---
erts/doc/src/erlang.xml | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
(limited to 'erts/doc/src')
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
size limit.
{line_length, integer()}
- Applies only to line oriented protocols
- (line, http). Lines longer than this
- will be truncated.
+ For packet type line, truncate lines longer
+ than the indicated length.
+ Option line_length also applies to http*
+ packet types as an alias for option packet_size in the
+ case when packet_size itself is not set. This usage is
+ only intended for backward compatibility.
--
cgit v1.2.3