W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2001

Re: SSL does not work after there has been a timeout

From: <andrew.d.falk@accenture.com>
Date: Thu, 31 May 2001 10:07:10 -0400 (EDT)
To: www-lib@w3.org
Message-ID: <OF9933181E.763C903F-ON86256A5D.004BADC6@accenture.com>
I ended up editing the HTSSLReader_close() function in order to make it
work.  I made it act like HTSSLWriter_close() in that it calls HTSSL_free()
if htssl doesn't equal NULL.  It seems to work like a charm.  Could someone
please tell me if they see a potential problem with this code?  Thanks


This is how I changed it:

PRIVATE int HTSSLReader_close (HTInputStream * me)
    int status = HT_OK;
    HTNet * net = HTHost_getReadNet(me->host);
    if (net && net->readStream) {
        if ((status = (*net->readStream->isa->_free)(net->readStream))
            return HT_WOULD_BLOCK;
        net->readStream = NULL;

    /*code added*/
    if (me->htssl) {
        me->htssl = NULL;
    /*end of added coded*/

    return status;
Received on Friday, 1 June 2001 13:40:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:54 UTC