HTNet Fix

Why not to move the call of after filters before calling destructor of
Net object. Otherwise statistics collected by HTNet object
will be not available within request After filter.
The functions HTRequest_bytesRead HTRequest_bytesWritten will
always return -1;

The source in HTNet.c should look like:

    /* Call AFTER filters */
    HTNet_executeAfterAll(request, status);
     
    /* Remove object from the table of Net Objects */                 
remove_net(net);

instead of

    /* Remove object from the table of Net Objects */                     
remove_net(net);

    /* Call AFTER filters */
    HTNet_executeAfterAll(request, status);
     



____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1

Received on Thursday, 28 January 1999 15:45:16 UTC