首先是nginx上的一些配置

#参数都有所调整.目的是解决代理过程中出现的一些502 499错误
tcp_nopush on;
tcp_nodelay on;
proxy_ignore_client_abort on;


其次python代码中在建立连接与发送request时要有一定的timewait,比如time.sleep(1)

 

相关文章:

  • 2021-10-09
  • 2022-12-23
  • 2021-07-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案