http - Python bolck download file, what is the best setting?
世界只因有你
世界只因有你 2017-06-12 09:22:41
0
1
644

I have not studied the basics of the network. Generally, python download files are

while True: x.read(buffer_size)

Go to download large files. But how much should this buffer_size be generally set to? 8192? 1024?

世界只因有你
世界只因有你

reply all (1)
代言

Set to 8192, the default maximum readable size of the system is this number.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!