abingham / emacs-ycmd

Emacs client for ycmd, the code completion system.
MIT License
383 stars 46 forks source link

Bypass proxies for ycmd process and for curl #438

Closed ptrv closed 7 years ago

ptrv commented 7 years ago

Resolves #437 and #404

ptrv commented 7 years ago

When using url-retrieve, proxies are already bypassed if ycmd-bypass-url-proxy-services is set to t, which is the default. However, curl is the default request-backend and therefore we need to add no_proxy to the process-environment in order to bypass proxies. Also it turns out, the ycmd process needs the no_proxy variable set for the subserver communication, i.e. jedi subserver or tern javascript subserver

abingham commented 7 years ago

Sorry for the delay; I've been on vacation for the past week or so.

ptrv commented 7 years ago

Sorry for the delay

No worries. Thanks for merging!