paho.mqtt.c icon indicating copy to clipboard operation
paho.mqtt.c copied to clipboard

Considering NO_PROXY environment variable on Proxy Settings

Open emrahayanoglu opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. Currently, if we don't set any http/https proxy on the MQTT Client Options, related http and https proxy settings are taken from the environment variables, which de-facto standard environment variables as presented in the nice article from Gitlab guys: https://about.gitlab.com/blog/2021/01/27/we-need-to-talk-no-proxy/ However, as current library is not considering NO_PROXY environment variable on our client settings, which basically leads to introducing additional logic or special docker configurations on our development or testing environments.

Describe the solution you'd like Right thing is to consider also NO_PROXY environment variable on proxy settings of the MQTT Client Options, where if endpoint is in the list of the NO_PROXY, proxy settings will be ignored automatically.

emrahayanoglu avatar Apr 23 '24 09:04 emrahayanoglu

I think this is a duplicate of #1329

icraggs avatar Apr 25 '24 12:04 icraggs

@icraggs correct it is absolutely same problem what we experienced. I also go for closing the ticket.

emrahayanoglu avatar Jun 11 '24 09:06 emrahayanoglu