就是在django的view.py里get请求http://www.toutiao.com/group/6389732298552082689/
就会很慢,有时直接超时提示:HTTPConnectionPool(host='toutiao.com', port=80): Max retries exceeded with url
而请求其他页面就不会,如果直接脚本执行也不会。
有朋友测试下?
高洛峰2017-04-18 10:23:24
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/.