diff options
| author | Giel van Schijndel <[email protected]> | 2011-06-24 19:26:47 +0200 |
|---|---|---|
| committer | Giel van Schijndel <[email protected]> | 2011-06-26 21:07:59 +0200 |
| commit | c9e70d4c0a0585a253708a3c01fe4cee50057a63 (patch) | |
| tree | 4bc87e4c984b82ca289043c0fd535ca82f2caee8 /src/net.cpp | |
| parent | Merge pull request #347 from sipa/delkeyuser (diff) | |
| download | discoin-c9e70d4c0a0585a253708a3c01fe4cee50057a63.tar.xz discoin-c9e70d4c0a0585a253708a3c01fe4cee50057a63.zip | |
rpc server: send '403 Forbidden' to rejected clients
In order to be a proper HTTP implementation clients that aren't allowed
to connect to the RPC server (using -rpcallowip), should receive a
proper HTTP response. So instead of closing the connection on them send
a '403 Forbidden' status.
Signed-off-by: Giel van Schijndel <[email protected]>
Diffstat (limited to 'src/net.cpp')
0 files changed, 0 insertions, 0 deletions