diff options
author | Mauro Sardara <msardara@cisco.com> | 2020-06-09 00:03:15 +0200 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2020-06-09 01:15:22 +0200 |
commit | a84ff82bb37ac53f20639d6e5e7f19d002459f31 (patch) | |
tree | e2ff9697793c320aaf17da2dd24b3611d64aa112 /libtransport/src/implementation | |
parent | 37819ae5a3631afc8329d05d73ead9091fc513b3 (diff) |
[HICN-623] Initialize is_async in ConsumerSocket constructor.
Also force transports to use base method TransportProtocol::start() instead
of redefining their own start(), in order to have the callbacks and the
boolean is_async_ initialized upon protocol start.
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I780b26cca5b8dc59f0def5c08a032bbc90371acd
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'libtransport/src/implementation')
-rw-r--r-- | libtransport/src/implementation/socket_consumer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libtransport/src/implementation/socket_consumer.h b/libtransport/src/implementation/socket_consumer.h index 175678209..5e5073956 100644 --- a/libtransport/src/implementation/socket_consumer.h +++ b/libtransport/src/implementation/socket_consumer.h @@ -54,6 +54,7 @@ class ConsumerSocket : public Socket<BasePortal> { rate_estimation_observer_(nullptr), rate_estimation_batching_parameter_(default_values::batch), rate_estimation_choice_(0), + is_async_(false), verifier_(std::make_shared<utils::Verifier>()), verify_signature_(false), key_content_(false), |