aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpclient.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add runtime status/control of logging (#419)Dan Engelbrecht2023-09-221-2/+2
| | | | | | | | | | | - Feature: New endpoint `/admin/logs` to query status of logging and log file locations and cache logging - `enablewritelog`=`true`/`false` parameter to control cache write logging - `enableaccesslog`=`true`/`false` parameter to control cache access logging - `loglevel` = `trace`/`debug`/`info`/`warning`/`error` - Feature: New zen command `logs` to query/control zen logging - No arguments gives status of logging and paths to log files - `--cache-write-log` `enable`/`disable` to control cache write logging - `--cache-access-log` `enable`/`disable` to control cache access logging - `--loglevel` `trace`/`debug`/`info`/`warning`/`error` to set debug level
* Make sure error logging or destructors don't throw exception when trying to ↵Dan Engelbrecht2023-09-121-14/+21
| | | | | get file name from handle (#393) - Bugfix: Make sure error logging or destructors don't throw exception when trying to get file name from handle
* add console logging to zen command (#389)Dan Engelbrecht2023-09-081-4/+10
| | | | properly set trace log level if IsVerbose add log category to http client
* Extend http client (#387)Dan Engelbrecht2023-09-081-74/+437
| | | * extend http client with configuration, headers, parameters and disk streaming upload/download
* oplog mirror support (#367)Stefan Boberg2023-08-211-1/+22
| | | | feature: added oplog-mirror command. this can be invoked to export oplog contents to corresponding files
* Additional trace instrumentation (#312)Stefan Boberg2023-05-161-0/+17
| | | | | | | | | * added trace instrumentation to upstreamcache * added asio trace instrumentation * added trace annotations for project store * added trace annotations for BlockStore * added trace annotations for HttpClient * added trace annotations for CAS/GC
* some HttpClient changes eliminating some cpr helpersStefan Boberg2023-05-151-18/+6
|
* Better defaults for zen cli (#302)Stefan Boberg2023-05-151-0/+46
| | | | | added ZenCmdBase::ResolveTargetHostSpec - this is a helper which provides better default behaviour for commands which interact with a local zen server instance. more specifically it picks a default based on which processes are actually running on the local machine this change also wires up the Scrub command along with some required HttpClient improvements
* 247 complete httpclient implementation (#269)Stefan Boberg2023-05-051-18/+250
| | | | | | | | | * implemented HttpClient connection pooling * implemented missing verbs * added response helpers (CbObject/CbPackage/text) * added RwLock::WithSharedLock and RwLock::WithExclusiveLock * added some noexcept annotations on RwLock * removed CPR dependency in httpclient.h
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-0/+176
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees