aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer
AgeCommit message (Collapse)Author
2019-10-09Merge pull request #1863 from joshuaboniface/fix-baseurl-issuesVasily
Fix inconsistent BaseUrl behavior
2019-10-09Make NormalizeUrlPath staticJoshua Boniface
2019-10-09Fix template for loggingVasily
2019-10-09Always log at least error message when error happens during request processingVasily
2019-10-09Set response length and mime type correctly when reporting an errorVasily
2019-10-08Normalize baseUrl behaviourJoshua Boniface
Fully normalizes the baseUrl behaviour to better match how this sort of feature works in other programs. 1. The baseUrl is always appended to paths, even the built-in `/emby` and `/mediabrowser` paths. 2. The baseUrl is set statically at class instance creation, to ensure it persists through changes until the next restart. 3. Configuration is normalized using a function when set, to ensure it's in a standard `/mypath` format with leading `/`. 4. Cleans up the conditionals around default redirects. For sanity after changing the URL, it will match *any* path that doesn't match the current baseUrl and redirect it back to the main page (with baseUrl). 5. Adds a second method, NormalizeUrlPath, to avoid lots of `+ "/" +` string manipulations which are unclean - we should always have a leading slash. 6. Sets the default baseUrl to an empty string to avoid unexpected behaviour, though this would be worked-around automatically. 7. Adds some debug logs whenever a URL is normalized, to help track down issues with this code (if any arise).
2019-09-25Merge pull request #1785 from dkanada/compatVasily
Add mediabrowser route back for now
2019-09-24add an exception to loggingdkanada
2019-09-24add mediabrowser route back for nowdkanada
2019-09-23Fix multiple mistakes and warningsBond_009
2019-09-18Set log level to debug for HTTP range requestsErik Larsson
This removes some spam when a DLNA renderer uses byte seeking.
2019-09-02Fix warnings, improve performance (#1665)Bond-009
* Fix warnings, improve performance `QueryResult.Items` is now a `IReadOnlyList` so we don't need to allocate a new `Array` when we have a `List` (and `Items` shouldn't need to be mutable anyway) * Update Providers .csproj to latest C# * Remove extra newline from DtoService.cs * Remove extra newline from UserLibraryService.cs
2019-08-11keep old base url for nowdkanada
2019-08-11add base url to server configurationdkanada
2019-08-11remove old routes from http serverdkanada
2019-08-09Replace custom code with Asp.Net Core codeBond_009
2019-08-03Set log level to debug for HTTP range requestsErik Larsson
2019-06-01Merge branch 'master' into tasksBond-009
2019-04-30Merge pull request #1337 from jellyfin/release-10.3.zJoshua M. Boniface
Backmerge for 10.3.2 release
2019-04-25Merge pull request #1304 from jellyfin/release-10.3.zBond-009
Backmerge 10.3.1
2019-04-24Fix #1234Bond_009
2019-04-24Re-add content length, semi revert of changes in #1010 (#1287)Claus Vium
* Re-add content length, semi revert of changes in #1010
2019-04-20Merge pull request #1252 from jellyfin/release-10.3.zBond-009
Backmerge release 10.3.0
2019-04-17Add MethodNotAllowedException with code 405Joshua Boniface
2019-04-17Merge pull request #1158 from Bond-009/httpcleanJoshua M. Boniface
Reduce complexity http routes
2019-03-26Reduce complexity http routesBond-009
2019-03-25Simplify/remove/clean codeBond-009
* Remove useless runtime check (we only support one) * Remove unused args * Remove a global constant And ofc fix some warnings ;)
2019-03-25Lower the amount of running tasksBond_009
2019-03-19Fix default value for Expires headerBill Thornton
2019-03-13Improvements around streamsBond-009
* Use ArrayPool instead of allocating new buffers each time * Remove NetworkStream copy * Remove some dead code
2019-03-07Add urlprefixes during initClaus Vium
2019-03-07Don't set status code if response is closedClaus Vium
2019-03-07Make SkipLogExtensions staticClaus Vium
2019-03-06Make FileSystem readonlyClaus Vium
2019-03-05Remove more Content-Length referencesClaus Vium
2019-03-05Add ProcessWebSocketRequest to IHttpListenerClaus Vium
2019-03-05Fix DI in FileWriter.TransmitFileClaus Vium
2019-03-05Switch to HeaderNames instead of hardcoded strings (and other header related ↵Claus Vium
fixes)
2019-03-05Remove unused Brotli compressorClaus Vium
2019-03-05Remove unused _listenerClaus Vium
2019-03-04Expand todoClaus Vium
2019-03-04Use QueryHelpers.AddQueryStringClaus Vium
2019-03-03Add certificate to https and minor cleanupClaus Vium
2019-02-27Remove more cruft and add the beginnings of a socket middlewareClaus Vium
2019-02-27Fix query log for realClaus Vium
2019-02-27Fix query logClaus Vium
2019-02-27Replace some usage of QueryParamCollectionClaus Vium
2019-02-27Remove HttpUtilityClaus Vium
2019-02-26More cleanupClaus Vium
2019-02-26Extend the IHttpServer interface to avoid the typecastingClaus Vium