回答
收藏
分享
举报
c++能开发nginx插件嘛?
提问于2020-05-08 16:21

浏览 4k

c++能开发nginx插件嘛?

如何进行编译?

已修改于2023-03-14 11:11



写下您的回答
发表回答
全部回答(3)

按点赞数排序

按时间排序

可以,我在《深入理解Nginx:模块开发与架构解析》第2版,第3.9节就介绍了C++ 如何编写Nginx模块的方法

赞同

1

回复举报

回答于2020-05-20 20:05



回复陶辉
回复

可以的,老铁,网上文章很多的

赞同

0

回复举报

回答于2020-05-08 17:15



回复火男
回复

肯定可以的啊

赞同

0

回复举报

回答于2020-05-08 16:53



回复13191816265@qq.com
回复
提问者
繁星
这家伙很懒还未留下介绍~
0
文章
6
问答
8
粉丝
相关问答

到底是对所有请求生效,还是只对某个域名下的请求,亦或者是某类URL下的请求生效呢?这很难定义,也难以展示。Nginx可以检测到非法的配置,但这个配置的生效范围非常复杂,通常需要基于规则、经验判断,以及自己构造请求来验证(只需要将Content-Length头部设到10GB以上,不用真的传输这么大的文件)

点赞 0
浏览 10k

第1种。参考官方文档:

“When buffering is enabled, nginx receives a response from the proxied server as soon as possible, saving it into the buffers set by the proxy_buffer_size and proxy_buffers directives. If the whole response does not fit into memory, a part of it can be saved to a temporary file on the disk. Writing to temporary files is controlled by the proxy_max_temp_file_size and proxy_temp_file_write_size directives.

When buffering is disabled, the response is passed to a client synchronously, immediately as it is received. nginx will not try to read the whole response from the proxied server. The maximum size of the data that nginx can receive from the server at a time is set by the proxy_buffer_size directive.”

点赞 0
浏览 3.3k