forked from openresty/lua-nginx-module
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] master from openresty:master #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pull
wants to merge
135
commits into
wudi:master
Choose a base branch
from
openresty:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…sion can be reused. (#2267)
Can be reproduced in valgrind mode in t/129-ssl-socket.t: ==55579== 13 bytes in 1 blocks are definitely lost in loss record 3 of 19 ==55579== at 0x483A809: malloc (vg_replace_malloc.c:307) ==55579== by 0x44F522: ngx_alloc (ngx_alloc.c:22) ==55579== by 0x549DDD: ngx_http_lua_ffi_socket_tcp_sslhandshake (ngx_http_lua_socket_tcp.c:1828) ==55579== by 0x4897FEA: lj_vm_ffi_call (in /opt/luajit21/lib/libluajit-5.1.so.2.1.1700206165) ==55579== by 0x48F7980: lj_ccall_func (lj_ccall.c:1402) ==55579== by 0x4910E74: lj_cf_ffi_meta___call (lib_ffi.c:230) ==55579== by 0x4895B7D: lj_BC_FUNCC (in /opt/luajit21/lib/libluajit-5.1.so.2.1.1700206165) ==55579== by 0x5360E6: ngx_http_lua_run_thread (ngx_http_lua_util.c:1184) ==55579== by 0x54203E: ngx_http_lua_socket_tcp_resume_helper (ngx_http_lua_socket_tcp.c:6207) ==55579== by 0x542123: ngx_http_lua_socket_tcp_conn_resume (ngx_http_lua_socket_tcp.c:6113) ==55579== by 0x5393B1: ngx_http_lua_content_wev_handler (ngx_http_lua_contentby.c:152) ==55579== by 0x54014B: ngx_http_lua_socket_handle_conn_success (ngx_http_lua_socket_tcp.c:3638) ==55579== by 0x54504E: ngx_http_lua_socket_connected_handler (ngx_http_lua_socket_tcp.c:3906) ==55579== by 0x5405A7: ngx_http_lua_socket_tcp_handler (ngx_http_lua_socket_tcp.c:3426) ==55579== by 0x4567C0: ngx_epoll_process_events (ngx_epoll_module.c:930) ==55579== by 0x44AAB3: ngx_process_events_and_timers (ngx_event.c:258) ==55579== by 0x454623: ngx_worker_process_cycle (ngx_process_cycle.c:793) ==55579== by 0x45295B: ngx_spawn_process (ngx_process.c:199) ==55579== by 0x45340E: ngx_start_worker_processes (ngx_process_cycle.c:382) ==55579== by 0x4551F1: ngx_master_process_cycle (ngx_process_cycle.c:241) ==55579== by 0x429DD6: main (nginx.c:387)
…s during testing. (#2274)
…se_der_key functions.
… requests." This reverts commit 86bea01.
…sing bug." This reverts commit 0090f3f.
…HTTP3 processing case
This memory corruption will cause nginx crash and can reproduce under
"--with-no-pool-patch" build by running t/048-match-dfa.t TEST 9.
test log:
ok 1 - t/048-match-dfa.t TEST 9: multiple match calls with captures and DFA. - status code ok
ok 2 - t/048-match-dfa.t TEST 9: multiple match calls with captures and DFA. - response_body - response is expected (repeated req 0, req 0)
t/048-match-dfa.t TEST 9: multiple match calls with captures and DFA. - Can't connect to 127.0.0.1:1984: Connection refused
Retry connecting after 0.675 sec
t/048-match-dfa.t TEST 9: multiple match calls with captures and DFA. - Can't connect to 127.0.0.1:1984: Connection refused
Retry connecting after 0.825 sec
error.log
[notice] 1683757#0: using the "epoll" event method
[notice] 1683757#0: openresty/1.25.3.1 (no pool)
[notice] 1683757#0: built by gcc 13.2.1 20231011 (Red Hat 13.2.1-4) (GCC)
[notice] 1683757#0: OS: Linux 6.7.4-100.fc38.x86_64
[notice] 1683757#0: getrlimit(RLIMIT_NOFILE): 1024:524288
free(): invalid next size (fast)
Co-author-by: lijunlong<[email protected]>
This is a rewrite PR #1687 from vislee <[email protected]>
Co-authored-by: lijunlong <[email protected]>
Co-authored-by: Bas van Kervel <[email protected]> Co-authored-by: lijunlong <[email protected]>
so we need to change nginx_version value to 1029001 here
Co-authored-by: lijunlong <[email protected]>
Co-authored-by: zhuo.zhang <[email protected]>
Commit freenginx/nginx@3329aa9 updated the ngx_http_request_t structure with the start_time; the start_sec and start_msec were removed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )