aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-01-31 15:44:48 +0100
committerBjörn Gustavsson <[email protected]>2010-02-14 16:48:13 +0100
commit4df513725e90af55f709126a5d35674142a05791 (patch)
treeb959b81d0b155ddff837f11b709e518467c67e8f
parent9a8bcc769b6e2bda63b8337e631d2d2f408f0dd8 (diff)
downloadotp-4df513725e90af55f709126a5d35674142a05791.tar.gz
otp-4df513725e90af55f709126a5d35674142a05791.tar.bz2
otp-4df513725e90af55f709126a5d35674142a05791.zip
erl_bif_types: add 'http_bin' as a valid packet option
{packet,http_bin} is now a valid packet option for the gen_tcp and inet modules.
-rw-r--r--lib/hipe/cerl/erl_bif_types.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/hipe/cerl/erl_bif_types.erl b/lib/hipe/cerl/erl_bif_types.erl
index 756fcb8bbf..5160273afe 100644
--- a/lib/hipe/cerl/erl_bif_types.erl
+++ b/lib/hipe/cerl/erl_bif_types.erl
@@ -4906,7 +4906,8 @@ t_inet_setoption_packettype() ->
t_integers([0,1,2,4]),
t_atom('asn1'), t_atom('cdr'), t_atom('sunrm'),
t_atom('fcgi'), t_atom('tpkt'), t_atom('line'),
- t_atom('http')]). %% but t_atom('httph') is not needed
+ t_atom('http'),
+ t_atom('http_bin')]). %% but t_atom('httph') is not needed
t_inet_posix_error() ->
t_atom(). %% XXX: Very underspecified