Messages over Sys.max_string_length in size

Richard Jones <[email protected]> Sat, 2 Jul 2005 18:07:31 +0100
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <[email protected]>
Does netclient support a way to process messages which exceed
Sys.max_string_length bytes in size?  We are downloading some rather
large objects from a remote server, and they are approaching 16 MB in
size.  msg#get_resp_body () returns a string, so there is a danger
that the string could get too long, and I can't see another way to get
the message.  We are particularly interested in passing the response
directly to PXP, which will take input from, for instance, a Buffer.t,
if that's available.

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click