Skip to content

Commit 02148a2

Browse files
committed
Merge pull request #1 from openresty/master
syn
2 parents 24d6f60 + 7e201d7 commit 02148a2

File tree

4 files changed

+13
-42
lines changed

4 files changed

+13
-42
lines changed

src/ngx_http_lua_shdict.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ ngx_http_lua_shdict_set_helper(lua_State *L, int flags)
10131013
}
10141014

10151015
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, ctx->log, 0,
1016-
"lua shared dict set: found old entry bug value size "
1016+
"lua shared dict set: found old entry but value size "
10171017
"NOT matched, removing it first");
10181018

10191019
remove:
@@ -1522,7 +1522,7 @@ ngx_http_lua_ffi_shdict_store(ngx_shm_zone_t *zone, int op, u_char *key,
15221522
}
15231523

15241524
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, ctx->log, 0,
1525-
"lua shared dict set: found old entry bug value size "
1525+
"lua shared dict set: found old entry but value size "
15261526
"NOT matched, removing it first");
15271527

15281528
remove:

util/build.sh

Lines changed: 0 additions & 39 deletions
This file was deleted.

util/build2.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/env bash
22

3-
# this file is mostly meant to be used by the author himself.
3+
# this script is for developers only.
4+
# dependent on the ngx-build script from the nginx-devel-utils repostory:
5+
# https://github.com/openresty/nginx-devel-utils/blob/master/ngx-build
6+
# the resulting nginx is located at ./work/nginx/sbin/nginx
47

58
root=`pwd`
69
version=${1:-1.4.1}

valgrind.suppress

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@ fun:main
103103
fun:ngx_alloc
104104
fun:ngx_event_process_init
105105
}
106+
{
107+
<insert_a_suppression_name_here>
108+
Memcheck:Param
109+
sendmsg(mmsg[0].msg_hdr)
110+
fun:sendmmsg
111+
fun:__libc_res_nsend
112+
}
106113
{
107114
<insert_a_suppression_name_here>
108115
Memcheck:Param

0 commit comments

Comments
 (0)