summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/httpserver
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-03-20 08:10:08 -0500
committerWill Dietz <w@wdtz.org>2018-03-20 08:14:04 -0500
commit9aa22191cf38df2c99ef79c505f6e7d85a16adb8 (patch)
tree265389e2ce0dfa637918dc628d6275ff725b79f5 /pkgs/development/python-modules/httpserver
parent7e44f19fceaae77422b04f74407f600c404e8ab2 (diff)
python*: set thread stack size on musl
Ensure recursion limit is reached before stack overflow. Python does this for OSX and BSD: https://github.com/python/cpython/blob/13ff24582c99dfb439b1af7295b401415e7eb05b/Python/thread_pthread.h#L22 Size of 1MB chosen to match value in Alpine: https://git.alpinelinux.org/cgit/aports/commit/main/python2/APKBUILD?id=2f35283fec8ec451fe5fb477dd32ffdcc0776e89 Manual testing via Alpine's test-stacksize.py crashes on these previously, and works with these changes.
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions