HTTP / S代理起点 [英] HTTP/S proxy starting point

查看:141
本文介绍了HTTP / S代理起点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想根据我如何解析C ++中的HTTP请求,使HTTP / S代理程序过滤/拒绝某些HTTP流量。

I would like to make an HTTP/S proxy program to filter/deny certain http traffic based on how I parse the HTTP request in C++.

我可以使用开放许可证的商业用途的起点代码?

Is there some kind of starting point code that I can use with an open license for commercial use? For example if I wanted to do a project on searching I would start with lucene.

推荐答案

例如,如果我想做一个搜索项目, http://nginx.org/ =nofollow> nginx 是一个用C语言编写的高性能HTTP / S服务器,可用作代理。

nginx is a high performance HTTP/S server written in C that can be used as a proxy.

它有一个易于使用的模块系统,您可以为此编写插件。您应该考虑使用现有的解析器,如 Ragel 来帮助您

It has a easy to use module system for which you can write plugins. You should consider using an existing parser like Ragel to help you on the filtering side.

它是根据 BSD式许可证这是商业用途。

It is licensed under a BSD-like license which is fine for commercial use.

这篇关于HTTP / S代理起点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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