这是一个创建于 3146 天前的主题,其中的信息可能已经有所发展或是发生改变。
urllib2 调用 urlopen 方法已经返回 200ok ,但是调用 read()方法的时候一直卡死,是什么情况
wireshark 抓包已经看到有响应报文了
3 条回复 • 2016-07-09 23:29:12 +08:00
![raycool](https://cdn.v2ex.com/gravatar/3535e890dad8960697c4f90990c8dca7?s=48&d=retro) |
|
1
raycool 2016-07-09 12:54:00 +08:00
用 requests 试试
|
![GeekGao](https://cdn.v2ex.com/avatar/6540/f6ff/30946_normal.png?m=1731046133) |
|
2
GeekGao 2016-07-09 23:28:12 +08:00
read 时没做输出吧?
|
![GeekGao](https://cdn.v2ex.com/avatar/6540/f6ff/30946_normal.png?m=1731046133) |
|
3
GeekGao 2016-07-09 23:29:12 +08:00
如果没做标准输出、文件写入,那 strace 看下系统调用,卡哪了
|