aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/httpasio.cpp
Commit message (Collapse)AuthorAgeFilesLines
* restructured zenhttp (#472)Stefan Boberg2023-10-131-1052/+0
| | | separating the http server implementations into a directory and moved diagsvcs into zenserver since it's somewhat hard-coded for it
* pluggable asio transport (#460)Stefan Boberg2023-10-111-0/+1
| | | | | | | | | added pluggable transport based on asio. This is in an experimental state and is not yet a replacement for httpasio even though that is the ultimate goal also moved plugin API header into dedicated part of the tree to clarify that it is meant to be usable in isolation, without any dependency on zencore et al moved transport implementations into dedicated source directory in zenhttp note that this adds code to the build but nothing should change at runtime since the instantiation of the new code is conditional and is inactive by default
* hide HttpAsioServer interface behind factory function (#463)Stefan Boberg2023-10-111-0/+27
|
* experimental pluggable transport support (#436)Stefan Boberg2023-10-101-4/+3
| | | this change adds a `--http=plugin` mode where we support pluggable transports. Currently this defaults to a barebones blocking winsock implementation but there is also support for dynamic loading of transport plugins, which will be further developed in the near future.
* factored out http parser from asio into separate files (#444)Stefan Boberg2023-10-031-450/+15
| | | | factored out http request parsing from httpasio into separate files to enable code to be reused for different transports
* Handle OOM and OOD more gracefully to not spam Sentry with error reports (#434)Dan Engelbrecht2023-10-021-2/+24
| | | | | | - Improvement: Catch Out Of Memory and Out Of Disk exceptions and report back to reqeuster without reporting an error to Sentry - Improvement: If creating bucket fails when storing and item in the structured cache, log a warning and propagate error to requester without reporting an error to Sentry - Improvement: Make an explicit flush of the active block written to in blockstore flush - Improvement: Make sure cache and cas MakeIndexSnapshot does not throw exception on failure which would cause and abnormal termniation at exit
* add more trace scopes (#362)Dan Engelbrecht2023-09-151-7/+11
| | | | | * more trace scopes * Make sure ReplayLogEntries uses the correct size for oplog buffer * changelog
* http and httpsys config options (#401)Dan Engelbrecht2023-09-141-2/+4
| | | | * Added `--http-threads`, `--httpsys-async-work-threads`, `--httpsys-enable-request-logging` and `--httpsys-enable-async-response` command line options to zenserver * remove unused CreateHttpSysServer
* handle exception in asio header parsing (#348)Dan Engelbrecht2023-08-091-50/+57
| | | | * make sure we return an error code instead of throwing exception if header parsing fails * changelog
* cleaned up http/asio loggingStefan Boberg2023-06-161-7/+7
|
* added thread names to timer, upstream monitorStefan Boberg2023-06-071-1/+10
| | | | also altered http-asio thread naming scheme
* Additional trace instrumentation (#312)Stefan Boberg2023-05-161-0/+3
| | | | | | | | | * 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
* clear partially formatted response if request fails (http asio) (#310)Dan Engelbrecht2023-05-161-0/+3
| | | | * simplfy error response by dropping partially formatted response * Update CHANGELOG.md
* Close down http server gracefully when exiting even while requests are still ↵Dan Engelbrecht2023-05-111-10/+48
| | | | | being processed (#290) * Close down http server gracefully when exiting even while requests are still being processed
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-0/+1372
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees