| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | moved source directories into `/src` (#264) | Stefan Boberg | 2023-05-02 | 6 | -983/+0 |
| | | | | | | | * moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees | ||||
| * | fixed dashboard file serving bug (#255) | Stefan Boberg | 2023-04-24 | 1 | -0/+2 |
| | | | | | | a recent change which introduced support for specifying accept: implicitly via the file extension in the URI caused fallout in the dashboard which would fail to serve any content because the extension was stripped from the RelativeUri accessor. This change fixes that by retaining a copy of the Uri string view which includes the suffix additionally, in order to test this change with both asio/http.sys paths I made the path used for all tests configurable in zenserver-test which involved pulling in a change from sb/proto which makes testing configuration a bit more flexible | ||||
| * | Support for HTTP range header (#245) | Per Larsson | 2023-04-19 | 2 | -0/+11 |
| | | | | | | | | | | | | * Support for HTTP range header. * Implement http range for HTTP sys. * Validate range parameters. --------- Co-authored-by: Stefan Boberg <[email protected]> | ||||
| * | send payloads as duplicated handles (#240) | Dan Engelbrecht | 2023-03-14 | 1 | -6/+7 |
| | | | | | | | | | | * send payloads as duplicated handles if requestor provides process id and allows local file references. * linux/macos fixes * tests * fix access rights when duplicating handle * fix closing of duplicated handles on error * cleanup * changelog | ||||
| * | Support file reference in package message (#184) | Dan Engelbrecht | 2022-11-07 | 1 | -2/+11 |
| | | | | | | | | | * Fix packed message parsing for absolute path * Always enable are sharing when opening files as IoBuffers. * Allow control over sending partial files as localfile ref * Check "AcceptFlags" field in RPC message for allowing localfile ref in reply * make oplog entry add operations ZEN_DEBUG level logs * changelog | ||||
| * | Format all rpc package responses using `FormatPackageMessageBuffer` to avoid ↵ | Dan Engelbrecht | 2022-09-29 | 1 | -0/+2 |
| | | | | | | memory copy (#174) When reading upstream, fall back to old rpc response to handle older instances. | ||||
| * | cbpackage: added initial support for marshaling of attachment by local reference | Stefan Boberg | 2022-06-10 | 1 | -8/+54 |
| | | | | | this mode allows local clients to avoid unnecessary copying of data from zen and instead reference data directly | ||||
| * | Helper function for sending compact binary array HTTP response. | Per Larsson | 2022-03-23 | 1 | -0/+1 |
| | | |||||
| * | Missing return statement in websocket.h | Dan Engelbrecht | 2022-03-19 | 1 | -1/+1 |
| | | |||||
| * | Added websocket stream request/response handling. | Per Larsson | 2022-03-19 | 1 | -6/+38 |
| | | |||||
| * | Added missing parens around sizeof. | Per Larsson | 2022-02-21 | 1 | -1/+1 |
| | | |||||
| * | Added option to enable websockets. | Per Larsson | 2022-02-21 | 1 | -4/+4 |
| | | |||||
| * | Refactored websocket message. | Per Larsson | 2022-02-21 | 1 | -36/+120 |
| | | |||||
| * | Basic websocket service and test. | Per Larsson | 2022-02-18 | 1 | -3/+52 |
| | | |||||
| * | Web socket client is shared between I/O thead and client. | Per Larsson | 2022-02-18 | 1 | -1/+1 |
| | | |||||
| * | Route websocket message. | Per Larsson | 2022-02-18 | 1 | -4/+8 |
| | | |||||
| * | Simple websocket client/server test. | Per Larsson | 2022-02-18 | 1 | -0/+48 |
| | | |||||
| * | Renamed file. | Per Larsson | 2022-02-16 | 1 | -0/+0 |
| | | |||||
| * | Added websocket message parser. | Per Larsson | 2022-02-16 | 1 | -0/+15 |
| | | |||||
| * | Initial websocket support. | Per Larsson | 2022-02-09 | 1 | -0/+24 |
| | | |||||
| * | Handle HTTP port collisions when initializing server (#40) | zousar | 2022-01-27 | 1 | -1/+1 |
| | | |||||
| * | Merged main. | Per Larsson | 2021-12-14 | 3 | -4/+5 |
| |\ | |||||
| | * | Merged main | Martin Ridgers | 2021-11-29 | 1 | -0/+2 |
| | |\ | |||||
| | * | | Fixed unused-variable warning | Martin Ridgers | 2021-10-25 | 1 | -1/+1 |
| | | | | |||||
| | * | | Removed unused include | Martin Ridgers | 2021-10-25 | 1 | -2/+0 |
| | | | | |||||
| | * | | Use StrCaseCompare() instead of Windows-only _stricmp() | Martin Ridgers | 2021-10-25 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merged main. | Per Larsson | 2021-12-09 | 1 | -0/+2 |
| |\ \ \ | | |/ | |/| | |||||
| | * | | Fix handling of packages/offers in asio mode to match http.sys mode. | Zousar Shaker | 2021-11-25 | 1 | -0/+2 |
| | |/ | |||||
| * / | rpc: tactical checkin | Stefan Boberg | 2021-11-18 | 1 | -0/+34 |
| |/ | |||||
| * | Fixed up some more windows include issues | Stefan Boberg | 2021-10-15 | 1 | -2/+1 |
| | | |||||
| * | zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵ | Stefan Boberg | 2021-10-15 | 2 | -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 | ||||
| * | asio HTTP implementation (#23) | Stefan Boberg | 2021-10-14 | 1 | -12/+12 |
| | | | | asio-based HTTP implementation | ||||
| * | Support for asynchronous HTTP response processing (#19) | Stefan Boberg | 2021-10-06 | 1 | -0/+2 |
| | | | | | | | | | 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]> | ||||
| * | http: ReasonStringForHttpResultCode returns string_view to avoid strlen | Stefan Boberg | 2021-09-28 | 1 | -1/+1 |
| | | |||||
| * | Added preliminary CbPackageReader, for handling incremental compact binary ↵ | Stefan Boberg | 2021-09-28 | 1 | -2/+53 |
| | | | | | package streaming | ||||
| * | Added HttpVerb ToString() function for use in logging | Stefan Boberg | 2021-09-26 | 1 | -0/+2 |
| | | |||||
| * | zenserver can now run as a Windows service. We'll still need to improve how ↵ | Stefan Boberg | 2021-09-17 | 1 | -1/+1 |
| | | | | | 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 Larsson | 2021-09-17 | 1 | -1/+1 |
| | | |||||
| * | clang-format fixes | Stefan Boberg | 2021-09-16 | 3 | -6/+6 |
| | | |||||
| * | Improved package serialization to allow round tripping | Stefan Boberg | 2021-09-16 | 1 | -0/+51 |
| | | |||||
| * | Added some placeholder HttpClient functions to be fleshed out | Stefan Boberg | 2021-09-15 | 1 | -1/+5 |
| | | |||||
| * | Hooked up zenhttp to the test framework so tests actually run as part of ↵ | Stefan Boberg | 2021-09-15 | 2 | -2/+8 |
| | | | | | zenserver-test | ||||
| * | Adde reminder that the content type is embedded in the IoBuffer | Stefan Boberg | 2021-09-15 | 1 | -1/+1 |
| | | |||||
| * | Added support for compressed binary MIME type conversion | Stefan Boberg | 2021-09-15 | 1 | -2/+2 |
| | | |||||
| * | Added session id generation and code to include it in HttpClient HTTP requests | Stefan Boberg | 2021-09-15 | 1 | -0/+2 |
| | | |||||
| * | Added client implementation of CbPackage filter/transact | Stefan Boberg | 2021-09-13 | 1 | -1/+11 |
| | | |||||
| * | Moved some shared http definitions into httpcommon.h | Stefan Boberg | 2021-09-13 | 2 | -160/+173 |
| | | | | | Added CompositeBuffer HttpServerRequest::WriteResponse() helper function | ||||
| * | Changed interface for httpServerRequest::SessionId()/RequestId() so they ↵ | Stefan Boberg | 2021-09-13 | 1 | -5/+8 |
| | | | | | | | | | | | | | | | share storage and lazy eval logic They now call into ParseSessionId()/ParseRequestId() when required Eliminates redundant logic in derived implementations Also moved package transport code into httpshared.(cpp|h) for easier sharing with client code Added some I/O error reporting in http.sys related code Changed IHttpPackageHandler interface to support partially updated handling flow | ||||
| * | Implemented generic CbPackage attachments filtering | Stefan Boberg | 2021-09-13 | 2 | -28/+62 |
| | | | | | Package transmission will also need to be updated (up next) for the new scheme to be effective | ||||
| * | Eliminated HttpServerException and related classes | Stefan Boberg | 2021-09-12 | 1 | -11/+0 |
| | | |||||