Exafunction / codeium.nvim

A native neovim extension for Codeium
MIT License
644 stars 50 forks source link

Use HTTP/2 Protocol for Heartbeat: Fixing Proxy Compatibility Issues #123

Closed a690700752 closed 6 months ago

a690700752 commented 7 months ago

Hello,

I would like to submit a pull request that addresses the problem of Curl hanging when used behind a proxy. The proposed solution involves implementing the HTTP/2 protocol for the heartbeat feature.

Reason for the Change: Currently, when Curl is used behind a proxy, it experiences a hang issue. This can cause hang the normal functioning of the application. By adopting the HTTP/2 protocol for the heartbeat feature, we aim to resolve this problem and ensure smooth operation even when utilized behind a proxy.

Please review this pull request at your convenience. I believe that implementing the HTTP/2 protocol will effectively tackle the Curl hang issue and improve the overall reliability of the application.

Thank you for your consideration.

Best regards,

a690700752 commented 6 months ago

export no_proxy=::1,127.0.0.1 It's ok.