aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2016-12-31 02:05:07 -0500
committerCory Fields <cory-nospam-@coryfields.com>2017-01-04 09:29:14 -0500
commite5bcd9c84fd3107321ff6dbdef067ba03f2b43cb (patch)
treed13ceab3c2c02ea4a22ec8dc10c5f9d92be0808f /src/net.h
parent53ad9a133a53feb35e31698720cec69c14f56dc1 (diff)
net: make vRecvMsg a list so that we can use splice()
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 6ca402f71d..f346b07357 100644
--- a/src/net.h
+++ b/src/net.h
@@ -605,7 +605,7 @@ public:
CCriticalSection cs_vSend;
std::deque<CInv> vRecvGetData;
- std::deque<CNetMessage> vRecvMsg;
+ std::list<CNetMessage> vRecvMsg;
CCriticalSection cs_vRecvMsg;
uint64_t nRecvBytes;
int nRecvVersion;