[erlang-patches] Patch for ssl application - ssl_accept error handling
Mon May 21 17:01:40 CEST 2007
I found there is a problem in ssl application in OTP current (R11B-4)
and earlier versions. If non-ssl data has been sent into ssl socket
process, esock sends wrong error message to ssl_server
This causes strange behaviour of ssl_server and finally ssl_server is
I made that little patch to deal with it. It changes error message sent
from esock to ssl_server to ESOCK_SSL_ACCEPT_ERR with just opened socket
fd. It also changes error handling in ssl_server - removes previously
opened socket fd from "conns" set.
I hope the patch will be usefull.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the erlang-patches