Closed this issue 10 years ago · 1 comments
recipes / tpc / TcpStream.cc中的第50行
int nr = sock_.write(buf, len);
是否应换成
int nr = sock_.write(buf + written, len - written);
多谢指出,已修复。