While creating a testcase for bug #6 I ended up finding an unreliable result with proxying non-chunked content. Here's the testcase:
https://github.com/pedrocr/camerasink/blob/b01aac64e8aaef96f8527f6e29768cc1f5f6199b/testcases/puma_unreliable_proxying.ru
Again this is runnable as "rackup puma_unreliable_proxying.ru".
Then asking for the same resource multiple times from the original server works fine:
$ curl http://localhost:9000
Hello!
pedrocr@wintermute:~$ curl http://localhost:9000
Hello!
pedrocr@wintermute:~$ curl http://localhost:9000
Hello!
pedrocr@wintermute:~$ curl http://localhost:9000
Hello!
pedrocr@wintermute:~$ curl http://localhost:9000
Hello!
But doing the same from the proxy server sometimes returns an empty result:
pedrocr@wintermute:~$ curl http://localhost:9292
Hello!
pedrocr@wintermute:~$ curl http://localhost:9292
pedrocr@wintermute:~$ curl http://localhost:9292
Hello!
While creating a testcase for bug #6 I ended up finding an unreliable result with proxying non-chunked content. Here's the testcase:
https://github.com/pedrocr/camerasink/blob/b01aac64e8aaef96f8527f6e29768cc1f5f6199b/testcases/puma_unreliable_proxying.ru
Again this is runnable as "rackup puma_unreliable_proxying.ru".
Then asking for the same resource multiple times from the original server works fine:
But doing the same from the proxy server sometimes returns an empty result: