python - django里使用requests请求问题
巴扎黑
巴扎黑 2017-04-18 10:21:24
0
2
626

就是在django的view.py里get请求http://www.toutiao.com/group/6389732298552082689/
就会很慢,有时直接超时提示:HTTPConnectionPool(host='toutiao.com', port=80): Max retries exceeded with url
而请求其他页面就不会,如果直接脚本执行也不会。
有朋友测试下?

巴扎黑
巴扎黑

reply all(2)
小葫芦

Look at the process of processing the request to see if there are any time-consuming operations; look at the regular expression matching the URL to see if reDOS will occur when executing something like group/6389732298552082689/.

Ty80

Post the code for analysis

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template