View Issue Details

IDProjectCategoryView StatusLast Update
0001832XdebugStep Debuggingpublic2020-10-14 15:02
Reporterderick Assigned Toderick  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version3.0devFixed in Version3.0.0beta1 
Summary0001832: If connect back host can not be contacted, fallback to remote_host/port
DescriptionRight now the debugger connection mechanism checks whether headers are present to determine the host to connect back to. These are the xdebug.remote_addr_header, X_HTTP_FORWARDED_FOR, and REMOTE_ADDR headers. As long as one is found, Xdebug will connect to the host found in that header. However, if a valid header is present, and the host is **not** contactable, then there is no fallback to remote_host/remote_port, which would have happened if *no* valid header was found.

Add a fall back to remote_host/remote_port if the connect back host could not be contacted.
TagsNo tags attached.
Operating System
PHP Version7.4.0-7.4.4

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-08-14 09:30 derick New Issue
2020-08-14 10:48 derick Summary If connect back host can not be found or contacted, fallback to remote_host/port => If connect back host can not be contacted, fallback to remote_host/port
2020-08-14 13:05 derick Assigned To => derick
2020-08-14 13:05 derick Status new => closed
2020-08-14 13:05 derick Resolution open => fixed
2020-08-14 13:05 derick Fixed in Version => 3.0dev
2020-10-14 15:02 derick Fixed in Version 3.0dev => 3.0.0beta1