aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorSuhas Daftuar <[email protected]>2019-04-16 15:48:55 -0400
committerSuhas Daftuar <[email protected]>2019-05-28 16:22:10 -0400
commitf635a3ba118aeaf172534f9f802721a6ef07cafc (patch)
treea6dfb9d887728b591446de14177a982ba277a63d /src/httpserver.cpp
parentRemove NOTFOUND transactions from in-flight data structures (diff)
downloaddiscoin-f635a3ba118aeaf172534f9f802721a6ef07cafc.tar.xz
discoin-f635a3ba118aeaf172534f9f802721a6ef07cafc.zip
Expire old entries from the in-flight tx map
If a peer hasn't responded to a getdata request, eventually time out the request and remove it from the in-flight data structures. This is to prevent any bugs in our handling of those in-flight data structures from filling up the in-flight map and preventing us from requesting more transactions (such as the NOTFOUND bug, fixed in a previous commit). Co-authored-by: Anthony Towns <[email protected]>
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions