[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Mon Apr 25 21:33:33 2005 -->
- <!--x-from-r13: psbjyre ng bhgcbfgfragvary.pbz (Quevfgbcure Tbjyre) -->
- <!--x-message-id: [email protected] -->
- <!--x-subject: [ale] Java going bonkders -->
- <li><em>date</em>: Mon Apr 25 21:33:33 2005</li>
- <li><em>from</em>: cfowler at outpostsentinel.com (Christopher Fowler)</li>
- <li><em>subject</em>: [ale] Java going bonkders</li>
_newClientChannel.configureBlocking( true ) ;
writer.writeLine( "220 SAM ENS Console Proxy" ) ;
if( response.startsWith( "myid " ) )
If I telnet to the proxy server and after my telnet client sees the 220
above I do a kill -9 on the client the server will loop forever on
read()
strace shows this as fast as possible:
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
[pid 2222] read(13, "", 120) = 0
Obviously this is happening inside of
String response = reader.readLine( ) ;
How do you protect against it?
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00656.html">[ale] Basic web design fee</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00658.html">[ale] Shell process control : Manipulating a process after having logged out and then logging in again</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00679.html">[ale] Synaptics Mouse pad</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00665.html">[ale] Linux Torrents</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00657"><strong>Date</strong></a></li>
<li><a href="threads.html#00657"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>