[Ace-users] Re: [ace-bugs] A bug ACE_SSL_Asynch_Stream::close().

Johnny Willemsen jwillemsen at remedy.nl
Wed Jun 27 03:26:18 CDT 2007


Hi,

Thanks for using the PRF form, can you extend or create one of the SSL tests
under ACE_wrappers/tests or ACE_wrappers/tests/SSL to reproduce this? 

Regards,

Johnny Willemsen
Remedy IT
Postbus 101
2650 AC  Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl  

*** Integrated compile and test statistics see
http://scoreboard.theaceorb.nl ***
*** Commercial service and support for ACE/TAO/CIAO             ***
*** See http://www.theaceorb.nl/en/support.html                 ***

> -----Original Message-----
> From: ace-bugs-bounces at cse.wustl.edu 
> [mailto:ace-bugs-bounces at cse.wustl.edu] On Behalf Of Juraj Ivancic
> Sent: Wednesday, June 27, 2007 10:23 AM
> To: ace-bugs at cs.wustl.edu
> Subject: [ace-bugs] A bug ACE_SSL_Asynch_Stream::close().
> 
>     ACE VERSION: 5.5.8
> 
>     HOST MACHINE and OPERATING SYSTEM:
>        Intel Pentium M, Windows XP SP2, WINSOCK2, MSVC7.1
> 
>     THE $ACE_ROOT/ace/config.h FILE
>     config-win32.h
> 
>     AREA/CLASS/EXAMPLE AFFECTED:
> ACE_SSL_Asynch_Stream class.
> 
>     DOES THE PROBLEM AFFECT:
>         COMPILATION? No
>         LINKING? No
>         EXECUTION? Yes
> 
>     SYNOPSIS:
> ACE_SSL_Asynch_Stream::close() always returns -1.
> 
>     DESCRIPTION:
>     Calling ACE_SSL_Asynch_Stream::close() (once 
> ACE_SSL_Asynch_Stream 
> is opened) always returns -1
> because the SF_STREAM_OPEN flag is never cleared.This means 
> that calling 
> close() will never set
> the SF_DELETE_ENABLE flag.
> 
>     SAMPLE FIX/WORKAROUND:
>     SF_STREAM_OPEN flag should be cleared somewhere. I am not 
> quite sure 
> what would be the best place
> to do that (possibly at the end of 
> ACE_SSL_Asynch_Stream::do_SSL_shutdown ()? ).
> 
> _______________________________________________
> ace-bugs mailing list
> ace-bugs at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/ace-bugs
> 



More information about the Ace-users mailing list