Skip to content

Conversation

@spenczar
Copy link
Contributor

Fixes #129.

I had to write a helper function to get the right json encoding, since we need a JSON false for rejectUnauthorized.

I haven't written much lisp so let me know if the copilot--proxy-param is a horrible way to do this. It sure feels ugly.

@zerolfx
Copy link
Collaborator

zerolfx commented Apr 22, 2023

How about updating the documentation and instructing users to add :rejectUnauthorized :json-false if needed? The only limitation is that this sub-option cannot be configured through the UI.

@spenczar
Copy link
Contributor Author

Oh, that makes good sense to me. So users would just setq it themselves pretty explicitly - yeah, that seems much nicer. I will revise this when I get back to a computer in a few hours.

@spenczar
Copy link
Contributor Author

This is ready for another look. Much nicer!

@zerolfx zerolfx merged commit 40cc5ef into copilot-emacs:main Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow disabling SSL when using a proxy

2 participants