aboutsummaryrefslogtreecommitdiff
path: root/zenhttp
Commit message (Collapse)AuthorAgeFilesLines
* Format fix.Per Larsson2021-10-201-1/+1
|
* httpasio: Implemented some handling for Expect: headerStefan Boberg2021-10-181-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
* httpsys: Added automatic translation of 200 OK -> 204 NO CONTENT for case ↵Stefan Boberg2021-10-181-2/+10
| | | | where there is no body (upset some clients)
* Fixed up some more windows include issuesStefan Boberg2021-10-151-2/+1
|
* Fixed logic for picking a default http implementation, which was caused by ↵Stefan Boberg2021-10-151-5/+5
| | | | inconsistent preprocessor definitions
* zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵Stefan Boberg2021-10-152-7/+10
| | | | | | | | 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
* httpasio: Implemented support for specifying accept type via url suffixStefan Boberg2021-10-151-3/+37
|
* clang-formatStefan Boberg2021-10-151-2/+1
|
* httpasio: implemented proper handling of query stringsStefan Boberg2021-10-151-44/+63
| | | | Also removed fake dates from responses (there are in fact no date headers at all now)
* asio HTTP implementation (#23)Stefan Boberg2021-10-149-125/+1211
| | | asio-based HTTP implementation
* Added lofreq timer update to httpsys main loopStefan Boberg2021-10-111-0/+2
|
* Support for asynchronous HTTP response processing (#19)Stefan Boberg2021-10-068-60/+341
| | | | | | | | 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]>
* Merged from upstreamStefan Boberg2021-10-053-11/+26
|
* http: Moved logic for body suppression to a more central locationStefan Boberg2021-10-031-0/+5
| | | | this should prevent some mistake-induced bugs hopefully
* Merged from upstreamStefan Boberg2021-10-031-1/+3
|\
| * Fixed missing content type.Per Larsson2021-10-031-1/+3
| |
* | http: Added support for specifying response content-type by means of ↵Stefan Boberg2021-10-032-13/+62
|/ | | | | | suffixes (.json/.yaml etc) If a suffix is present then we'll use that instead of any Accept: header value
* Added simple stats HTML dashboard with route /dashboard.Per Larsson2021-10-011-0/+3
|
* Switch back to the right HTTP back-endStefan Boberg2021-09-291-1/+1
|
* minor edits to uWS testcodeStefan Boberg2021-09-281-14/+10
|
* http: ReasonStringForHttpResultCode returns string_view to avoid strlenStefan Boberg2021-09-283-114/+111
|
* Added preliminary CbPackageReader, for handling incremental compact binary ↵Stefan Boberg2021-09-286-66/+186
| | | | package streaming
* Removed MemoryOutStream, MemoryInStreamStefan Boberg2021-09-281-3/+2
| | | | | | | | BinaryWriter/BinaryReader now implements memory buffer functionality which previously needed two chained instances of a Buffer/Reader. This was originally expected to be an abstraction for file and other stream access but this is not going to be useful so may as well collapse the functionality. This also eliminates the need for stack-aware ref-counting which is the real reason for wanting to get rid of this code. This was a very old experimental feature which turned out to be a bad idea. This also removes the /cas/batch endpoint
* clang-formatStefan Boberg2021-09-271-3/+3
|
* httpsys: Added HTTP_SEND_RESPONSE_FLAG_BUFFER_DATA to response calls which ↵Stefan Boberg2021-09-271-17/+33
| | | | | | should improve overall performance (yet to be confirmed) Also added custom Server: header
* httpsys: remove atl #include which is no longer neededStefan Boberg2021-09-271-1/+0
|
* httpsys: added `if constexpr` to silence compiler warning on WindowsStefan Boberg2021-09-271-1/+1
|
* Merged latest from mainStefan Boberg2021-09-274-8/+67
|\
| * GetWindowsErrorAsString() -> GetSystemErrorAsString()Stefan Boberg2021-09-271-2/+2
| |
| * Compact binary to JSON (#12)Per Larsson2021-09-271-3/+11
| | | | | | CompactBinary: Support for converting CbObject to JSON
| * httpsys: Some logging improvementsStefan Boberg2021-09-262-3/+25
| |
| * Added HttpVerb ToString() function for use in loggingStefan Boberg2021-09-262-0/+26
| |
| * Added some more context to http failure loggingStefan Boberg2021-09-261-1/+4
| |
* | Fixed httpsys Windows compilation errorStefan Boberg2021-09-271-1/+1
| |
* | Merge mainMartin Ridgers2021-09-221-2/+2
|\|
| * Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-211-1/+1
| |\
| | * Clang format fix.Per Larsson2021-09-211-1/+1
| | |
| * | Added human-friendly formatting of response send errorsStefan Boberg2021-09-211-1/+1
| |/
* | Merged main into linux-macMartin Ridgers2021-09-219-33/+42
|\|
| * Improved error handling in http.sys handlerStefan Boberg2021-09-201-7/+6
| | | | | | | | Alsod fixed lifetime issue with initial request
| * It's not possible to compile out testsStefan Boberg2021-09-202-4/+10
| | | | | | | | Tests are now compiled in if `ZEN_WITH_TESTS=1`, and compiled out if not. Compiling tests out reduces the footprint of the resulting executables quite significantly.
| * clang-format againStefan Boberg2021-09-191-1/+1
| |
| * zenserver can now run as a Windows service. We'll still need to improve how ↵Stefan Boberg2021-09-176-16/+21
| | | | | | | | data files are found as the current defaults are relative to the user directory which ends up being in the Windows folder when running as the local system user
| * Const correct.Per Larsson2021-09-171-1/+1
| |
| * Minor CbPackage serialization tweaksStefan Boberg2021-09-161-5/+4
| |
* | Merge main into linux-macMartin Ridgers2021-09-169-28/+146
|\|
| * clang-format fixesStefan Boberg2021-09-165-10/+12
| |
| * Improved package serialization to allow round trippingStefan Boberg2021-09-166-22/+138
| |
* | Merge from mainMartin Ridgers2021-09-1610-57/+143
|\|
| * Added some placeholder HttpClient functions to be fleshed outStefan Boberg2021-09-152-1/+20
| |