Yes, such smart things by guessing if first bytes are http or ssl. But there is no gen_tcp:unrecv :( -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140227/e6abfdcd/attachment.htm>