HTTP/S 代理起点

HTTP/S proxy starting point(HTTP/S 代理起点)

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

问题描述

我想制作一个 HTTP/S 代理程序,根据我在 C++ 中解析 HTTP 请求的方式来过滤/拒绝某些 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++.

是否有某种起点代码可以用于商业用途的开放许可?例如,如果我想做一个搜索项目,我会从 lucene 开始.

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.

推荐答案

nginx 是一个高性能的 HTTP/S用 C 语言编写的服务器,可用作代理.

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 代理起点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:HTTP/S 代理起点

基础教程推荐