Skip to content

SERVER_PORT is hard coded to "80" in numerous language modules #761

@ac000

Description

@ac000

This is set in src/nxt_php_sapi.c

1373:    nxt_php_set_cstr(req, "SERVER_PORT", "80", 2, track_vars_array TSRMLS_CC);

Once the patch from #753 (comment) is committed we will be able to use the local_port member of the nxt_unit_request_t structure.

Despite the warming in the PHP reference guide we should probably at least try and get it right.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions