We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e21b2a3 + a504da4 commit 90cabefCopy full SHA for 90cabef
src/scitokens_internal.cpp
@@ -734,12 +734,12 @@ std::unique_ptr<AsyncStatus> Validator::get_public_keys_from_web_continue(
734
auto metadata = std::string(buffer, len);
735
picojson::value json_obj;
736
auto err = picojson::parse(json_obj, metadata);
737
- status->m_cget.reset();
738
if (!err.empty()) {
739
throw JsonException("JSON parse failure when downloading from the "
740
" public key URL " +
741
status->m_cget->get_url() + ": " + err);
742
}
+ status->m_cget.reset();
743
744
auto now = std::time(NULL);
745
// TODO: take expiration time from the cache-control header in the
0 commit comments