diff options
author | Azul <azul@riseup.net> | 2016-04-10 14:22:12 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-04-10 17:31:24 +0200 |
commit | 78f11d66a8521492a2fbca78c9e9c9e99ebc4a3e (patch) | |
tree | 3d4b1737b972268baccf6e535d858113288a4eab /lib/nickserver/hkp/fetch_key.rb | |
parent | 8bf870a11aa713ac91b22d790c5fcb129734406e (diff) |
bugfix: 404 if no key matches, fixes #6789
I also separated the parsing of the hkp response from
FetchKeyInfo.
This way FetchKeyInfo has the EM specific code that has
sideeffects and the logic is in a class without sideeffects
and (almost) without state.
The only state we keep is the KeyInfo array that contains
all the information the server returns. This way we avoid
parsing the response multiple times.
Diffstat (limited to 'lib/nickserver/hkp/fetch_key.rb')
0 files changed, 0 insertions, 0 deletions