Skip to content

websocket设置系统代理后,连接时报异常 #102

@maoyy

Description

@maoyy

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

websocket设置系统代理后,连接时报异常: Invalid HTTP header format
完整代码如下:
WebSocketClientAPI = new WebSocketClient();
var config = new TouchSocketConfig();
config.SetSystemProxy();
config.SetRemoteIPHost(uri);
await WebSocketClientAPI.SetupAsync(config);
await WebSocketClientAPI.ConnectAsync();

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions