[omniORB] Maximum message size

Nick Brook ncb@adaptivebroadband.com
Mon, 23 Aug 1999 12:52:48 +0100


Does anyone know if there is a hard limit to the size of objects that
can be passed from a client to a server? I ask because I'm writing a
file upload scheme using the following fragment of IDL:

    typedef sequence<octet> data_seq;
    
    struct file
    {
        string name;
        data_seq data;
    };

    typedef sequence<file> fileList;
    void uploadFileSet(in fileList files);

uploadFileSet works fine for a filesize of 1903680 bytes, but throws a
CORBA::MARSHAL exception when the file is 2428092 bytes (the server code
is never reached).

Cheers, 
	Nick Brook
	
	AdaptiveBroadband Ltd,
	Cambridge
	UK