[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: http_url_post_raw api does not think it received valid data whenit really did
Sender: Scott Klement <klemscot@xxxxxxxxxxxx>
Make sure you only call https_init() once.
So, if you're doing 50 posts, it should look like this:
https_init(APP_ID)
for x = 1 to 50
http_url_post_raw()
endfor
The point being that you don't want to call https_init 50 times, just
post_raw.
if you're calling the ENTIRE program 50 times, then you're calling
https_init 50 times, which would run you out of memory very quickly.
On Mon, 1 Mar 2004, Paul Prudhomme wrote:
>
> I am running a program based on HTTPS Example 5. I am sending about 50
> requests to an HTTPS sever and then I get the following error message.
> 'gsk_env_init: GSKit error #4'
>
> http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/rzab6/rzab6ssltrouble.htm
> 4 - CPCBC80 - GSK_INSUFFICIENT_STORAGE
> GSK_INSUFFICIENT_STORAGE ( Unable to allocate storage for the requested
> operation.)
>
> Should I be 'resetting' something after X number of requests?
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------