1 2 3 4 5 6 7 8 9 10 11
|
--- a/tests/httpbin.h.in
+++ b/tests/httpbin.h.in
@@ -42,7 +42,7 @@
Instance()
: server
{
- core::posix::exec("/usr/bin/python3", {"-c", "from httpbin import app; app.run()"}, {}, core::posix::StandardStream::stdout /*| core::posix::StandardStream::stderr*/)
+ core::posix::exec("/usr/bin/python3", {"-c", "from httpbin import app; app.config['MAX_FORM_MEMORY_SIZE'] = 1024*1024; app.run()"}, {}, core::posix::StandardStream::stdout /*| core::posix::StandardStream::stderr*/)
}
{
std::this_thread::sleep_for(std::chrono::milliseconds{5000});
|