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

Re: [MacPerl] Is there a problem with MacPerl's CGI extension file?



At 10:04 -0400 7/8/98, Stˇphane Jose wrote:
>Jon Warbrick mentionned some limitation in AppleEvents (see quoted message).
>
>Where does the limitation effectively lies? Within MacPerl, the web server
>or the OS itself? Is there an 'official' limit to the size of the data that
>a MacPerl cgi script can safely pass to a web server?

There is not a limit **in AppleEvents** in any reasonably-recent MacOS
version (starting about the foolishly-named System 7 Pro, except for people
who like to remove parts of the System).  [Apple events in original System
7 had an internal limit...AppleScript in System 7Pro and later patched
around it, and sometime the limit went away, I think, even if one did
remove AppleScript for some odd reason.]

Older WebStar versions imposed a 32K limit on what it would accept back
from a CGI.  I haven't used newer WebStar or other servers, so I don't know
what limits they may impose.  WebStar created the multi-part reply as the
way to return lots of data (among other uses)...I don't know what other
servers do with that.

The last WebStar version I used muttered something foolish about not
getting TEXT back when it meant it had received "too much text".

Chuck had reasons for the limit, having, as I recall, to do with threads
and memory allocation.

   --John
--
John Baxter   jwblist@olympus.net      Port Ludlow, WA, USA
Give a man a fish and you feed him for a day.  Teach him to fish,
and you get rid of him for the weekend.

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch