Home GnuPG
Diffusion GnuPG 6d64ef869dfb

dirmngr: Stricter handling of http error codes.
6d64ef869dfbUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

dirmngr: Stricter handling of http error codes.

* dirmngr/ks-action.c (ks_action_search): Only retry if the keyserver
responded with a '404 Not Found'.
* dirmngr/ks-engine-hkp.c (send_request): Return http status code.
(ks_hkp_search): Likewise.
(ks_hkp_{get,put}): Adapt call to 'send_request'.
* dirmngr/ks-engine.h (ks_hkp_search): Update prototype.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Dec 4 2015, 12:32 PM
Parents
rG6ac57a482f7a: dirmngr: Really search all keyservers for patterns.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG6d64ef869dfb: dirmngr: Stricter handling of http error codes. (authored by Justus Winter <justus@g10code.com>).Dec 4 2015, 1:02 PM