aboutsummaryrefslogtreecommitdiff
path: root/zenhttp
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Fixed http-parser linker errorMartin Ridgers2021-11-021-1/+4
| | | | | |
| * | | | | 'return std::move(local_object)' prevents copy elisionMartin Ridgers2021-10-251-1/+1
| | | | | |
| * | | | | Removed unnecessary includeMartin Ridgers2021-10-252-3/+0
| | | | | |
| * | | | | Fixed unused-variable warningMartin Ridgers2021-10-251-1/+1
| | | | | |
| * | | | | Removed unused includeMartin Ridgers2021-10-251-2/+0
| | | | | |
| * | | | | Fixed narrowing warningMartin Ridgers2021-10-251-2/+2
| | | | | |
| * | | | | UINT16 -> uint16_tMartin Ridgers2021-10-251-2/+2
| | | | | |
| * | | | | Use zen::GetCurrentThreadId()Martin Ridgers2021-10-251-1/+1
| | | | | |
| * | | | | Use m_ShutdownEvent.Wait() in HttpNullServer::Run() on POSIXMartin Ridgers2021-10-251-8/+7
| | | | | |
| * | | | | HttpAsioServer::Run() implementation for POSIX platformsMartin Ridgers2021-10-251-8/+22
| | | | | |
| * | | | | Use StrCaseCompare() instead of Windows-only _stricmp()Martin Ridgers2021-10-251-1/+1
| | | | | |
| * | | | | Merged mainMartin Ridgers2021-10-251-1/+1
| |\ \ \ \ \
| * \ \ \ \ \ Merged mainMartin Ridgers2021-10-202-19/+43
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merged mainMartin Ridgers2021-10-164-14/+16
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merged mainMartin Ridgers2021-10-159-125/+1263
| |\ \ \ \ \ \ \ \
| * | | | | | | | | A null httpd main loop for POSIX platformsMartin Ridgers2021-10-151-1/+17
| | | | | | | | | |
| * | | | | | | | | Fixed httpsys.cpp WideToUtf8() link errorsMartin Ridgers2021-10-131-3/+3
| | | | | | | | | |
* | | | | | | | | | Format fix.Per Larsson2021-12-094-25/+21
| | | | | | | | | |
* | | | | | | | | | Merged main.Per Larsson2021-12-095-128/+241
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ | |/| | | | | | | |
| * | | | | | | | | Wrap asio call to Service->HandleRequest in try/catch like http.sys.Zousar Shaker2021-12-011-1/+11
| | |_|_|_|_|_|_|/ | |/| | | | | | |
| * | | | | | | | Address review feedback/comments.Zousar Shaker2021-12-011-26/+32
| | | | | | | | |
| * | | | | | | | Handle double slashes in URL path by normalizing them away like http.sys.Zousar Shaker2021-11-301-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also treat backslashes in the path as forward slashes. Only allocate memory for the altered URL if needed.
| * | | | | | | | Address review feedback and fix issue when deploying.Zousar Shaker2021-11-292-2/+2
| | | | | | | | |
| * | | | | | | | Allow http.sys mode to operate in local-only mode for non-admin users.Zousar Shaker2021-11-292-38/+70
| | |_|_|_|_|_|/ | |/| | | | | |
| * | | | | | | Address review feedback.Zousar Shaker2021-11-261-2/+2
| | | | | | | |
| * | | | | | | Move HandlePackageOffers out of ifdef to fix static compile error.Zousar Shaker2021-11-251-38/+40
| | | | | | | |
| * | | | | | | Fix asio bug where input of less than 16 bytes would not get consumed.Zousar Shaker2021-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This would cause hangs when the tail of a multi-part body was less than 16 bytes.
| * | | | | | | Make asio trace messages controlled by a compile-time verbosity define.Zousar Shaker2021-11-251-8/+16
| | | | | | | |
| * | | | | | | Fix handling of packages/offers in asio mode to match http.sys mode.Zousar Shaker2021-11-254-76/+91
| | | | | | | |
| * | | | | | | Fix asio request routing so that a url of "/cas" will route to the service ↵Zousar Shaker2021-11-241-4/+14
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for prefix "/cas/". Also change the behavior for asio request routing to adhere to the "longest match rule" like http.sys.
* | | | | | | Merged main.Per Larsson2021-11-251-62/+60
|\| | | | | |
| * | | | | | Changed the asio acceptor initialization to allow dual stack IPV6Zousar Shaker2021-11-241-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | connections.
| * | | | | | Prevent destroying ASIO server connection until callbacks completePer Larsson2021-11-231-61/+54
| | |_|_|_|/ | |/| | | |
* / | | | | rpc: tactical checkinStefan Boberg2021-11-182-0/+52
|/ / / / /
* | | | / 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
| |