summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client
AgeCommit message (Expand)Author
2021-05-05Emit an integer instead of a string in JSON outputjob
2021-05-05Clarify -n behaviorjob
2021-05-04Similar to rsync repo delay deletes for rrdp repos to after processingClaudio Jeker
2021-04-21HTTP errors are logged by the http module. No need to repeat them.Claudio Jeker
2021-04-21When setting RRDP_STATE_PARSE_ERROR a warning is issued so there is no needClaudio Jeker
2021-04-20Add keep-alive support to the HTTP module.Claudio Jeker
2021-04-20Switch some warnings to logx() to reduce log noise on runs without -v.Claudio Jeker
2021-04-20more KNFTheo de Raadt
2021-04-19code review results in KNF, and moving local variables into lowest scopeTheo de Raadt
2021-04-15Reshuffle and reindent code. No functional change.Claudio Jeker
2021-04-15Rework the http code to require poll() only when really needed.Claudio Jeker
2021-04-15Make rpki-client -V output nicer.Claudio Jeker
2021-04-15Call rrdp_data_handler() for any kind of poll event that has happened.Claudio Jeker
2021-04-15Do not only check the serial number but also the session_id beforeClaudio Jeker
2021-04-14move the RPKI_VERSION define into its own version.h file, helps portable.Sebastian Benoit
2021-04-13Adjust http_done() the be more like http_fail() -- only do the messageClaudio Jeker
2021-04-13Before adding a file to the temporary rrdp repo remove it from theClaudio Jeker
2021-04-12Cast XML_GetCurrentLineNumber() to unsigned long long in warnx sinceClaudio Jeker
2021-04-11Fix two typos in commentsjob
2021-04-09Tidy up the http state machine a bit. Make sure that http_nextstate() runsClaudio Jeker
2021-04-08Expose two extra metrics via JSONjob
2021-04-08Increase buffer size for http_info a bit. 64 chars is a bit short forClaudio Jeker
2021-04-08Refactor the regular and chunked data write so that one function canClaudio Jeker
2021-04-08Switch logic from != to ==. Makes the code easier to read.Claudio Jeker
2021-04-08Change the order of the poll loop to first process active http connectionsClaudio Jeker
2021-04-08Shuffle deck chairs so that the order is more logical (at least for me).Claudio Jeker
2021-04-08Prevent a use-after-free access in case of a http redirect by also clearingClaudio Jeker
2021-04-08More cleanup of the main function. Use a loop to collect all childs withClaudio Jeker
2021-04-08Missing setproctitle("rrdp") noticed by deraadt@Claudio Jeker
2021-04-08reword manpage on -njob
2021-04-07In some cases the http process terminates and Theo's and my theory is thatClaudio Jeker
2021-04-07Free the parser then close the file. Seems like the better order.Claudio Jeker
2021-04-07minor KNF found while hunting for a bugTheo de Raadt
2021-04-07Handle bind() failure like connect() or socket() failure and try nextClaudio Jeker
2021-04-07When merging a repo even files to delete can be part of the temporaryClaudio Jeker
2021-04-06Do not return when a hash check failed in rrdp_data_handler() insteadClaudio Jeker
2021-04-06uppercase "HTTP";Jason McIntyre
2021-04-06Mention the http client in two places.Theo Buehler
2021-04-06Cleanup http_connect() and make it look more like the example inClaudio Jeker
2021-04-06Move the http_fail() call out of http_free(). Doing the error reportingClaudio Jeker
2021-04-06Kill unused globals and swap the POLLIN and POLLOUT handler for theClaudio Jeker
2021-04-02In http_connect() if the connect was actually successful break out of theClaudio Jeker
2021-04-02info gotten via getnameinfo in http_connect() is not used anymore, it isTheo de Raadt
2021-04-02Include the default cert.pem file path in tls_load_file error message.Claudio Jeker
2021-04-02Don't leak the uri of a delta with duplicate serial.Theo Buehler
2021-04-02fix sentence structure;Jason McIntyre
2021-04-02fix typo + some whitespaceTheo Buehler
2021-04-02Indent struct members like everywhere else.Theo Buehler
2021-04-01Update manpage about RRDPjob
2021-04-01sort options list;Jason McIntyre