about summary refs log tree commit diff
path: root/src/config.py
diff options
context:
space:
mode:
authorUltraQbik <no1skill@yandex.ru>2024-08-24 17:54:07 +0300
committerUltraQbik <no1skill@yandex.ru>2024-08-24 17:54:07 +0300
commit9c78cc1783af4202313a58f922b9c1cad900d0c3 (patch)
tree7c05ee402b5883c2ba192746030776cf0cfb1d6d /src/config.py
parent5af071d2e8a745a70fa238230995a83766767cb9 (diff)
downloadhttpy-9c78cc1783af4202313a58f922b9c1cad900d0c3.tar.gz
httpy-9c78cc1783af4202313a58f922b9c1cad900d0c3.zip
Update to data streams
Instead of sending full files, and therefore storing them in ram (which is not always possible), send data in chunks of 64KiB
Diffstat (limited to 'src/config.py')
-rw-r--r--src/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.py b/src/config.py
new file mode 100644
index 0000000..e39d18c
--- /dev/null
+++ b/src/config.py
@@ -0,0 +1,2 @@
+BUFFER_LENGTH = 65536
+