Questions tagged [http.sys]

http.sys is Microsoft Windows HTTP protocol stack file

The HTTP listener is implemented as a kernel-mode device driver called the HTTP protocol stack (HTTP.sys). IIS uses HTTP.sys, which is part of the networking subsystem of the Windows operating system, as a core component.
When IIS runs in worker process isolation mode, HTTP.sys listens for requests and queues those requests in the appropriate queue. Each request queue corresponds to one application pool. An application pool corresponds to one request queue within HTTP.sys and one or more worker processes.

If a defective application causes the user-mode worker process to terminate unexpectedly, HTTP.sys continues to accept and queue requests, provided that the WWW service is still running, queues are still available, and space remains in the queues.

97 questions
0
votes
1 answer

Hosting Angular project with ASP.NET core

I have an Angular project which I want to host. There is a template in asp.net core web project for Angular. I studied the template and created an empty template project for ASP.NET core and installed required packages (like SPA and all other…
0
votes
0 answers

queue up Http.sys queue intentionally

I am trying to intentionally cause the http.sys queue to queue up by limiting the maximum number of worker threads to 1 and sending multiple requests to an API that keeps running forever. I have read multiple articles where I understand that the…
Mo Haidar
  • 3,748
  • 6
  • 37
  • 76
0
votes
0 answers

In .net core ,Can http.sys be used as reversed proxy server?

In .net core Can http.sys be used as reversed proxy server to Kestrel or other internal server ?
Zahran Taha
  • 3
  • 1
  • 3
0
votes
1 answer

IIS Remove header from response - Server:Microsoft-HTTPAPI/2.0 when 400 Bad Request

We are trying to remove Server identity header from API response. We have added rewrite rules in global web.config and application web.config and is working properly, But now when we change method type to "Trace" and change "Content-Length" value to…
Chetan Patel
  • 1
  • 1
  • 1
0
votes
1 answer

Does Http.sys support full duplex communication?

Is this possible? Can we access the underlying socket, used by http.sys to serve a response for a given request. I want to be able to support full duplex communication over the http protocol on port 80. Is there a way to grab the established socket…
Ivan Zlatanov
  • 5,146
  • 3
  • 29
  • 45
0
votes
2 answers

Getting 'Request_Cancelled' in %windir%\System32\LogFiles\HTTPERR from iOS device

We are trying to find out why background requests to a particular endpoint (http or https) is never getting to IIS. The IIS logs show other requests from our device but none from our background requests. They do show in the HTTP.SYS logs though with…
Nathan
  • 1
  • 2
0
votes
1 answer

How to avoid multiple 401 when using Windows authentication on HTTP.sys

I have a Web API which uses .NET core 2.2 and HTTP.Sys. I've setup Windows authentication and I can see the 401 WWW-Negotiate challenge followed by 200 when the user is authorized. Now I've performed the same request several times but I see the…
peval27
  • 1,239
  • 2
  • 14
  • 40
0
votes
1 answer

WebApi: Use different Route prefix for http reservation and WebApi routes

I have a Windows Service which exposes some APIs via WebAPI and OData using http.sys (to facilitate port sharing): /api /odata /swagger I also have reservation with http.sys for the prefix https://+:1234/. Additionally, I have a web site (SPA)…
Henning Krause
  • 5,302
  • 3
  • 24
  • 37
0
votes
1 answer

HTTP.sys kerberos authentication fails with 401 code

I have web application running on windows server 2016. In this app I use HTTP.sys with negotiate authentication enabled. I have also configured Active Directory and when I enter my site I see that web browser gets kerberos ticket and sends them to…
0
votes
1 answer

Service Fabric - Remove ReverseProxy Server header 'Microsoft-HTTPAPI/2.0'

I've got a stateless service running on asp.net core 2.1/kestrel. The service is secured and accessed from the outside via LB and SF Reverse Proxy. Service Fabric version is 6.3.187.9494. I have a need to remove Server header completely from the…
Kiryl
  • 1,416
  • 9
  • 21
0
votes
1 answer

Selfhosted Asp.Net Core WebAPi with http.sys webserver deploy

I'm trying to deploy selfhosted Asp.Net Core WebApi. I replaced the default Kestrel web server with Http.sys. I'm deploying on a virtual machine with Windows Server 2016. When I request the api locally (from the virtual machine) I can access it…
Dim_Ka
  • 788
  • 1
  • 7
  • 26
0
votes
2 answers

Is HTTP.sys a filter (lower/upper) or a function driver (FDO for a PDO)?

I am currently researching (for personal purposes only) whether it is possible to write a filter driver that sits under HTTP.sys in order to intercept requests. The idea is to investigate whether it's possible to override the 503 Service…
Albert Herd
  • 433
  • 1
  • 7
  • 13
0
votes
1 answer

Wildcard registration in http.sys doesn't match loopback addresses

I have a service hosted on http://127.0.0.1:2113/ and have made the following URL registration in http.sys http://*:2113/ However, for some reason the service throws the exception System.Net.HttpListenerException (0x80004005): Access is denied HTTP…
SabrinaMH
  • 221
  • 1
  • 3
  • 11
0
votes
0 answers

'Invalid hostname' response from http.sys

We have web service running hosted on an OwinHttpListener (http.sys behind the scenes). Whenever we send requests to the app on the IP address, it responds with 'Invalid hostname'. After much trawling of stack overflow and google, im not really any…
richzilla
  • 40,440
  • 14
  • 56
  • 86
0
votes
1 answer

Allow IIS virtual directory to pass through to a separate http.sys binding

Bottom line: Is there a way to allow a subpath of a bound IIS site pass through to a non-IIS application bound directly in http.sys? I am using IIS 7.5 on Windows Server 2008. I have an existing IIS site bound to a specific root url, say…
Joshua Honig
  • 12,925
  • 8
  • 53
  • 75