https://bz.apache.org/bugzilla/show_bug.cgi?id=65348

--- Comment #6 from nemo <[email protected]> ---
Bit of good news for me - I reproduced it with latest release Rocket v0.4.10
and their reference examples/static_files.
STR (sorry for mercurialisms, I don't care for git's user interface or
featureset at all). Also this assumes rust stable installed. Rustup takes care
of that.

① hg clone git+https://github.com/SergioBenitez/Rocket.git;hg up -r v0.4.10
② cd Rocket/examples/static_files
③ cargo build
④ scp ../../target/debug/static_files testserver:
⑤ ssh testserver
⑥ mkdir static
⑦ cp /var/www/html/test.json static     # this is the large 2.7MB json file.
I'm pretty sure this will be a problem with any random large file though.  I
will verify with something large and public like a PG text next.
⑧ ./static_files

And, in Apache 2.4.38 I was using:
SetOutputFilter RATE_LIMIT
SetEnv rate-limit 50
SetEnv rate-initial-burst 50

Timeout 120
ProxyTimeout 300
ProxyPass "/apitest"  "http://localhost:8000/";

Then just hitting http://testserver/apitest/test.json

Once again, the RATE_LIMITed Apache 2.4.38 caused truncation but a wget or curl
--limit-rate directly to port 8000 was not a problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to