| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | | | | | | Wrap asio call to Service->HandleRequest in try/catch like http.sys. | Zousar Shaker | 2021-12-01 | 1 | -1/+11 | |
| | | |_|_|_|_|_|_|/ | |/| | | | | | | | ||||||
| | * | | | | | | | | Address review feedback/comments. | Zousar Shaker | 2021-12-01 | 1 | -26/+32 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | Handle double slashes in URL path by normalizing them away like http.sys. | Zousar Shaker | 2021-11-30 | 1 | -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 Shaker | 2021-11-29 | 2 | -2/+2 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | Allow http.sys mode to operate in local-only mode for non-admin users. | Zousar Shaker | 2021-11-29 | 2 | -38/+70 | |
| | | |_|_|_|_|_|/ | |/| | | | | | | ||||||
| | * | | | | | | | Address review feedback. | Zousar Shaker | 2021-11-26 | 1 | -2/+2 | |
| | | | | | | | | | ||||||
| | * | | | | | | | Move HandlePackageOffers out of ifdef to fix static compile error. | Zousar Shaker | 2021-11-25 | 1 | -38/+40 | |
| | | | | | | | | | ||||||
| | * | | | | | | | Fix asio bug where input of less than 16 bytes would not get consumed. | Zousar Shaker | 2021-11-25 | 1 | -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 Shaker | 2021-11-25 | 1 | -8/+16 | |
| | | | | | | | | | ||||||
| | * | | | | | | | Fix handling of packages/offers in asio mode to match http.sys mode. | Zousar Shaker | 2021-11-25 | 4 | -76/+91 | |
| | | | | | | | | | ||||||
| | * | | | | | | | Fix asio request routing so that a url of "/cas" will route to the service ↵ | Zousar Shaker | 2021-11-24 | 1 | -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 Larsson | 2021-11-25 | 1 | -62/+60 | |
| |\| | | | | | | ||||||
| | * | | | | | | Changed the asio acceptor initialization to allow dual stack IPV6 | Zousar Shaker | 2021-11-24 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connections. | |||||
| | * | | | | | | Prevent destroying ASIO server connection until callbacks complete | Per Larsson | 2021-11-23 | 1 | -61/+54 | |
| | | |_|_|_|/ | |/| | | | | ||||||
| * / | | | | | rpc: tactical checkin | Stefan Boberg | 2021-11-18 | 2 | -0/+52 | |
| |/ / / / / | ||||||
| * | | | / | Format fix. | Per Larsson | 2021-10-20 | 1 | -1/+1 | |
| | |_|_|/ |/| | | | ||||||
| * | | | | 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 | |||||
| * | | | | 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) | |||||
| * | | | Fixed up some more windows include issues | Stefan Boberg | 2021-10-15 | 1 | -2/+1 | |
| | | | | ||||||
| * | | | 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 | 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 | |||||
| * | | 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 | 1 | -2/+1 | |
| | | | ||||||
| * | | 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 | 9 | -125/+1211 | |
| |/ | | | asio-based HTTP implementation | |||||
| * | Added lofreq timer update to httpsys main loop | Stefan Boberg | 2021-10-11 | 1 | -0/+2 | |
| | | ||||||
| * | Support for asynchronous HTTP response processing (#19) | Stefan Boberg | 2021-10-06 | 8 | -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 upstream | Stefan Boberg | 2021-10-05 | 3 | -11/+26 | |
| | | ||||||
| * | http: Moved logic for body suppression to a more central location | Stefan Boberg | 2021-10-03 | 1 | -0/+5 | |
| | | | | | this should prevent some mistake-induced bugs hopefully | |||||
| * | Merged from upstream | Stefan Boberg | 2021-10-03 | 1 | -1/+3 | |
| |\ | ||||||
| | * | Fixed missing content type. | Per Larsson | 2021-10-03 | 1 | -1/+3 | |
| | | | ||||||
| * | | http: Added support for specifying response content-type by means of ↵ | Stefan Boberg | 2021-10-03 | 2 | -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 Larsson | 2021-10-01 | 1 | -0/+3 | |
| | | ||||||
| * | Switch back to the right HTTP back-end | Stefan Boberg | 2021-09-29 | 1 | -1/+1 | |
| | | ||||||
| * | minor edits to uWS testcode | Stefan Boberg | 2021-09-28 | 1 | -14/+10 | |
| | | ||||||
| * | http: ReasonStringForHttpResultCode returns string_view to avoid strlen | Stefan Boberg | 2021-09-28 | 3 | -114/+111 | |
| | | ||||||
| * | Added preliminary CbPackageReader, for handling incremental compact binary ↵ | Stefan Boberg | 2021-09-28 | 6 | -66/+186 | |
| | | | | | package streaming | |||||
| * | Removed MemoryOutStream, MemoryInStream | Stefan Boberg | 2021-09-28 | 1 | -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-format | Stefan Boberg | 2021-09-27 | 1 | -3/+3 | |
| | | ||||||
| * | httpsys: Added HTTP_SEND_RESPONSE_FLAG_BUFFER_DATA to response calls which ↵ | Stefan Boberg | 2021-09-27 | 1 | -17/+33 | |
| | | | | | | | should improve overall performance (yet to be confirmed) Also added custom Server: header | |||||
| * | httpsys: remove atl #include which is no longer needed | Stefan Boberg | 2021-09-27 | 1 | -1/+0 | |
| | | ||||||
| * | httpsys: added `if constexpr` to silence compiler warning on Windows | Stefan Boberg | 2021-09-27 | 1 | -1/+1 | |
| | | ||||||
| * | Merged latest from main | Stefan Boberg | 2021-09-27 | 4 | -8/+67 | |
| |\ | ||||||
| | * | GetWindowsErrorAsString() -> GetSystemErrorAsString() | Stefan Boberg | 2021-09-27 | 1 | -2/+2 | |
| | | | ||||||
| | * | Compact binary to JSON (#12) | Per Larsson | 2021-09-27 | 1 | -3/+11 | |
| | | | | | | | CompactBinary: Support for converting CbObject to JSON | |||||
| | * | httpsys: Some logging improvements | Stefan Boberg | 2021-09-26 | 2 | -3/+25 | |
| | | | ||||||
| | * | Added HttpVerb ToString() function for use in logging | Stefan Boberg | 2021-09-26 | 2 | -0/+26 | |
| | | | ||||||
| | * | Added some more context to http failure logging | Stefan Boberg | 2021-09-26 | 1 | -1/+4 | |
| | | | ||||||
| * | | Fixed httpsys Windows compilation error | Stefan Boberg | 2021-09-27 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge main | Martin Ridgers | 2021-09-22 | 1 | -2/+2 | |
| |\| | ||||||