News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
Bug: Security Library catches MY exception  
by Michael [mikelehen at gmail dot com]
posted on 2004/08/17

Hi. I'm using asynchronous SSL socket stuff and I've run into a glitch where SocketController.OnReceive catches and consumes an exception that's thrown by MY code. The result is that I never see the exception. The SSL connection is just silently closed.

An easy fix might be to make OnReceive only catch SocketException and SslException (currently it just catches generic Exception).

A better solution might be to isolate the call to AsyncResult.Notify() (which is in SocketController.ProcessDecryptedBytes) so that it's not contained in any try/catch block.

If this isn't the right forum for bug reports, I appologize. Please point me in the right direction.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.