fix division by zero in send buffer debug logging

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9594 a83610d8-ad2a-0410-a6ab-fc0612d85776
fix test_http_connection for windows

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9595 a83610d8-ad2a-0410-a6ab-fc0612d85776
we're not always supposed to gzip test_file in web_server.py (unit test)

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9596 a83610d8-ad2a-0410-a6ab-fc0612d85776
web test suite fix

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9598 a83610d8-ad2a-0410-a6ab-fc0612d85776
some more piece_picker asserts

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9599 a83610d8-ad2a-0410-a6ab-fc0612d85776
change peer priority to use crc32c instead of sha1

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9600 a83610d8-ad2a-0410-a6ab-fc0612d85776
update peer ranks when our external IP changes

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9601 a83610d8-ad2a-0410-a6ab-fc0612d85776
fix crc32 typo

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9607 a83610d8-ad2a-0410-a6ab-fc0612d85776
fix invariant check macro

git-svn-id: https://svn.code.sf.net/p/libtorrent/code/trunk@9611 a83610d8-ad2a-0410-a6ab-fc0612d85776