diff options
author | Håvard Pettersen <havardpe@oath.com> | 2018-12-10 13:32:56 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@oath.com> | 2018-12-10 13:32:56 +0000 |
commit | ee9e86725a4fbd32c5c214c1a95b0fcf4b0f3db1 (patch) | |
tree | c95f52167b100bdfd2b5a4ab551fd679493e4fc1 /vespalib/src | |
parent | 7d02e9623e395cfb94711df25dcfe874ed412ac1 (diff) |
expose fallback authority (mostly for testing)
Diffstat (limited to 'vespalib/src')
-rw-r--r-- | vespalib/src/vespa/vespalib/portal/portal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/portal/portal.h b/vespalib/src/vespa/vespalib/portal/portal.h index 5ce0ec30b2d..aa696c85fa2 100644 --- a/vespalib/src/vespa/vespalib/portal/portal.h +++ b/vespalib/src/vespa/vespalib/portal/portal.h @@ -109,6 +109,7 @@ public: ~Portal(); static SP create(CryptoEngine::SP crypto, int port); int listen_port() const { return _listener->listen_port(); } + const vespalib::string &my_host() const { return _my_host; } Token::UP bind(const vespalib::string &path_prefix, const GetHandler &handler); }; |