[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HTTPAPI EXAMPLE1 blows up on V4R4 box. I'm just starting to investigate.
Hi James,
I've glanced over the Header_Get_Req_Cookies routine, and I can't see
anything in the code that's a likely suspect for the MCH1210. I've
looked for statement 4111, but in my copy of the code, statement 4111 is
a comment.
Would you please run the code in debug (STRDBG) and tell me where you're
receiving this error?
If you're really in a bind, you can disable cookie parsing by calling
the http_use_cookies() procedure prior to calling http_url_get(). Just
add a line that says "callp http_use_cookies(*OFF)" and it will disable
cookie parsing, which should prevent HTTPAPI from calling the routine
you're having trouble with. But, of course, I won't be able to fix the
problem if you circumvent the problem this way... so if you have time
to debug the situation, it'd be helpful.
James Lampert wrote:
> Late Friday, I finally had time to start learning HTTPAPI, and I found a
> problem. It seems that I'm getting an MCH1210 (receiver value too small
> to hold result)
>
> From program: HTTPAPIR4
> From module: HEADERR4
> From procedure: HEADER_GET_REQ_COOKIES
> From statement: 4111
>
> I'm only starting to investigate, but any suggestions that might point
> me in the right direction would be helpful.
>
> I just checked from Firefox on my WinDoze box, and the file EXAMPLE1
> attempts to download,
> http://www.scottklement.com/rpg/socktut/tutorial.pdf
> is definitely there, and definitely not blocked by our firewall; I also
> checked from the 400 in question, and it can definitely PING
> www.scottklement.com successfully.
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------