aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-08-25 12:39:30 +0200
committerWladimir J. van der Laan <[email protected]>2017-08-25 15:37:24 +0200
commit82dd7195e1fb943f9cd45a48188f9678219c0206 (patch)
tree01080ed5fe5bef69ea7288bf04811d52bc4e18aa /src/httpserver.cpp
parentMerge #11112: [developer-notes] By default, declare single-argument construct... (diff)
downloaddiscoin-82dd7195e1fb943f9cd45a48188f9678219c0206.tar.xz
discoin-82dd7195e1fb943f9cd45a48188f9678219c0206.zip
rpc: Write authcookie atomically
Use POSIX rename atomicity at the `bitcoind` side to create a working cookie atomically: - Write `.cookie.tmp`, close file - Rename `.cookie.tmp` to `.cookie` This avoids clients reading invalid/partial cookies as in #11129.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions