所有HTTP流量是否都通过Windows上的HTTP.SYS? [英] Does all HTTP traffic go through HTTP.SYS on Windows?

查看:94
本文介绍了所有HTTP流量是否都通过Windows上的HTTP.SYS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道Microsoft创建了HTTP.SYS以提高IIS的性能。我的问题是HTTP.SYS是否处理所有应用程序的HTTP流量?例如,如果JVM使用Winsock接收HTTP流量,那么HTTP.SYS透明地通过Winsock API传递这些数据呢?或者已经被Winsock的Windows上的新内核替换HTTP.SYS?

I know Microsoft created HTTP.SYS to increase the performance of IIS. My question though is does HTTP.SYS handle HTTP traffic for all apps? What about a JVM for instance, if its using Winsock to receive HTTP traffic, is HTTP.SYS transparently passing this data through the Winsock API? Or has Winsock been replaced by HTTP.SYS on newer kernels of Windows?

微软是不是在他们的文档清楚这一点,据我可以告诉。

Microsoft is not clear about this in their docs, as far as I can tell.

推荐答案

应用程序可以选择使用http.sys。他们可以选择实现自己的HTTP协议处理程序。

Applications can choose to use http.sys. They can choose to implement their own HTTP protocol handlers.

强烈建议应用程序出于安全原因使用http.sys - http.sys实现的HTTP服务器是公平的强化,其他HTTP服务器可能会引入安全缺陷。

It is strongly recommended that applications use http.sys for security reasons - the HTTP server implemented by http.sys is fairly well hardened and other HTTP servers may introduce security defects.

据我所知,HTTP.SYS与TCP堆栈对话,而不是NDIS(否则它必须实现内部的所有TCP,这没有多大意义。)

As far as I know, HTTP.SYS talks to the TCP stack, not NDIS (otherwise it would have to implement all of TCP internally and that doesn't make a lot of sense).

这篇关于所有HTTP流量是否都通过Windows上的HTTP.SYS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆