Skip to content

fix bug: message too long - #155

Open
HaoH wants to merge 1 commit into
shadowsocks:masterfrom
HaoH:hotfix20200503
Open

fix bug: message too long#155
HaoH wants to merge 1 commit into
shadowsocks:masterfrom
HaoH:hotfix20200503

Conversation

@HaoH

@HaoH HaoH commented May 3, 2020

Copy link
Copy Markdown

the global buffer used to receive and send message is set to 512 bytes, which is too small. This will cause 'Message too long' error, which will cause the many outside world dns query fail.

I test on macos, the longest message I see is large than 1024. I change the buffer size to 2048 and it works well.

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.

1 participant