Tags: primespace/embedio
Tags
Changes to WebSocket (unosquare#287) * Changes to WebSocket * Suggested changes * SubProtocol change
Refactor virtual path management of StaticFilesModule (fixes unosqua… …re#272 et al.) (unosquare#275) * Avoid creating a temporary Dictionary. * Remove excess parenthesis. * Refactor virtual path management of StaticFilesModule (fixes unosquare#272 et al.) * Determinism: - always evaluate virtual path in reverse ordinal order; - normalize URL paths to simplify code and ensure consistent mapping. * Separation of concerns: - have methods that deal with mapping URL paths to local paths, and other methods that deal with the existence of local paths. * Caching: - keep track of _how_ and _why_ paths were mapped; - discard cached mapped paths whose generating data (virtual path, default extension, default documkent name) has changed. * Support for dynamic file systems: - allow the user to deactivate path caching in situations where the contents of served directories may change over time. * Compatibility: - keep existing constructors, methods, and properties of StaticFilesModule; - keep existing exception semantics (e.g. throw InvalidOperationException instead of ArgumentException for invalid paths passed to RegisterVirtualPath). * Behavior changes: - scenarios where files could be added to a served directory after being requested (resulting in error 404) are no longer supported: said files will continue to give error 404, unless path caching is disabled. - scenarios where files are continuously added and/or deleted, which previously resulted in spurious error 404s (unosquare#272), can now be supported by disabling path caching. * Modify test that would not throw on machines where drive E: actually exists.
Add new CloseAsync (unosquare#268) * Add new CloseAsync * Update src/Unosquare.Labs.EmbedIO/System.Net/WebSocket.cs Co-Authored-By: geoperez <1775792+geoperez@users.noreply.github.com>
IPv6 Support (unosquare#215) * Resolving issues with parse Uri Ipv6 * Working on IPv6 connection * Add IPv6 test * Change to test * Update test * Change order setup * Update Program.cs * Configure Await * Minor issues * WIP * Correct Lazy for MIME * Major refactor * Test * Missing ConfigureAwait * Unify websocket testing * Conditional * Match handshake with netcore * Increate timeout
PreviousNext