Baoyuantop commented on issue #11781:
URL: https://github.com/apache/apisix/issues/11781#issuecomment-4043862953

   In batch-requests.lua, the target port for internal connections is directly 
taken as ngx.var.server_port: httpc:connect("127.0.0.1", ngx.var.server_port). 
This implementation implicitly assumes that "the ingress request must come from 
a TCP listener, and server_port must have a value." However, in a Unix socket 
access scenario, this variable is an empty string, causing resty.http to report 
"missing the port number" during the connection parameter validation phase.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to