mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 10:06:40 -04:00
This is an upstream module that allows Angie to communicate directly with PostgreSQL database. PR: Angie postgres dynamic module
17 lines
476 B
Text
17 lines
476 B
Text
--- ../ngx_postgres-1.0rc7/src/ngx_postgres_module.c.orig
|
|
+++ ../ngx_postgres-1.0rc7/src/ngx_postgres_module.c
|
|
@@ -1320,12 +1320,14 @@
|
|
continue;
|
|
}
|
|
|
|
+#if (nginx_version < 1011006)
|
|
if (uscfp[i]->default_port && url->default_port
|
|
&& (uscfp[i]->default_port != url->default_port))
|
|
{
|
|
dd("default_port doesn't match");
|
|
continue;
|
|
}
|
|
+#endif
|
|
|
|
dd("returning");
|
|
return uscfp[i];
|