|
Hello, I'm trying to retrieve a large piece of data (approx 2mb) in a rpg cgi program by using getenv(content_length) alloc(content_length) D cgiparse PR extproc('QzhbCgiParse') D cmd 20a (in this case "-Post") D fmt 8a (in this case "CGI0100") D target 32767a based(mp) (in this case a pointer from alloc(Content_Length)) D targetlen 10I 0 D responselen 10I 0 D Errorcode 16a I'm receiving MCH6902 The requested heap space operation is invalid, and C2M1212 The pointer parameter passed to free or realloc is not valid. If I try using qtmhrdstin api instead of qzhbcgiparse all data is received but the format of the data makes me feel unhappy. Am I doing something very wrong? Currently running on OS/400 V5R1 and the original HTTP server. Best regards, Stefan Tageson Informatikk Sverige AB Propellergatan 1, SE-211 19 Malmö, Sweden Cell: +46 733 913 813
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.