Bill Janssen added the comment:

The server isn't handling the close event properly.  I'll fix that.

On Dec 13, 2007 9:06 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:

>
> Guido van Rossum added the comment:
>
> I spoke too soon. In a debug build, this hangs forever during the
> second iteration:
>
> ./python.exe Lib/test/regrtest.py -uall -R1:1 test_ssl
>
> Adding -v, it looks like two iterations are carried out perfectly (one
> must be a trial run, one the warm-up run), but the third run goes
> beserk; the output ends like this:
>
> testAsyncoreServer (test.test_ssl.ThreadedTests) ...
>  server:  read b'over\n' from client
>  server:  closed connection <ssl.SSLSocket object, fd=6, family=2,
> type=1, proto=0>
>  server:  read b'' from client
>  server:  closed connection <ssl.SSLSocket object, fd=10, family=2,
> type=1, proto=0>
>  server:  read b'' from client
>  server:  closed connection <ssl.SSLSocket object, fd=10, family=2,
> type=1, proto=0>
> .
> . (the last two lines repeated forever)
> .
>
> __________________________________
> Tracker <[EMAIL PROTECTED]>
> <http://bugs.python.org/issue1469>
> __________________________________
>

Added file: http://bugs.python.org/file8954/unnamed

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1469>
__________________________________
The server isn&#39;t handling the close event properly.&nbsp; I&#39;ll fix 
that.<br><br><div class="gmail_quote">On Dec 13, 2007 9:06 PM, Guido van Rossum 
&lt;<a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>&gt; wrote:
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div 
class="Ih2E3d"><br>Guido van Rossum added the comment:<br><br></div>I spoke too 
soon. In a debug build, this hangs forever during the
<br>second iteration:<br><br>./python.exe Lib/test/regrtest.py -uall -R1:1 
test_ssl<br><br>Adding -v, it looks like two iterations are carried out 
perfectly (one<br>must be a trial run, one the warm-up run), but the third run 
goes
<br>beserk; the output ends like this:<br><div 
class="Ih2E3d"><br>testAsyncoreServer (test.test_ssl.ThreadedTests) 
...<br></div>&nbsp;server: &nbsp;read b&#39;over\n&#39; from 
client<br>&nbsp;server: &nbsp;closed connection &lt;ssl.SSLSocket
 object, fd=6, family=2,<br>type=1, proto=0&gt;<br>&nbsp;server: &nbsp;read 
b&#39;&#39; from client<br>&nbsp;server: &nbsp;closed connection 
&lt;ssl.SSLSocket object, fd=10, family=2,<br>type=1, 
proto=0&gt;<br>&nbsp;server: &nbsp;read b&#39;&#39; from client
<br>&nbsp;server: &nbsp;closed connection &lt;ssl.SSLSocket object, fd=10, 
family=2,<br>type=1, proto=0&gt;<br>.<br>. (the last two lines repeated 
forever)<br><div><div></div><div 
class="Wj3C7c">.<br><br>__________________________________
<br>Tracker &lt;<a href="mailto:[EMAIL PROTECTED]">[EMAIL 
PROTECTED]</a>&gt;<br>&lt;<a href="http://bugs.python.org/issue1469"; 
target="_blank">http://bugs.python.org/issue1469</a>&gt;<br>__________________________________
<br></div></div></blockquote></div><br>

_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to