Bug 250845

Summary: www/apache24: mod_proxy_uwsgi doesn't use default port of uwsgi:// scheme.
Product: Ports & Packages Reporter: nork
Component: Individual Port(s)Assignee: freebsd-apache (Nobody) <apache>
Status: Open ---    
Severity: Affects Some People CC: brnrd
Priority: --- Flags: bugzilla: maintainer-feedback? (apache)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
a patch to modules/proxy/proxy_util.c none

Description nork 2020-11-04 01:57:13 UTC
Created attachment 219340 [details]
a patch to modules/proxy/proxy_util.c

mod_proxy_uwsgi has a issue to use a default port of uwsgi:// scheme.
I reported to apache httpd maintainer(*), but not fix yet.

(*)SEE ALSO: https://bz.apache.org/bugzilla/show_bug.cgi?id=64405

This fix was simplify, add a uwsgi default port to pschemes[] array in proxy_util.c.
Formally, this fix should be define UWSGI_SCHEME and UWSGI_DEFAULT_PORT,
but already reported in apache httpd maintainer(*).
Comment 1 Bernard Spil freebsd_committer 2020-11-15 14:44:15 UTC
Hi Nork,

Looks like there isn't something like a default port for uWSGI (at least looking at the uWSGI docs I don't see it). Guess this is why it's not defined in the code. The documentation clearly contains the port for all configurations. Perhaps makes sense to submit patch to add an admonition "NOTE: You must use a port number in your ProxyPass"  instead?

Cheers, Bernard.