summaryrefslogtreecommitdiff
path: root/indra/llcommon/llindexedqueue.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-03-03 06:45:19 -0500
committerNat Goodspeed <nat@lindenlab.com>2012-03-03 06:45:19 -0500
commit75f412549242c949851938ffeac65b9e7145de5e (patch)
treeb27609e89aa0335c020a1e10605352dacd23e678 /indra/llcommon/llindexedqueue.h
parentd72d9f73b6ff93f11e9bc4360d4c7bf2e76d1eec (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/llindexedqueue.h')
0 files changed, 0 insertions, 0 deletions