HomePhabricator

rpc server: send '403 Forbidden' to rejected clients
c9e70d4c0a05Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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 <me@mortis.eu>

Details

Provenance
Giel van Schijndel <me@mortis.eu>Authored on Jun 24 2011, 17:26
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGd0d80170a2ca: Merge pull request #347 from sipa/delkeyuser
Branches
Unknown
Tags
Unknown

Event Timeline

Giel van Schijndel <me@mortis.eu> committed rSTAGINGc9e70d4c0a05: rpc server: send '403 Forbidden' to rejected clients (authored by Giel van Schijndel <me@mortis.eu>).Jun 26 2011, 19:07