chiark / gitweb /
server: switch Amazon AWS S3 upload to streaming mode
authorHans-Christoph Steiner <hans@eds.org>
Tue, 25 Aug 2015 14:29:03 +0000 (16:29 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 25 Aug 2015 14:55:52 +0000 (16:55 +0200)
commit3af38569a26f78bd2ce23e9441f1f3d993b4325b
tree0e61060c996e85b3b56719a638fb35e315b82f66
parentb5cbb4382fc90fe7ad7460b07cebf303966bac65
server: switch Amazon AWS S3 upload to streaming mode

This keeps memory usage low because it only has to read a chunk at a time
into memory while before it read the whole file into memory before
uploading it.

This also seems to handle setting the permissions ACL better.
fdroidserver/server.py