http.sys实现 [英] http.sys implementation

查看:125
本文介绍了http.sys实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们都知道Windows中有一个很大的二进制文件,名为http.sys 内核模式驱动程序,可以为我们执行HTTP处理.基本上这就是我们所知道的.

We all know that there's a big sweet piece o' binary named http.sys kernel-mode driver in our Windows that does HTTP handling for us. That is basically all we know about it.

但是今天我想:嘿,我们所有的网络连接(如TCP/IP等)都在用户领域– ws2_32.dll的提供程序(在mswsock.dll中)及其所有朋友.由于存在用户区组件,因此http.sys无法使用它们.问题是:他们是怎么做到的?任何信息链接将不胜感激.

But today I thought: hey, all our networking stuff like TCP/IP and whatnot is here, in userland -- ws2_32.dll's providers (in mswsock.dll) and all its friends. Since there are userland components, there is no way http.sys uses them. The question is: how do they do it? Any informative links will be greatly appreciated.

推荐答案

我可以想象HTTP.SYS使用此处.

I would imagine that HTTP.SYS utilizes Windows Kernel Sockets to achieve it's objectives. See here as well.

这篇关于http.sys实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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