<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Which OS are you using?</FONT></DIV>
<DIV><FONT face=Arial size=2>Some time ago I have had problems with the SSL
port (ssl_esock) with Yaws in Win32 and when sending data to the
server. Perhaps it's related with yours.</FONT></DIV>
<DIV><FONT face=Arial size=2>By increasing the buffer size of the C/C++
port and with some other changes I've managed to work it out for small
size data uploads. There're some postings in the
list with the changes I made.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hope it helps.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>regards, Eduardo</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2>
<TABLE width="77%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="16%"><IMG alt="" hspace=0
src="cid:02a801c5aa4c$98a03600$4a00a8c0@Inswitch251" border=0></TD>
<TD vAlign=top width="84%">
<P><B><FONT face=Verdana color=#000099 size=1>Prepaid Expertise -
Programmable Switches <BR>Powered by Ericsson Licensed Technology<BR>Eng.
Eduardo Figoli - Development Center - IN Switch Solutions
Inc.<BR>Headquarters - Miami-U.S.A. Tel: 1305-3578076 Fax:
1305-7686260<BR>Development Center - Montevideo - Uruguay Tel/Fax:
5982-7104457<BR>e-mail: eduardo@inswitch.us</FONT><FONT face=Verdana
color=blue size=1><BR></FONT></B></P></TD></TR></TBODY></TABLE><B><FONT
face=Verdana color=blue size=1></FONT></B></FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: <</FONT><A
href="mailto:mbj@bluetail.com"><FONT face=Arial
size=2>mbj@bluetail.com</FONT></A><FONT face=Arial size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>To: <</FONT><A
href="mailto:erlang-patches@erlang.org"><FONT face=Arial
size=2>erlang-patches@erlang.org</FONT></A><FONT face=Arial size=2>>;
<</FONT><A href="mailto:erlang-questions@erlang.org"><FONT face=Arial
size=2>erlang-questions@erlang.org</FONT></A><FONT face=Arial
size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>Sent: Friday, August 26, 2005 11:15 AM</FONT></DIV>
<DIV><FONT face=Arial size=2>Subject: Re: Deadlock bug in ssl
library</FONT></DIV></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT face=Arial
size=2>> Here's a small program to reproduce the problem<BR>> <BR>>
<BR>> -module(s).<BR>> -compile(export_all).<BR>> <BR>> %%
illustrates ssl deadlock problem<BR>> <BR>> %% do s:d() in an erlang
shell<BR>> %% in a terminal shell, do <BR>> %%
openssl s_client -connect localhost:5432 < a-1-MB-file<BR>> <BR>>
<BR>> d() -><BR>> application:start(ssl),<BR>>
{ok, L} =<BR>> ssl:listen(5432,<BR>>
[{active, false},<BR>> {certfile,
"/home/share/mbj/src/yaws/ssl/cert.example"},<BR>>
{keyfile, "/home/share/mbj/src/yaws/ssl/key.example"}]),<BR>>
{ok, S} = ssl:accept(L),<BR>> {ok,
Data} = ssl:recv(S, 0),<BR>> io:format("got ~p bytes\n",
[length(Data)]),<BR>> timer:sleep(10000),<BR>>
{ok, PeerName} = ssl:peername(S),<BR>>
io:format("peername: ~p\n", [PeerName]),<BR>>
ssl:close(S),<BR>> ssl:close(L).<BR>>
</FONT></BODY></HTML>