| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | httpasio: Implemented some handling for Expect: header | Stefan Boberg | 2021-10-18 | 1 | -17/+33 |
| | | | | | | | We do not actually send a 100 CONTINUE still though since this is not necessary with the changes we made UE-side Also tweaked some of the internal request state management and added some debug logging | ||||
| * | project store: DELETE {project} request now produces a correct HTTP response | Stefan Boberg | 2021-10-18 | 1 | -0/+2 |
| | | |||||
| * | httpsys: Added automatic translation of 200 OK -> 204 NO CONTENT for case ↵ | Stefan Boberg | 2021-10-18 | 1 | -2/+10 |
| | | | | | where there is no body (upset some clients) | ||||
| * | structured cache: Implemented GarbageCollect() for disk and memory buckets | Stefan Boberg | 2021-10-16 | 1 | -26/+87 |
| | | |||||
| * | Fixed up some more windows include issues | Stefan Boberg | 2021-10-15 | 3 | -2/+7 |
| | | |||||
| * | Fixed logic for picking a default http implementation, which was caused by ↵ | Stefan Boberg | 2021-10-15 | 1 | -5/+5 |
| | | | | | inconsistent preprocessor definitions | ||||
| * | zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵ | Stefan Boberg | 2021-10-15 | 26 | -85/+77 |
| | | | | | | | | | are used without an explicit definition Also fixed up various code to compile with this, by using ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END macros Removed prewindows.h/postwindows.h since they are no longer to be used due to the above | ||||
| * | zencore: added ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END | Stefan Boberg | 2021-10-15 | 1 | -0/+17 |
| | | | | | These should be used around third party header includes to ensure they don't fire warnings we want to have enabled for our code | ||||
| * | structured cache: fixed mistake in back-off logic | Stefan Boberg | 2021-10-15 | 1 | -9/+14 |
| | | | | | this bug would make PUTs to clean zen instances very slow | ||||
| * | httpasio: Implemented support for specifying accept type via url suffix | Stefan Boberg | 2021-10-15 | 1 | -3/+37 |
| | | |||||
| * | clang-format | Stefan Boberg | 2021-10-15 | 6 | -10/+13 |
| | | |||||
| * | httpasio: implemented proper handling of query strings | Stefan Boberg | 2021-10-15 | 1 | -44/+63 |
| | | | | | Also removed fake dates from responses (there are in fact no date headers at all now) | ||||
| * | asio HTTP implementation (#23) | Stefan Boberg | 2021-10-14 | 21 | -164/+1375 |
| | | | | asio-based HTTP implementation | ||||
| * | Merge branch 'main' of https://github.com/EpicGames/zen | Stefan Boberg | 2021-10-13 | 2 | -6/+78 |
| |\ | |||||
| | * | Add remote execute functions (#15) | Joe Kirchoff | 2021-10-13 | 2 | -6/+78 |
| | | | | | | | Also fix request type for exists, should be head. | ||||
| * | | projectstore: Removing support for requesting attachments by hash using ↵ | Stefan Boberg | 2021-10-13 | 1 | -55/+5 |
| |/ | | | | offset/length (not needed and we will remove this path entirely) | ||||
| * | Merge branch 'main' of https://github.com/EpicGames/zen | Stefan Boberg | 2021-10-13 | 2 | -49/+185 |
| |\ | |||||
| | * | Added support for decompressing from offset. | Per Larsson | 2021-10-13 | 2 | -49/+185 |
| | | | |||||
| * | | structuredcache: add code to handle conflict which can occur when multiple ↵ | Stefan Boberg | 2021-10-13 | 1 | -8/+27 |
| |/ | | | | PUTs of the same value occur close enough to cause issues due to file system races | ||||
| * | Ratios should not be percentages (this should be done in presentation) | Stefan Boberg | 2021-10-11 | 2 | -4/+4 |
| | | |||||
| * | stats: Added support for handler unregistration | Stefan Boberg | 2021-10-11 | 5 | -6/+36 |
| | | |||||
| * | Added lofreq timer update to httpsys main loop | Stefan Boberg | 2021-10-11 | 2 | -2/+8 |
| | | |||||
| * | iobuffer: Changed MakeFromTemporaryFile so it accepts a path instead of a ↵ | Stefan Boberg | 2021-10-08 | 3 | -5/+5 |
| | | | | | character pointer | ||||
| * | zenstore: Added forcelink stuff to ensure we bring in filecas tests | Stefan Boberg | 2021-10-08 | 1 | -0/+2 |
| | | |||||
| * | Added ScopedTemporaryDirectory which specifies a particular directory path ↵ | Stefan Boberg | 2021-10-08 | 2 | -0/+8 |
| | | | | | | | to use This is primarily for temporary debugging purposes, since it can be more convenient to use the same directory over and over | ||||
| * | Added another test exe name to GetExePath test | Stefan Boberg | 2021-10-08 | 1 | -2/+2 |
| | | |||||
| * | filecas: stress test code to understand access denied errors | Stefan Boberg | 2021-10-08 | 2 | -6/+132 |
| | | | | | | | Added stress test for file cas file rename strategy (compiled out by default), to understand behaviour and why we get access denied errors in some cases when opening a file Also added code to ensure source file is deleted in the case where we end up hitting this error condition | ||||
| * | Removed invalid comment | Stefan Boberg | 2021-10-08 | 1 | -1/+1 |
| | | |||||
| * | basicfile: Added Write member functions accepting MemoryView for convenience | Stefan Boberg | 2021-10-08 | 2 | -0/+14 |
| | | |||||
| * | filecas: Added handling of error when a rename is attempted but the target ↵ | Stefan Boberg | 2021-10-08 | 1 | -1/+8 |
| | | | | | already exists | ||||
| * | Added shell32.dll to delay load list since it's only needed when no ↵ | Stefan Boberg | 2021-10-07 | 4 | -941/+2 |
| | | | | | | | directory is specified on the command line Also removed redundant vfs files | ||||
| * | NiceByteRateToBuffer could cause a divide-by-zero in some cases - fixed | Stefan Boberg | 2021-10-07 | 1 | -1/+11 |
| | | |||||
| * | Only enable the MSVC debug output sink for sessions when the --debug mode is ↵ | Stefan Boberg | 2021-10-06 | 1 | -1/+1 |
| | | | | | | | enabled Previously it would always be enabled if an attached debugger was detected but it impacts performance quite severely so now it is opt-in | ||||
| * | structured cache: Added locking around large cache value updates to prevent ↵ | Stefan Boberg | 2021-10-06 | 1 | -13/+37 |
| | | | | | races leading to file sharing violations | ||||
| * | Support for asynchronous HTTP response processing (#19) | Stefan Boberg | 2021-10-06 | 14 | -190/+627 |
| | | | | | | | | | This change introduces WriteResponseAsync which can be used to move potentially slow request handler code (like upstream lookups) off the I/O service thread to ensure we are always able to serve as many HTTP requests as possible. The current implementation defaults to 16 async worker threads and there is currently no back-pressure. - Added RequestStats - Metrics for network requests. Aggregates tracking of duration, payload sizes into a single class for ease of use - Added some metrics on upstream communication Co-authored-by: Per Larsson <[email protected]> | ||||
| * | Added option to specify path to logfile. | Per Larsson | 2021-10-06 | 3 | -1/+4 |
| | | |||||
| * | clang-format | Stefan Boberg | 2021-10-05 | 4 | -4/+7 |
| | | |||||
| * | Merged | Stefan Boberg | 2021-10-05 | 1 | -1/+1 |
| |\ | |||||
| | * | Merge branch 'main' of https://github.com/EpicGames/zen into main | Stefan Boberg | 2021-10-05 | 1 | -3/+48 |
| | |\ | |||||
| | | * | Serialize JSON NaN numbers to null. | Per Larsson | 2021-10-05 | 1 | -3/+48 |
| | | | | |||||
| | * | | Added Ref<> constructor which allows casting from derived types to parent types | Stefan Boberg | 2021-10-05 | 1 | -0/+9 |
| | | | | |||||
| | * | | Merge branch 'main' of https://github.com/EpicGames/zen into main | Stefan Boberg | 2021-10-05 | 26 | -232/+720 |
| | |\| | |||||
| | | * | Pass logger from Zen client to session instead from spdlog registry. | Per Larsson | 2021-10-05 | 2 | -3/+8 |
| | | | | |||||
| | | * | status: Exposed global status at /status/status | Stefan Boberg | 2021-10-04 | 1 | -13/+50 |
| | | | | |||||
| | | * | stats: Implemented new stats endpoint | Stefan Boberg | 2021-10-04 | 8 | -23/+99 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Stats are exposed under /stats/{id}, so for example structured cache stats are exposed under /stats/z$ The separate endpoint makes it easier to separate request handling to ensure stats/status endpoints still respond if the regular request queue is somehow saturated or otherwise not behaving There is also a /status endpoint which is similar and is targeted towards lightweight health monitoring | ||||
| | | * | filesystem: Added comment for future optimization opportunities in ↵ | Stefan Boberg | 2021-10-04 | 1 | -0/+7 |
| | | | | | | | | | | | | | CreateDirectories | ||||
| | | * | http: strip any known content-type suffixes from URI before passing it to a ↵ | Stefan Boberg | 2021-10-04 | 1 | -9/+14 |
| | | | | | | | | | | | | | service | ||||
| | | * | zenserver: Changed initialization flow | Stefan Boberg | 2021-10-04 | 6 | -155/+296 |
| | | | | | | | | | | | | | | | | | | | | | | - HTTP server is now started earlier, so it can be queried while scrubbing/recovery runs - Stats/status services are initialized before anything else, so they can be used to monitor progress while scrubbing happens - Structured cache initialization is now in a separate function - Scrubbing now emits some summary stats at the point of completion | ||||
| | | * | monitoring: added stubs for /stats and /status endpoints | Stefan Boberg | 2021-10-04 | 6 | -0/+132 |
| | | | | | | | | | | | | | this is a tactical check-in to allow me to merge some other changes | ||||
| | | * | clang-format | Stefan Boberg | 2021-10-04 | 2 | -2/+2 |
| | | | | |||||