Details
-
Bug
-
Resolution: Done
-
Trivial - P5
-
None
-
2.5.1
-
None
-
Fully Compatible
-
ALL
Description
_recv can return -1 so it can decrement the value of _bytesIn. It is currently only being used for metrics.
int Socket::unsafe_recv( char *buf, int max ) {
|
int x = _recv( buf , max );
|
_bytesIn += x;
|
return x;
|
}
|