Merge branch 'develop' of https://github.com/theupdateframework/tuf into develop

This commit is contained in:
Vladimir Diaz 2013-12-12 10:08:37 -05:00
commit 3ab19eeb7e
2 changed files with 3 additions and 3 deletions

View file

@ -238,8 +238,8 @@ def __init__(self, average_download_speed):
self.__average_download_speed = average_download_speed #bytes/second
def __str__(self):
return "Average download speed: "+str(self.__average_download_speed)+\
" bytes/second"
return "Download was too slow. Average speed: "+\
str(self.__average_download_speed)+" bytes/second"

View file

@ -39,7 +39,7 @@
# Since the timestamp role does not have signed metadata about itself, we set a
# default but sane upper bound for the number of bytes required to download it.
DEFAULT_TIMESTAMP_REQUIRED_LENGTH = 2048 #bytes
DEFAULT_TIMESTAMP_REQUIRED_LENGTH = 16384 #bytes
# Set a timeout value in seconds (float) for non-blocking socket operations.
SOCKET_TIMEOUT = 1 #seconds