Commit Graph

28 Commits

Author SHA1 Message Date
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 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 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
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 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 1cc433eabc Start the webhost before RunStartupTasks and fix ContentEncoding 2019-03-03 13:54:14 +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 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
Claus Vium 4e229ad86b Fix PathInfo 2019-02-26 22:11:21 +01:00
Claus Vium 5a7cca9d1b Fix websockets and RawUrl 2019-02-26 22:11:21 +01:00
Claus Vium f3e7bc0573 Replace some todos with http extensions and prepare some socket work 2019-02-26 22:11:21 +01:00
Claus Vium 852460b991 kestrel init 2019-02-26 22:11:21 +01:00