[erlang-questions] asn1 and the new ssl module

Jakob Cederlund jakob@REDACTED
Fri Feb 15 16:16:25 CET 2008

Nope, not yet.
Currently, the new ssl (the one you get with {ssl_imp, new}) only 
supports these packet-options: raw, 1, 2, 4, cdr and line. (Packaging is 
handled by the function ssl_connection:check_packet/3.) The rest are 
fairly easy to add, and we hope to do that in the next release. Patches 
are welcome! :-)

Pablo Polvorin wrote:
> Hi all,
> I'm using the new ssl module to "upgrade" a gen_tcp socket to ssl. But
> I couldn't find a way to easily receiving asn1 packets from it.
> My question is, it's possible to use the {packet,asn1} option when
> using the new ssl module?.
> ssl_connection.erl seems to not have any reference to that option.
> Finally  I implemented the buffering and packet delimiting code in my
> application, but I wonder if there is an easy and early way to
> accomplish the same.
> regards,

More information about the erlang-questions mailing list