[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with debug_proc() and potential character translation issue



Scott,

Another problem I have is that I have to call additional procedures to 
initialize and stop character translation before and after your http_url_* 
procedures. It was quite easier for me if debug_proc() was called not only 
for debug data but also when opening and closing the debug log. That way I 
only had to register my debug data handler and nothing else.

For that purpose you (or perhaps I) could add a new optional parameter 
i_operType to debug_proc() that could be set to one of the following 
values:

   HTTP_DEBUG_LOG_OPEN     1
   HTTP_DEBUG_LOG_DATA     2
   HTTP_DEBUG_LOG_CLOSE    3

For OPEN and CLOSE peData and peLen would be set to *NULL and 0.

What do you think about that?

Regards,

Thomas

--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the sender.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------