diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2020-02-26 17:43:56 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2020-02-27 17:40:57 +0200 |
commit | 9b546466f4e0f34a63e5f49c752dffea3ef9a47a (patch) | |
tree | c22c12030250c22e76bf3c4c3cfcfb2a51b614c0 /src/wrapacl.c | |
parent | 3b2d57c14f1ed207c79362b7136e3da4054ad817 (diff) | |
download | ping903-9b546466f4e0f34a63e5f49c752dffea3ef9a47a.tar.gz ping903-9b546466f4e0f34a63e5f49c752dffea3ef9a47a.tar.bz2 |
ping903q: optionally supply credentials in the command line
New command line option -R supplies the authentication realm for
ping903q. If given, the credentials for that realm will be looked
up on startup and sent with each HTTP request. This allows the program
to avoid sending an extra HTTP request.
* src/ping903q.c (get_auth_creds): Split into two functions:
get_auth_creds and get_realm_creds.
(http_query): Don't attemt send lookup for authorization credentials.
(main): New option -R (authentication realm). Look up credentials for
that realm if given.
Diffstat (limited to 'src/wrapacl.c')
0 files changed, 0 insertions, 0 deletions