Redis readtime implement bug maybe hangding

(1)gettimeout problem
Redis function getTimeout's timeout should be connect timeout  rather than read timeout..

reference:

https://github.com/nicolasff/phpredis/blob/master/redis.c 

6926 lines of this file

(2)redis connect readtime problem 

Developer  are used to set timeout(connecttimeout and readtime) in function connect,rather than setting setOption OPT_READ_TIMEOUT again,some developer forget set readtime maybe hhvm hangding when read data time out.

reference:
https://github.com/nicolasff/phpredis/blob/94e064940c488805485ad61a470ec9b34784f71f/library.c

1187 lines of this file

but hhvm implement functiom connect don't set readtimeout