crobibero
44957c5a9a
Use typed logger where possible
2020-06-05 18:15:56 -06:00
Vasily
40502a33e0
Merge pull request #3203 from Bond-009/warn18
...
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
2020-06-03 12:27:59 +03:00
Bond_009
4748105dce
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
2020-05-29 11:28:19 +02:00
Bond-009
b61ee09a36
Update WebSocketSharpRequest.cs
2020-05-26 20:00:37 +02:00
Bond-009
0676d1c2f4
Update WebSocketSharpRequest.cs
2020-05-26 19:33:20 +02:00
Bond_009
10e381f66f
Fix some 'bugs' flagged by sonarcloud
2020-05-25 23:52:51 +02:00
Mark Monteiro
2e09311a93
Merge branch 'master' into websocket
2020-05-14 11:08:08 -04:00
Mark Monteiro
1c06111497
Merge remote-tracking branch 'upstream/master' into integration-tests
2020-05-03 01:04:19 -04:00
Bond_009
04f826e50c
Fix merge errors
2020-05-02 01:09:35 +02:00
Bond_009
15634a1913
Merge branch 'master' into websocket
2020-05-02 00:54:04 +02:00
Mark Monteiro
3cf2fce983
Handle null values for RemoteIpAddress and LocalIpAddress in websocket requests
...
These values are null when creating fake web requests as part of integration tests
2020-04-20 13:59:02 -04:00
Bond_009
7f4a229cd2
Add some simple tests
2020-04-20 10:18:12 +02:00
Mark Monteiro
c49a12dd73
Make LoggerFactory private in ApplicationHost and use it to construct loggers with context
2020-03-03 23:31:25 +01:00
Bond_009
87d2479b78
Fix warnings
2020-01-31 22:26:53 +01:00
Bond_009
976459d3e8
Rewrite WebSocket handling code
2020-01-13 20:06:08 +01:00
Bond-009
caca2b31fe
Fix build
2019-12-03 10:55:22 +01:00
Bond-009
84c136b1f2
Update Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs
...
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
2019-12-01 19:30:18 +01:00
Bond-009
6f45d95951
Minor improvements to network code
2019-11-28 17:46:06 +01:00
Bond-009
b477b3874e
Fix some warnings
2019-11-22 16:15:31 +01:00
Bond_009
dc662beefe
Add analysers to Emby.IsoMounting and enable TreatWarningsAsErrors
2019-08-16 21:03:45 +02:00
Bond_009
cf7290343f
Fix build
2019-08-09 22:36:20 +02:00
Bond_009
9fff4b060e
Replace custom code with Asp.Net Core code
2019-08-09 22:36:20 +02:00
Bond-009
ce1fa42f9d
Merge branch 'master' into tasks
2019-06-01 17:06:01 +02:00
VooDooS
ba12d96d23
Removed wrapping of HeaderNames fields
2019-04-12 15:25:18 +02:00
VooDooS
bb807554e2
Replace CRLF injection mitigation by use of .NET ip parsing
2019-04-12 13:48:12 +02:00
VooDooS
56d1050bac
Replace custom ip "normalization" by methods from IPAddress
2019-04-11 17:49:18 +02:00
VooDooS
a6e1b23eb0
Simplify headers use in WSS
2019-04-11 17:49:14 +02:00
Ulysse
a1d50a6d05
Clean WebSocketSharpRequest.PathInfo
( #1212 )
...
* rm useless ResolvePathInfoFromMappedPath method
* rm useless NormalizePathInfo method
* Use request.Path instead of RawUrl
* Removing unused `HandlerFactoryPath` field
* Use an expression body definition and rm field `pathInfo`
* More (syntactic) sugar
* Who needs blocks in cases ?
2019-04-09 20:19:27 +02:00
Bond_009
2696ac5eac
Lower the amount of running tasks
2019-03-25 21:33:48 +01:00
Vasily
497b4f834f
Merge pull request #1021 from Bond-009/failonwarn
...
Fail on warnings for Jellyfin.Server
2019-03-12 11:31:22 +03:00
Bond-009
669c48cc8b
Merge pull request #1065 from cvium/closed_response
...
Don't set status code if response is closed
2019-03-07 22:32:01 +01:00
Claus Vium
3fa43a1e08
Don't set status code if response is closed
2019-03-07 22:26:23 +01:00
Bond-009
620d7b560d
Fail on warnings for Jellyfin.Server
2019-03-07 21:52:16 +01:00
Bond-009
c5fce647de
Cleanup/simplification
...
* Removed useless copies/allocations
* Reduced unneeded complexity
2019-03-07 21:13:13 +01:00
Claus Vium
0abe57e930
Merge remote-tracking branch 'remotes/upstream/master' into kestrel_poc
2019-03-07 20:16:51 +01:00
Claus Vium
9a4a01fb0e
Fix DI in FileWriter.TransmitFile
2019-03-05 19:32:22 +01:00
Claus Vium
78742b8e4c
Switch to HeaderNames instead of hardcoded strings (and other header related fixes)
2019-03-05 19:20:28 +01:00
Claus Vium
557c4d065d
Review comments
2019-03-04 19:55:59 +01:00
Claus Vium
6cc1bd544a
Fix a logging statement
2019-03-04 19:31:26 +01:00
Claus Vium
1cc433eabc
Start the webhost before RunStartupTasks and fix ContentEncoding
2019-03-03 13:54:14 +01:00
Claus Vium
1ac282b12e
Call SharpWebSocket's Closed event handler before disposing
2019-02-27 23:39:20 +01:00
Claus Vium
fb1de5a921
Remove more cruft and add the beginnings of a socket middleware
2019-02-27 23:22:55 +01:00
Claus Vium
dab8e15052
Check websocket state before closing
2019-02-27 21:48:28 +01:00
Claus Vium
e47d121985
Fix websockets
2019-02-27 21:40:47 +01:00
Claus Vium
27e7e792b3
Replace some usage of QueryParamCollection
2019-02-27 14:23:39 +01:00
Claus Vium
25d3d0b731
Remove some unused stuff
2019-02-27 08:02:32 +01:00
Claus Vium
77addb2283
Remove SocketHttpListener
2019-02-27 07:32:36 +01:00
Claus Vium
848cfc32cc
More cleanup
2019-02-26 22:57:59 +01:00
Claus Vium
5510e8ebee
Remove unused Cookies
2019-02-26 22:53:59 +01:00
Claus Vium
9c02e99e35
Undo some of the span abuse
2019-02-26 22:40:25 +01:00