diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2012-03-03 06:45:19 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2012-03-03 06:45:19 -0500 |
commit | 75f412549242c949851938ffeac65b9e7145de5e (patch) | |
tree | b27609e89aa0335c020a1e10605352dacd23e678 /indra/llcommon/llfixedbuffer.h | |
parent | d72d9f73b6ff93f11e9bc4360d4c7bf2e76d1eec (diff) |
Break large buffer into chunks to write to LLProcess child pipe.
On Windows we ran into trouble trying to write a biggish (~1 MB) buffer of
data to the child process's stdin pipe with a single apr_file_write() call.
The child actually received corrupted data -- suggesting a possible bug in
either APR or Windows pipes; the same test driving the same logic worked fine
on Mac and Linux. Empirically, iterating over chunks of the buffered data is
more robust.
Diffstat (limited to 'indra/llcommon/llfixedbuffer.h')
0 files changed, 0 insertions, 0 deletions