parent
55354c2381
commit
7d9ad57f52
@ -288,7 +288,7 @@ export class DnsCore {
|
||||
private onMessage: ListenerCallback = async (data: Buffer, sender: string, r) => {
|
||||
let max_size = 128 * 1024;
|
||||
let stream = true;
|
||||
if (typeof r === "number") {
|
||||
if (!r || typeof r === "number") {
|
||||
max_size = r;
|
||||
stream = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user