Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Proxy setting via NWParameters.PrivacyContext.proxyConfiguration #48

Open
yyaroshevich opened this issue Jan 8, 2024 · 1 comment

Comments

@yyaroshevich
Copy link

Hello @benjamin-tang-pusher
I've found out your question regarding proxying of NWConnection when used with WebSocket here: https://developer.apple.com/forums/thread/684489
Could you please share if you were able to make NWConnection to work over proxy when configured to perform WebSocket connection? So far I have no luck. This is very strange for me that plain old TCP connection over NWConnection is proxied by default, but then suddenly broken if I change NWEndpoint from NWEndpoint.HostPort to NWEndpoint.URL with scheme wss (scheme https works over proxy).

Thanks a lot in advance!

@benw-pusher
Copy link

Hi, We haven't been able to resolve this issue at this time, it appears to be an issue with the underlying NWConnection/NWListener functions provided by Apple

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

No branches or pull requests

2 participants