52txr 最近的时间轴更新
52txr

52txr

好好学习,天天向上
V2EX 第 608205 号会员,加入于 2022-12-28 16:40:28 +08:00
根据 52txr 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
52txr 最近回复了
@rrfeng
@skallz
@ranaanna
@yuedanwork
好嘞,感谢各位大佬的解答!
我也试了 Nginx1.18 ,完全按照教程来。

我只是瞎折腾,确实也不是急需的东西。如果有大佬 i 知道有什么坑,希望指点一二
407 | if (r->headers_out.cache_control.elts == NULL) {
| ^~~~
/usr/local/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/ngx_pagespeed.cc:408:35: error: cannot convert ‘ngx_table_elt_t**’ {aka ‘ngx_table_elt_s**’} to ‘ngx_array_t*’
408 | ngx_int_t rc = ngx_array_init(&r->headers_out.cache_control, r->pool,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| ngx_table_elt_t** {aka ngx_table_elt_s**}
In file included from src/core/ngx_core.h:66,
from src/http/ngx_http.h:13,
from /usr/local/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/ngx_pagespeed.h:33,
from /usr/local/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/ngx_pagespeed.cc:26:
src/core/ngx_array.h:32:29: note: initializing argument 1 of ‘ngx_int_t ngx_array_init(ngx_array_t*, ngx_pool_t*, ngx_uint_t, size_t)’
32 | ngx_array_init(ngx_array_t *array, ngx_pool_t *pool, ngx_uint_t n, size_t size)
| ~~~~~~~~~~~~~^~~~~
/usr/local/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/ngx_pagespeed.cc:415:22: error: cannot convert ‘ngx_table_elt_t**’ {aka ‘ngx_table_elt_s**’} to ‘ngx_array_t*’
415 | ngx_array_push(&r->headers_out.cache_control));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| ngx_table_elt_t** {aka ngx_table_elt_s**}
src/core/ngx_array.h:27:35: note: initializing argument 1 of ‘void* ngx_array_push(ngx_array_t*)’
27 | void *ngx_array_push(ngx_array_t *a);
| ~~~~~~~~~~~~~^
/usr/local/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/ngx_pagespeed.cc: In function ‘bool net_instaweb::{anonymous}::ps_get_cache_control(ngx_http_request_t*, GoogleString*)’:
/usr/local/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/ngx_pagespeed.cc:439:74: error: request for member ‘elts’ in ‘r->ngx_http_request_s::headers_out.ngx_http_headers_out_t::cache_control’, which is of pointer type ‘ngx_table_elt_t*’ {aka ‘ngx_table_elt_s*’} (maybe you meant to use ‘->’ ?)
439 | auto ccp = static_cast<ngx_table_elt_t**>(r->headers_out.cache_control.elts);
| ^~~~
/usr/local/nginx/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/ngx_pagespeed.cc:444:59: error: request for member ‘nelts’ in ‘r->ngx_http_request_s::headers_out.ngx_http_headers_out_t::cache_control’, which is of pointer type ‘ngx_table_elt_t*’ {aka ‘ngx_table_elt_s*’} (maybe you meant to use ‘->’ ?)
444 | for (ngx_uint_t i = 0; i < r->headers_out.cache_control.nelts; i++) {
| ^~~~~
make[1]: *** [objs/Makefile:1324: objs/addon/src/ngx_pagespeed.o] Error 1
make[1]: Leaving directory '/home/lighthouse/nginx-1.27.1'
make: *** [Makefile:10: build] Error 2
@OHYOLO 不好说,有的就是针对性攻击,有的是报复社会无差别攻击,逮谁的博客都进行攻击
@julyclyde 强答一下也可以参考参考,为什么要处理?(还是论坛有什么梗我不知道而已)
@pckillers 嗯嗯,感谢大佬指导!
@amlee 哈哈,是这样的,cf 简直赛博菩萨。害,业余学生,喜欢瞎玩
@foxhunt 免费的就是最贵的是吧,不过拿来研究和体验一下还可以
@frankies 害,本身就是业余的人来瞎折腾的,我一个学机械的纯业余爱好玩玩
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2207 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 9ms · UTC 16:11 · PVG 00:11 · LAX 08:11 · JFK 11:11
Developed with CodeLauncher
♥ Do have faith in what you're doing.