in reply to Re: RPC::XML server seems to occasionally send corrupted responses
in thread RPC::XML server seems to occasionally send corrupted responses

Thanks Brian, that's very helpful.

Is there a way to explicitly turn compression off? There doesn't seem to be a documented way to do this (short of setting the compress_thresh parameter to something really high, as you suggested).

Thanks again,
-brian

  • Comment on Re^2: RPC::XML server seems to occasionally send corrupted responses

Replies are listed 'Best First'.
Re^3: RPC::XML server seems to occasionally send corrupted responses
by bpphillips (Friar) on Sep 28, 2004 at 20:50 UTC
    I just peeked at the source code and it appears that you can pass in a no_compress => 1 option when you're creating the server object. This isn't included in any of the documentation unfortunately. Give it a shot...

      Yea, we saw that too, but setting the no_compress option in the server didn't seem to work.

      Thanks very much for all of your insightful help. That seems to have worked around the problem. I have e-mailed the maintainer of the package with your suggested fix, and (hopefully) our data parameters will never get bigger than the threshold (2^31 bytes) that we have set before the bug fix is released! :-)

      Thanks again,
      -nenbrian