aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2013-07-25 14:54:53 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2013-07-25 14:54:53 +0400
commit1936a67647c71291fad0fdc022ac891f4c29e03c (patch)
tree8b048a1d28408862508da4d485cfcf1036200320 /src/http/ngx_http_request.c
parentce7a5a05375dbf452a2cbe136c922f7718c15d5c (diff)
downloadnginx-1936a67647c71291fad0fdc022ac891f4c29e03c.tar.gz
nginx-1936a67647c71291fad0fdc022ac891f4c29e03c.zip
Sub filter: fixed matching after a partial match.
After a failed partial match we now check if there is another partial match in previously matched substring to fix cases like "aab" in "aaab". The ctx->saved string is now always sent if it's present on return from the ngx_http_sub_parse() function (and reset accordingly). This allows to release parts of previously matched data.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions