public Http1Connection(Http1ConnectionContext context) : base(context) { _context = context; _parser = ServiceContext.HttpParser; _keepAliveTicks = ServerOptions.Limits.KeepAliveTimeout.Ticks; _requestHeadersTimeoutTicks = ServerOptions.Limits.RequestHeadersTimeout.Ticks; Output = new Http1OutputProducer(_context.Application.Input, _context.Transport.Output, _context.ConnectionId, _context.ServiceContext.Log, _context.TimeoutControl); }
public Http1Connection(Http1ConnectionContext context) : base(context) { _context = context; _parser = ServiceContext.HttpParser; _keepAliveTicks = ServerOptions.Limits.KeepAliveTimeout.Ticks; _requestHeadersTimeoutTicks = ServerOptions.Limits.RequestHeadersTimeout.Ticks; Output = new Http1OutputProducer( _context.Transport.Output, _context.ConnectionId, _context.ConnectionContext, _context.ServiceContext.Log, _context.TimeoutControl, _context.ConnectionFeatures.Get <IBytesWrittenFeature>()); }
public Http1Connection(IHttpApplication <TContext> application, Http1ConnectionContext context) : base(context) { _application = application; }