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

Re: httpapi_debug



   Hi Scott,
   I faced the problem a few months ago,  working for a customer and
   leaving the debug instruction when going to production. I was looking
   for a problem in my code  and I had to dig into the source of the
   service program to understand , I did not check the version.
   I just have had a look of the  the source of the last version  of
   HTTPAPI and it appears to be fixed as the debug file is now closed
   before any open.
   So it was an experience on an old version.
   Sorry, I will learn from this : best practice is to use the last
   version...
   Thank you,
   Paul
   From:        Scott Klement <sk@xxxxxxxxxxxxxxxx>
   To:        HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
   Date:        25/02/2015 23:01
   Subject:        Re: httpapi_debug
   Sent by:        ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
     __________________________________________________________________

   Paul,
   This used to be a problem in old versions of HTTPAPI, but it shouldn't
   be the case anymore...   HTTPAPI should be closing the debug file
   automatically after every request, and re-opening for each subsequent
   request.
   Are you still having this problem in current versions of HTTPAPI? Or is
   this based on experience with older versions?
   On 2/24/2015 11:37 AM, paul.roy@xxxxxxx wrote:
   >     and just to share my short experience: it is in the doc but not
   in the
   >     examples...
   >     http_debug(*ON) opens a new file which is open until
   http_debug(*OFF)
   >     is executed...
   >     So every time you use http_debug(*ON) do not forget to add also
   >     http_debug(*OFF)
   >     otherwise you could face after some times a 'max files open'
   error ...
   >
   >
   -----------------------------------------------------------------------
   This is the FTPAPI mailing list.  To unsubscribe, please go to:
   [1]http://www.scottklement.com/mailman/listinfo/ftpapi
   -----------------------------------------------------------------------

References

   1. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------