Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1254306

Browse files
jcadduonoagentzh
authored andcommitted
feature: fixed compilation issues with new nginx cores >= 1.11.6.
the default_port declaration was removed in this commit: http://hg.nginx.org/nginx/rev/4dea01cf49e8 Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
1 parent 4df0f46 commit 1254306

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/ngx_http_drizzle_upstream.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,12 +1027,14 @@ ngx_http_upstream_drizzle_add(ngx_http_request_t *r, ngx_url_t *url)
10271027
continue;
10281028
}
10291029

1030+
#if !defined(nginx_version) || nginx_version < 1011006
10301031
if (uscfp[i]->default_port && url->default_port
10311032
&& uscfp[i]->default_port != url->default_port)
10321033
{
10331034
dd("upstream_add: default_port not match");
10341035
continue;
10351036
}
1037+
#endif
10361038

10371039
return uscfp[i];
10381040
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /