diff options
author | Jens Geyer <jensg@apache.org> | 2021-04-13 21:21:16 +0200 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2021-04-16 09:47:28 +0200 |
commit | 80415f05d621c861aeaa791fa93a1c3bee8b84bc (patch) | |
tree | 282b404e2324d12c377bcd6fd1385a1a3609b5c0 /lib/netstd | |
parent | d4e1eb98525faffafdba4f36f44e3e7382cc0fd0 (diff) | |
download | thrift-80415f05d621c861aeaa791fa93a1c3bee8b84bc.tar.gz |
commented private code that is definitely never used
This closes #2375
Diffstat (limited to 'lib/netstd')
-rw-r--r-- | lib/netstd/Thrift/Transport/Server/THttpServerTransport.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/netstd/Thrift/Transport/Server/THttpServerTransport.cs b/lib/netstd/Thrift/Transport/Server/THttpServerTransport.cs index dd30d3d47..a013a9a34 100644 --- a/lib/netstd/Thrift/Transport/Server/THttpServerTransport.cs +++ b/lib/netstd/Thrift/Transport/Server/THttpServerTransport.cs @@ -31,8 +31,10 @@ namespace Thrift.Transport.Server public class THttpServerTransport { protected const string ContentType = "application/x-thrift"; + /* never used private readonly ILogger _logger; private readonly RequestDelegate _next; + */ protected Encoding Encoding = Encoding.UTF8; protected TProtocolFactory InputProtocolFactory; @@ -85,11 +87,13 @@ namespace Thrift.Transport.Server InputTransportFactory = inputTransFactory; OutputTransportFactory = outputTransFactory; + /* never used _next = next; _logger = (loggerFactory != null) ? loggerFactory.CreateLogger<THttpServerTransport>() : new NullLogger<THttpServerTransport>(); - } + */ + } - public async Task Invoke(HttpContext context) + public async Task Invoke(HttpContext context) { context.Response.ContentType = ContentType; await ProcessRequestAsync(context, context.RequestAborted); //TODO: check for correct logic |