cloudflare / pingora

A library for building fast, reliable and evolvable network services.
Apache License 2.0
20.28k stars 1.1k forks source link

how to get remote_addr? #166

Closed bestgopher closed 3 months ago

vicanso commented 3 months ago

Please refer to https://github.com/cloudflare/pingora/issues/105

bestgopher commented 3 months ago

Please refer to #105

Thanks for your help. I will upgrade the version and try again later.

bestgopher commented 3 months ago

@vicanso Hello. Is there any method to extract one specified query argument? Like ngx.req.get_uri_args

vicanso commented 3 months ago

Probably no. You can get querystring from session.req_header().uri.query(), then parse querystring.