aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2016-12-31 02:05:07 -0500
committerCory Fields <[email protected]>2017-01-04 09:29:14 -0500
commite5bcd9c84fd3107321ff6dbdef067ba03f2b43cb (patch)
treed13ceab3c2c02ea4a22ec8dc10c5f9d92be0808f /src/net.h
parentnet: fix typo causing the wrong receive buffer size (diff)
downloaddiscoin-e5bcd9c84fd3107321ff6dbdef067ba03f2b43cb.tar.xz
discoin-e5bcd9c84fd3107321ff6dbdef067ba03f2b43cb.zip
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 6ca402f71..f346b0735 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;