Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting var dns_decode_level = 0 breaks DoH #4

Open
bmenrigh opened this issue Aug 13, 2020 · 1 comment
Open

Setting var dns_decode_level = 0 breaks DoH #4

bmenrigh opened this issue Aug 13, 2020 · 1 comment

Comments

@bmenrigh
Copy link

The JS stack trace in the error logs is:

2020/08/13 22:11:07 [error] 20905#20905: *3 js exception: TypeError: cannot convert undefined argument to object
    at Object.entries (native)
    at JSON.stringify (native)
    at debug (dns.js:39)
    at anonymous (dns.js:183)
    at main (native)

I don't see a call to debug() at dns.js:183, instead that's just the start of a function. I can't follow which call to debug is causing the problem.

@TuxInvader
Copy link
Owner

Hi,

Can you try again with the lates commit please? 93a521a

There was a debug which should only have been called if dns_decode_level was greater than 0.

Cheers

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

No branches or pull requests

2 participants