python - MD5 mismatch when upload large file using webpy with uwsgi -
we found big problem, when start webpy following script:
uwsgi --master --plugin python,http --harakiri 60 --harakiri-verbose --post-buffering 8192 --http-raw-body --socket :3899 --wsgi-file uwsgi.py -p 16 --threads 16 --chdir
pwd-d uwsgi.log
and upload 22.9mb file (apk) through form submit /app/upload.json
enctype multipart/form-data
then found these file been changed uwsgi.
$ md5sum *.apk adc952ca3c7702f1134c93738248374b *59b9dd2fde88e94da2a87514.apk adc952ca3c7702f1134c93738248374b *59b9ded2de88e91e13a6f139.apk adc952ca3c7702f1134c93738248374b *59b9e2c6de88e94da2a8764c.apk adc952ca3c7702f1134c93738248374b *59b9ec13de88e91e13a6fc42.apk ac69d0b0f970c9da7f4768e5c3d5ff92 *gs.apk
note gs.apk origin file , other files uploaded form submit.
and these files have same size.
-rwxrwx---+ 24009861 九月 14 09:38 59b9dd2fde88e94da2a87514.apk -rwxrwx---+ 24009861 九月 14 09:45 59b9ded2de88e91e13a6f139.apk -rwxrwx---+ 24009861 九月 14 10:01 59b9e2c6de88e94da2a8764c.apk -rwxrwx---+ 24009861 九月 14 10:41 59b9ec13de88e91e13a6fc42.apk -rwxrwx---+ 24009861 九月 14 09:16 gs.apk
then dump these file hex , diff them tool:
Comments
Post a Comment