ChinaDNS icon indicating copy to clipboard operation
ChinaDNS copied to clipboard

fix bug: message too long

Open HaoH opened this issue 5 years ago • 0 comments

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.

HaoH avatar May 03 '20 10:05 HaoH