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

Re: http_api errors



Sender: "Peter Neveu"

Using the actgrp(*new) causes the program to go through my initilize routine even though I conditioned it and used a "return" opcode (all indicators reset). If it would eliminate the problem, I would combine both programs and setup the http_api in a subroutine - they are pretty much proprietary anyway. Maybe that is why our credit card application has not hit this error.

Performance is not an issue in this application because it would be run once a year at best although I will look into how to set it up with "persistent functions".

If the "changelog" indicates my version then I could be 1.8

Thanks much, Peter Neveu

>From: Scott Klement <sk@xxxxxxxxxxxxxxxx>
>Reply-To: ftpapi@xxxxxxxxxxxxx
>To: ftpapi@xxxxxxxxxxxxx
>Subject: Re: http_api errors
>Date: Thu, 21 Apr 2005 15:21:08 -0500 (CDT)
>
>Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>
>
>
>>I do a SSL connection to a parcel carrier site to build a
>>days-to-deliver table by zip code, but after a few (30 or so ?)
>>loops I get the GSKits Error #4 (insufficient storage).
>
>Are you calling https_init() in a loop?  If so, don't do that.  Call
>https_init() only once, then call http_url_post() (or whatever
>you're using) in a loop.
>
>Or better yet, use the persistent functions, since they don't
>require the setup of a new TCP connection for each call, it'll be
>much more efficient.
>
>
>>I have tried RCLRSC and RCLACTGRP but once I get the error it
>>repeats itself every time until I end the job. The program is
>>similar to example5 in the open source library LIBHTTP and it does
>>have a actgrp(*new). The only fix is to end the job.
>
>What version of HTTPAPI are you using? ACTGRP(*NEW) should clean
>everything up in version 1.10 or later. However, you should never
>call an ACTGRP(*NEW) program in a loop unless you don't care at all
>about performance.
>
>-----------------------------------------------------------------------
>This is the FTPAPI mailing list.  To unsubsribe from the list send
>mail
>to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi
>mymailaddr
>-----------------------------------------------------------------------
----------------------------------------------------------------------- This is the FTPAPI mailing list. To unsubsribe from the list send mail to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr -----------------------------------------------------------------------