具体的Log如下:
W/System.err: OkSocket, duplex read error,thread is dead with exception:com.xuhao.didi.core.exceptions.ReadException: read head is wrong, this socket input stream is end of file read -1 ,that mean this socket is disconnected by server
I/System.out: OkSocket, server_client_read_thread is shutting down
具体的Log如下: W/System.err: OkSocket, duplex read error,thread is dead with exception:com.xuhao.didi.core.exceptions.ReadException: read head is wrong, this socket input stream is end of file read -1 ,that mean this socket is disconnected by server I/System.out: OkSocket, server_client_read_thread is shutting down
就算head读取错误,能否不断开client呢?