Skip to content

Fix: api add user not work when use websocket #351

Open
fregie wants to merge 2 commits into
p4gefau1t:masterfrom
fregie:websocket_auth
Open

Fix: api add user not work when use websocket #351
fregie wants to merge 2 commits into
p4gefau1t:masterfrom
fregie:websocket_auth

Conversation

@fregie
Copy link
Copy Markdown
Contributor

@fregie fregie commented May 30, 2021

@fregie
Copy link
Copy Markdown
Contributor Author

fregie commented Jun 7, 2021

Can we merge this?
This bug really affected me.
@p4gefau1t @Loyalsoldier

@ghost
Copy link
Copy Markdown

ghost commented Jun 7, 2021

@fregie in the sample api after adding a user, the server did not close the stream in time idk of its bug

@fregie
Copy link
Copy Markdown
Contributor Author

fregie commented Jun 7, 2021

@fregie in the sample api after adding a user, the server did not close the stream in time idk of its bug

yes,you need to close it by cancel the context.

@aztecrabbit
Copy link
Copy Markdown

Hi, can i know why this pull request is not merged yet? Is this because the test case failed, or something?

@Loyalsoldier @p4gefau1t @fregie

@fregie
Copy link
Copy Markdown
Contributor Author

fregie commented Oct 25, 2021

@aztecrabbit
The author has forgoten this repo.
You can use fixed version by my fork.
https://github.com/fregie/trojan-go/tree/latest

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.

[BUG] 服务端中不同tunnel路径中使用了多个不同auth,导致通过api添加的用户无法使用websocket

3 participants