Commit Graph

177 Commits

Author SHA1 Message Date
amacocian e40352e6e8 Started work on resilient HttpHandler that repackages broken requests 2020-02-17 19:15:10 +01:00
amacocian 100d32c548 added option to request client certificates 2020-02-14 14:53:34 +01:00
amacocian 83a58b8db3 Fixed E2E tests 2020-02-14 12:13:18 +01:00
amacocian 75780ee636 - updated to 1.4 2020-02-14 12:10:57 +01:00
amacocian cdc994afab - expose certificate validation and encryption policies for https 2020-02-14 11:55:28 +01:00
amacocian a4eebddcbf - HttpRoutingHandler returns InternalServerError on uncaught exception in HttpRoutes 2020-01-31 16:32:31 +01:00
amacocian 8de14a5855 Upgraded to 1.3.7 2020-01-31 15:08:20 +01:00
amacocian 260a93ca42 Trim trailing 0s caused by https decryption 2020-01-31 15:07:18 +01:00
amacocian 74c384a38f Bugfixed logging handling 2020-01-27 15:38:43 +01:00
amacocian ee1b01f444 Added reference to server in HttpRoute for access to logging 2020-01-22 16:49:01 +01:00
amacocian df8db497c9 Updated to 1.3.4 2020-01-22 14:13:11 +01:00
amacocian 95af301ab7 - Changed name from HttpRoutingModule to HttpRoute
- Changed AddModule to AddRoute
- Removed usage of RoutingEnablers to instead use Func
2020-01-22 14:12:06 +01:00
amacocian 42e684dfee Updated to 1.3.3 2020-01-21 16:14:34 +01:00
amacocian cde5319499 Fixed a bug that didn't mark a message as handled when HttpRoutingHandler handled it 2020-01-21 16:14:06 +01:00
amacocian d7196a237a Updated to 1.3.2 2020-01-21 15:21:11 +01:00
amacocian ebd4a6d3b7 Implemented RoutingEnablers to regulate how endpoints are being hit 2020-01-21 15:20:18 +01:00
amacocian 2eedec7443 Updated to 1.3.1 2020-01-21 13:55:11 +01:00
amacocian 6b9308731f - Implemented HttpRoutingHandler to implement handlers with routes
- Small QOL changes in HttpMessage, HttpRequest and HttpResponse classes
2020-01-21 13:54:15 +01:00
amacocian 573912a8dc - Changed WebsocketHandler to use HttpRequest and HttpResponse instead of HttpMessage 2020-01-19 00:01:33 +01:00
amacocian 46baf6e461 Fixed a bug while traversing the memorystream in httprequest 2020-01-09 09:58:13 +01:00
amacocian b593113f59 Updated to 1.3.0 2020-01-09 09:53:37 +01:00
amacocian 0438d4e32a Removed one unused variable 2020-01-09 09:52:56 +01:00
amacocian 60b3ea4067 Fixed a bug while parsing the http request.
Implemented http message reconstruction after fragmentation
2020-01-09 09:51:35 +01:00
amacocian 945d9ee45e Upgraded to 1.2.6 2020-01-08 19:29:49 +01:00
amacocian 828ab682de Fix MemoryStream.GetBuffer() exception.
Implemented MemoryStream.ReadRemainingBytes()
Fixed exception caused by not reversing memorystream after reading too much.
2020-01-08 19:28:57 +01:00
amacocian c706a6fe86 Switch to MemoryStream from simply running across buffer.
Implement reassembly of fragmented http messages.
2020-01-08 19:01:09 +01:00
amacocian 269c5cf190 More detailed exceptions during parsing of HttpRequest 2020-01-08 16:18:40 +01:00
amacocian 663acf1385 Reverted contentlength header calculation 2019-12-18 13:31:35 +01:00
amacocian 8e0bcfd672 Fix bug when setting set-cookie headers. 2019-12-18 13:25:37 +01:00
amacocian f572cae45d Fix content-length response when setting cookies 2019-12-18 13:08:38 +01:00
amacocian ac8d51c59f Property to automatically get the request or response body as string.
Upgraded to 1.2.1
2019-12-17 17:27:34 +01:00
amacocian a790df4226 Implemented HTTP stress test 2019-11-30 18:46:01 +01:00
amacocian 577c17d9ec Added an extra unit test for websockets. 2019-11-18 14:21:58 +01:00
amacocian 9f57bef1cb Implement specific HttpRequests and HttpResponses for easier usage. 2019-11-11 16:19:29 +01:00
amacocian 7850f6e4c2 Created unit test project for MTSC 2019-11-11 13:07:10 +01:00
amacocian 85f00e9dcd Fixed websocket message length when parsing websocket message from buffer. 2019-11-08 14:59:47 +01:00
amacocian 8097616d59 Updated to 1.1.4 2019-11-08 14:53:15 +01:00
amacocian 696f97dc2e Fixed websocket bug when calculating message length 2019-11-08 14:51:34 +01:00
Alexandru Macocian 915aababcd Merge branch 'master' of https://github.com/AlexMacocian/MTSC 2019-11-07 16:43:43 +01:00
Alexandru Macocian 9272f7fc58 Started changes onto websocket message 2019-11-07 16:43:25 +01:00
amacocian b37333ae63 Updated to 1.1.3 2019-11-06 21:00:26 +01:00
amacocian 5bd5c59500 Merged 2019-11-06 20:53:06 +01:00
amacocian 9e6a8dfa17 Added logging on message sending. 2019-11-06 20:52:38 +01:00
Alexandru Macocian 0ed4ac8c2c Added a debug log line on CPUUsageLimiter 2019-10-23 13:01:00 +02:00
Alexandru Macocian 3f6992919f Fixed a bug in TickrateEnforcer that would forget to update the last tick time, effectively always throttling server. 2019-10-23 12:59:15 +02:00
Alexandru Macocian c2fbaac300 Fixed a bug in which CPUUsageLimiter would not update CPU usage and would keep current thread on sleep indefinitely. 2019-10-23 12:09:09 +02:00
Alexandru Macocian 9505d45558 Implemented usage monitors to monitor and observe server resource usage. 2019-10-23 12:03:26 +02:00
amacocian 10a15dc8cd Fixed a bug in which client.LastMessageTime was not being updated. 2019-10-22 21:24:07 +02:00
amacocian b78971d585 Added the possibility to choose opcode for websocket server module when sending a message. 2019-10-22 19:57:27 +02:00
amacocian 4f3428f96e Updated documentation 2019-10-20 14:52:16 +02:00