Commit Graph

  • 355c24d582 Unclog threadpool (#27) master amacocian 2023-11-26 03:22:50 +01:00
  • 46af9b97cd Replace Moq with NSubstitute (#26) amacocian 2023-08-09 16:25:10 +02:00
  • 276713498f Bump Newtonsoft.Json from 13.0.1 to 13.0.2 in /MTSC dependabot/nuget/MTSC/Newtonsoft.Json-13.0.2 dependabot[bot] 2022-12-08 16:05:34 +00:00
  • d9eadea1b5 Update OAuth2 dependencies (#24) amacocian 2022-10-07 12:57:54 +02:00
  • 439b3f160d Separate startup from initialization (#23) amacocian 2022-10-07 12:39:37 +02:00
  • c753165ec8 Update OAuth2 dependencies (#22) amacocian 2022-10-07 11:24:32 +02:00
  • c21c6e2a11 Integrate ServiceCollection from Microsoft.Extensions.DependencyInjection (#21) amacocian 2022-10-07 11:07:20 +02:00
  • 0fe9f9957c Setup OAuth2 support (#20) amacocian 2022-09-02 16:13:08 +02:00
  • b759869ed6 Update dependencies (#19) amacocian 2022-05-12 18:53:24 +02:00
  • ffb1d51b81 Update Slim package (#18) amacocian 2022-05-05 08:37:46 +02:00
  • ba91158730 Fix bug in cookie parsing (#17) amacocian 2022-05-04 09:30:34 +02:00
  • 1b438c8bd4 Introduce async extensions for RouteFilters (#16) amacocian 2022-05-04 08:22:32 +02:00
  • 035fecc1e3 Pass ScopedServiceManager to RouteContext (#15) amacocian 2022-05-02 14:23:56 +02:00
  • 4aa1150bba Extend and generalize data binding logic (#14) amacocian 2022-02-26 10:37:32 +01:00
  • 85a90492c6 Add resources dictionary to routecontext (#13) v5.1.6 amacocian 2022-02-08 09:55:56 +01:00
  • ede1dcbf09 Fix exception propagation (#12) v5.1.5 amacocian 2022-01-24 21:22:29 +01:00
  • 9dad57ace0 Adjust filters to catch model binding exceptions (#11) v5.1.4 amacocian 2022-01-24 20:45:03 +01:00
  • 9ff5114d31 Improvements to HttpRouteBase (#10) v5.1.3 amacocian 2022-01-23 12:02:31 +01:00
  • 8587da7b5c Update version v5.1.2 amacocian 2022-01-22 14:30:58 +01:00
  • 3b0dd84f38 Fix message assembly when a request is truncated (#9) amacocian 2022-01-22 14:24:54 +01:00
  • f8bf08d9ff Fix client reading loop for messages bigger than the buffer (#8) v5.1.1 amacocian 2022-01-22 14:01:51 +01:00
  • 9d7a4ff75c Introduce cancellation tokens for HttpRoutes (#7) v5.1 amacocian 2022-01-18 14:31:59 +01:00
  • 35a45a395f Background services implementation (#6) v5.0 amacocian 2022-01-17 15:51:28 +01:00
  • 9bab9f2585 Introduce HttpRequestContext (#5) v4.8.0 amacocian 2022-01-14 12:40:22 +02:00
  • 358d3c6795 Fix codeql pipeline (#4) amacocian 2022-01-02 17:44:49 +02:00
  • 2fef6cf1ac Introduce cancellation tokens v4.7.0 amacocian 2022-01-02 17:25:55 +02:00
  • 3a712c1a1c Remove MSBuild from codeql pipeline amacocian 2022-01-02 17:23:34 +02:00
  • 0392441b5a Upgrade test project to .net 6 amacocian 2022-01-02 17:21:29 +02:00
  • 4ce62de35a Update codeql-analysis.yml amacocian 2022-01-02 17:19:43 +02:00
  • f8cc21e7db Introduce cancellation tokens for server Update pipelines to .net6 Deprecate netcoreapp2.1 build amacocian 2022-01-02 17:14:01 +02:00
  • 1b5f8395cc Create codeql-analysis.yml amacocian 2021-12-27 17:46:43 +02:00
  • a13174558b Unit tests for TcpSocketListener amacocian 2021-12-27 17:44:09 +02:00
  • 969c0b3410 Introduce route filters for HttpRoutingModules v4.6.0 Alexandru Macocian 2021-10-19 13:42:48 +02:00
  • 13681f8c1e Improve httproutinghandler error handling v4.5.1 Alexandru Macocian 2021-10-09 21:14:10 +02:00
  • 62b0364b8f Merge pull request #2 from AlexMacocian/alexmacocian/update-version v4.5 amacocian 2021-10-05 17:51:16 +02:00
  • 52e045f3bc Update version with bugfix for 500 response code Alexandru Macocian 2021-10-05 17:23:14 +02:00
  • f2b93fa566 Fixed HttpRoutingHandler returning 500 when an exception happens during module creation Alexandru Macocian 2021-10-05 16:25:18 +02:00
  • 14e96ab206 Introduce scope DIs to routing handlers v4.4.0 Alexandru Macocian 2021-10-02 08:18:53 +02:00
  • 8eb0fe06c0 Setup for multiple listener types v4.3.0 Alexandru Macocian 2021-10-01 17:25:32 +02:00
  • 032edb81d6 Integrate Microsoft.Logging.Abstractions v4.2.0 Alexandru Macocian 2021-10-01 14:56:38 +02:00
  • 0b7c349a63 Improvements to stream reading routine v4.1.2 Alexandru Macocian 2021-09-30 18:42:18 +02:00
  • 21c793d708 Update dependencies v4.1.1 Alexandru Macocian 2021-09-30 14:20:06 +02:00
  • 5664b09ea8 Performance improvements v4.1 Alexandru Macocian 2021-09-29 15:52:44 +02:00
  • 867fa12a6c Support for interpolated URLs Implemented use of TypeConverters for requests and responses v4.0 Alexandru Macocian 2021-09-29 00:41:36 +02:00
  • dbc648992e Merge pull request #1 from AlexMacocian/alexmacocian/cicd-pipelines amacocian 2021-06-02 15:36:27 +02:00
  • 1a70065d49 Disable CD pipeline for PRs Alexandru Macocian 2021-06-02 15:33:48 +02:00
  • 848a56859f Disable all related server tests for CI Alexandru Macocian 2021-06-02 15:28:07 +02:00
  • dfe85bca09 Disable problematic tests Alexandru Macocian 2021-06-02 15:17:53 +02:00
  • bb9ea4773f Enable verbosity in unit tests Alexandru Macocian 2021-06-02 14:58:40 +02:00
  • 2ca324be10 Fix name Alexandru Macocian 2021-06-02 14:34:14 +02:00
  • d44deb3124 Change UTs target framework to .net5.0 Alexandru Macocian 2021-06-02 14:33:04 +02:00
  • 61af16e0b9 Merge 3da1a38e06 into b015132527 v3.3 amacocian 2021-06-02 12:27:52 +00:00
  • 3da1a38e06 Introduce CI & CD pipelines Alexandru Macocian 2021-06-02 14:28:46 +02:00
  • b015132527 Configurable return 500 on exception in http handlers. Configurable websocket hearbeat. Nit fixes. Alexandru Macocian 2021-05-12 14:08:25 +02:00
  • 2b198b5f63 Include license in nuget package. Alexandru Macocian 2021-03-26 12:03:45 +01:00
  • 3b21db8abd Expose IPAddress of the server. Alexandru Macocian 2021-03-20 11:47:50 +01:00
  • 3fbfe4ee2e Implement pong response to ping in websocketroutinghandler. Alexandru Macocian 2021-03-15 16:00:27 +01:00
  • 619992da80 Switched server resources to Slim.ServiceManager. Changed HttpRoutingHandler to use the general Slim.ServiceManager. Changed WebsocketRoutingHandler to a similar approach as HttpRoutingHandler. Implemented IRunOnStartup interface for handlers. Alexandru Macocian 2021-03-12 14:05:55 +01:00
  • 39fda909a0 Fixed a bug during registration of server resources. Alexandru Macocian 2021-03-10 15:45:36 +01:00
  • 50669ad289 Major rework of HttpRoutes. Implemented DI based routes. Implemented converters for HttpRequest and HttpResponse. Fixed e2e tests. Alexandru Macocian 2021-03-09 15:19:54 +01:00
  • 8ad0b27029 Reconnect policy for tcp client. Alexandru Macocian 2021-03-02 17:14:35 +01:00
  • 106f244500 Target .net5.0 Alexandru Macocian 2021-03-01 21:01:21 +01:00
  • 748785014a Improved value retrieval from http request form. Nit fixes. Scheduler that fires separate threads for each request. Removed https from e2e tests. Alexandru Macocian 2021-03-01 20:59:16 +01:00
  • 0b24bb7723 Extra logging for websocket handler Fixes for websocket handler Fix parsing of http response based on http specification document Alexandru Macocian 2020-11-02 18:52:26 +01:00
  • cb5da000e7 Factory method for logging message contents. Alexandru Macocian 2020-10-05 13:56:27 +02:00
  • 4c0545bda9 Added the option to log message contents Alexandru Macocian 2020-10-05 13:17:03 +02:00
  • d7c9c10cf3 Url functions for constructing and destructing urls Builder methods for http headers for easier building of requests/responses Incremented build version Alexandru Macocian 2020-05-25 18:57:11 +02:00
  • 54daebfb01 Fixed missing telemetry on normal httprouting response Upgraded to 2.7.10 Alexandru Macocian 2020-04-17 16:35:56 +02:00
  • fd37eba716 - Added http telemetry - Skipping to be removed clients from processing - Incremented to 2.7.9 Alexandru Macocian 2020-04-17 11:19:23 +02:00
  • 93414e1361 lower threshold for small messages Alexandru Macocian 2020-04-12 14:46:46 +02:00
  • b677395998 - set ReadTimeout to high value only when messages appear to be long Alexandru Macocian 2020-04-12 11:16:25 +02:00
  • 4af727c959 - made gathering of the messages asynchronous Alexandru Macocian 2020-04-12 10:04:10 +02:00
  • 4f16349933 Adds an option to configure ReadTimeout for socket operations Alexandru Macocian 2020-04-11 16:05:54 +02:00
  • 514bf44b2e bug fixes Alexandru Macocian 2020-04-11 15:56:18 +02:00
  • 8939d32145 - reverted to poll-based synchronous reading of client messages - use of stream that protects networkstream from timeout exception and keeps the data intact Alexandru Macocian 2020-04-11 11:37:39 +02:00
  • a3584b7c60 Fixed http handlers to respect the 100-continue protocol Alexandru Macocian 2020-04-10 23:02:47 +02:00
  • 7c717320b8 Updated to 2.7.3 Alexandru Macocian 2020-04-10 22:43:33 +02:00
  • 79e448e765 - Log ip with message size - Stop polling to avoid protocol violations Alexandru Macocian 2020-04-10 22:37:24 +02:00
  • 3229216044 - Increase buffer size to allow for received messages to reduce handler loops - Log received message size in debug Alexandru Macocian 2020-04-10 22:17:05 +02:00
  • 71cc470569 - server now reads continiously instead of polling - server increases reading delay when client is inactive - new procedure to check if the client is connected or not - ftphandler sets affinity to connected client Alexandru Macocian 2020-04-10 21:44:40 +02:00
  • e5ccfff5da - stop redundant parsing of HttpRequests for HttpRoutingHandler - introduced handler affinity to let handlers claim a client and prevent other handlers from receiving messages from the client - Httproutinghandler will route based on headers without loading the entire message Alexandru Macocian 2020-04-09 18:48:36 +02:00
  • a1672079c2 Make HttpHandler and HttpRoutingHandler take ownership of fragmented messages, and discard messages that don't broadcast the entire headers first Alexandru Macocian 2020-04-08 16:15:41 +02:00
  • 4e09c18787 Added SafeNetworkStream to client Alexandru Macocian 2020-04-08 15:10:22 +02:00
  • e47790b97f - Fixed issues with not knowing size of message when reading from SSL stream - Implemented a SafeNetworkStream that protects from SSL stream overreading, and stores information regarding the actual number of bytes to be read. - E2E test covering large uploading Alexandru Macocian 2020-04-08 14:47:54 +02:00
  • 71950ce372 added https certificate for e2e tests Alexandru Macocian 2020-04-08 14:41:25 +02:00
  • 0582a82d6c - Fixed messages being handled non-sequentially during parallel processing of the clients - Made unit tests use SSL encryption - Added netcore3.1 to build list Alexandru Macocian 2020-04-06 22:45:34 +02:00
  • 947fd08d9d set http request maximum size to max value Alexandru Macocian 2020-04-05 19:32:20 +02:00
  • 75d5f261a3 2.4 Alexandru Macocian 2020-04-05 16:25:36 +02:00
  • 0f26f7c6e0 Base implementation for FtpHandler Alexandru Macocian 2020-04-05 16:25:10 +02:00
  • 72060f15dd Started working on FTP modules Alexandru Macocian 2020-04-05 13:58:14 +02:00
  • 941accb523 Introduced LastActivity as the last time any communication was done with the client. Hid the setter of LastActivity and LastReceivedMessage so that only the server can set those values Alexandru Macocian 2020-03-29 18:13:23 +02:00
  • 64f1453061 Built threadsafe collection for running asynchronous operations on clients Fixed enqueuing and dequeuing of messages Made http routes asynchronous to support long running operations without delays Alexandru Macocian 2020-03-28 13:39:41 +01:00
  • 18b9f50635 2.2.5 Alexandru Macocian 2020-03-27 19:19:38 +01:00
  • 1eb95368ea Introduced typed resources for client Alexandru Macocian 2020-03-27 19:19:12 +01:00
  • 8025164ac7 2.2.4 Alexandru Macocian 2020-03-24 11:06:03 +01:00
  • 6f50734748 Some logic to build request from form data Alexandru Macocian 2020-03-24 11:05:14 +01:00
  • be1642fba1 2.2.3 Alexandru Macocian 2020-03-23 23:12:51 +01:00
  • e660ebff0e Fixed null reference on HttpRequest during POST Alexandru Macocian 2020-03-23 23:11:21 +01:00
  • 33e5b96af6 Upgraded to 2.2.2 Alexandru Macocian 2020-03-23 22:43:33 +01:00
  • e5544bce2e fixed a bug caused by http message fragmentation Alexandru Macocian 2020-03-23 22:43:02 +01:00