feature: applied the delayed-posted-events patch to the nginx core for adding "delayed posted events" which run in the next event cycle with 0 delay.

this nginx core feature is needed by the ngx.sleep(0) feature in
ngx_lua, for example.

Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
This commit is contained in:
Datong Sun
2017-04-24 15:30:45 -07:00
committed by Yichun Zhang (agentzh)
parent 706dee9b7f
commit 4950ec7f62
2 changed files with 105 additions and 0 deletions

View File

@ -55,6 +55,13 @@ else
fi
fi
answer=`$root/util/ver-ge "$main_ver" 1.11.2`
if [ "$answer" = "Y" ]; then
echo "$info_txt applying the delayed-posted-events patch"
patch -p1 < $root/patches/nginx-$main_ver-delayed_posted_events.patch || exit 1
echo
fi
answer=`$root/util/ver-ge "$main_ver" 1.11.2`
if [ "$answer" = "Y" ]; then
echo "$info_txt applying the privileged-agent-process patch"