diff options
author | Christoph Liebender <christoph.liebender@posteo.de> | 2024-08-15 11:36:30 +0200 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-08-18 10:20:16 +0200 |
commit | a3cdb8c5d65098d6c5af8acd8412d78bd3c45817 (patch) | |
tree | b4615010d8ff51e898a3dd551d94001074b685a7 | |
parent | 0cf61ffcaf5321ee5888f5c1d247a1c383ff75fd (diff) |
fix: send port as SERVER_PORT
-rw-r--r-- | fcgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -415,7 +415,7 @@ fcgi_req(struct client *c, struct location *loc) else strlcpy(path, stripped, sizeof(path)); - port = c->iri.host; + port = c->iri.port; if (port == NULL || *port == '\0') port = "1965"; |