PyProxy icon indicating copy to clipboard operation
PyProxy copied to clipboard

select(.....,0.5), it will be too slow ....?

Open fankeke opened this issue 9 years ago • 0 comments

he ,buddy, I read you code, it's good . but I have two question:

1, In recvall fun,you use select(.....,0.5) , so 0.5 s will be too slow for network, why don't set socket to be nonblocking??

2, when finish one time request and response ,you just close both socket , will it be too rush? I mean some connections will be used again in keep-alive ...

fankeke avatar Apr 22 '16 08:04 fankeke