mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-29 21:18:02 +00:00
[2669] Initialize memory in tcp unit test
This commit is contained in:
parent
39a8fecdf3
commit
7725df2d75
@ -83,7 +83,9 @@ public:
|
|||||||
PrivateData() :
|
PrivateData() :
|
||||||
error_code_(), length_(0), cumulative_(0), expected_(0), offset_(0),
|
error_code_(), length_(0), cumulative_(0), expected_(0), offset_(0),
|
||||||
name_(""), queued_(NONE), called_(NONE)
|
name_(""), queued_(NONE), called_(NONE)
|
||||||
{}
|
{
|
||||||
|
memset(data_, 0, MIN_SIZE);
|
||||||
|
}
|
||||||
|
|
||||||
asio::error_code error_code_; ///< Completion error code
|
asio::error_code error_code_; ///< Completion error code
|
||||||
size_t length_; ///< Bytes transferred in this I/O
|
size_t length_; ///< Bytes transferred in this I/O
|
||||||
|
Loading…
x
Reference in New Issue
Block a user