wdaike / ngx_upstream_jdomain

An asynchronous domain name resolve module for nginx upstream
78 stars 32 forks source link

Fix usage of ngx_strncmp #10

Open rs opened 8 years ago

rs commented 8 years ago

Ensure the value len before comparing.

This also fix retry_off param matching that would allow anything starting with retry_off to match.