aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/include
Commit message (Collapse)AuthorAgeFilesLines
* Added websocket stream request/response handling.Per Larsson2022-03-191-6/+38
|
* Added missing parens around sizeof.Per Larsson2022-02-211-1/+1
|
* Added option to enable websockets.Per Larsson2022-02-211-4/+4
|
* Refactored websocket message.Per Larsson2022-02-211-36/+120
|
* Basic websocket service and test.Per Larsson2022-02-181-3/+52
|
* Web socket client is shared between I/O thead and client.Per Larsson2022-02-181-1/+1
|
* Route websocket message.Per Larsson2022-02-181-4/+8
|
* Simple websocket client/server test.Per Larsson2022-02-181-0/+48
|
* Renamed file.Per Larsson2022-02-161-0/+0
|
* Added websocket message parser.Per Larsson2022-02-161-0/+15
|
* Initial websocket support.Per Larsson2022-02-091-0/+24
|
* Handle HTTP port collisions when initializing server (#40)zousar2022-01-271-1/+1
|
* Merged main.Per Larsson2021-12-143-4/+5
|\
| * Merged mainMartin Ridgers2021-11-291-0/+2
| |\
| * | Fixed unused-variable warningMartin Ridgers2021-10-251-1/+1
| | |
| * | Removed unused includeMartin Ridgers2021-10-251-2/+0
| | |
| * | Use StrCaseCompare() instead of Windows-only _stricmp()Martin Ridgers2021-10-251-1/+1
| | |
* | | Merged main.Per Larsson2021-12-091-0/+2
|\ \ \ | | |/ | |/|
| * | Fix handling of packages/offers in asio mode to match http.sys mode.Zousar Shaker2021-11-251-0/+2
| |/
* / rpc: tactical checkinStefan Boberg2021-11-181-0/+34
|/
* Fixed up some more windows include issuesStefan Boberg2021-10-151-2/+1
|
* 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
* asio HTTP implementation (#23)Stefan Boberg2021-10-141-12/+12
| | | asio-based HTTP implementation
* Support for asynchronous HTTP response processing (#19)Stefan Boberg2021-10-061-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 strlenStefan Boberg2021-09-281-1/+1
|
* Added preliminary CbPackageReader, for handling incremental compact binary ↵Stefan Boberg2021-09-281-2/+53
| | | | package streaming
* Added HttpVerb ToString() function for use in loggingStefan Boberg2021-09-261-0/+2
|
* zenserver can now run as a Windows service. We'll still need to improve how ↵Stefan Boberg2021-09-171-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 Larsson2021-09-171-1/+1
|
* clang-format fixesStefan Boberg2021-09-163-6/+6
|
* Improved package serialization to allow round trippingStefan Boberg2021-09-161-0/+51
|
* Added some placeholder HttpClient functions to be fleshed outStefan Boberg2021-09-151-1/+5
|
* Hooked up zenhttp to the test framework so tests actually run as part of ↵Stefan Boberg2021-09-152-2/+8
| | | | zenserver-test
* Adde reminder that the content type is embedded in the IoBufferStefan Boberg2021-09-151-1/+1
|
* Added support for compressed binary MIME type conversionStefan Boberg2021-09-151-2/+2
|
* Added session id generation and code to include it in HttpClient HTTP requestsStefan Boberg2021-09-151-0/+2
|
* Added client implementation of CbPackage filter/transactStefan Boberg2021-09-131-1/+11
|
* Moved some shared http definitions into httpcommon.hStefan Boberg2021-09-132-160/+173
| | | | Added CompositeBuffer HttpServerRequest::WriteResponse() helper function
* Changed interface for httpServerRequest::SessionId()/RequestId() so they ↵Stefan Boberg2021-09-131-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 filteringStefan Boberg2021-09-132-28/+62
| | | | Package transmission will also need to be updated (up next) for the new scheme to be effective
* Eliminated HttpServerException and related classesStefan Boberg2021-09-121-11/+0
|
* Some error handling improvements in zenhttpStefan Boberg2021-09-121-5/+4
| | | | Primarily replaces some exception usage with std::error_code
* HttpResponse enum -> HttpResponseCodeStefan Boberg2021-09-121-34/+8
| | | | Also removed initial CbPackage API HttpServer changes as I have decided to take a different approach
* Added MapContentTypeToString() helper functionStefan Boberg2021-09-101-3/+3
|
* clang-formatStefan Boberg2021-09-091-0/+2
|
* Parse Accept mime type (ad hoc cherry pick from main)Stefan Boberg2021-09-091-0/+2
|
* Added compile time logic to toggle http.sys / null http implementation on/offStefan Boberg2021-09-091-8/+7
|
* Factored out http server related code into zenhttp module since it feels out ↵Stefan Boberg2021-09-093-0/+473
of place in zencore