dnsdist: Log the content of webserver's exceptions #3836

Merged
merged 1 commit into from May 13, 2016

Projects

None yet

3 participants

@rgacogne
Member
rgacogne commented May 9, 2016

No description provided.

@Habbie Habbie merged commit 880bb42 into PowerDNS:master May 13, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@rgacogne rgacogne deleted the rgacogne:dnsdist-web-log-exception branch May 13, 2016
@thomas-mangin

May 13 16:39:18 pdns1.surfprotect.exa.net.uk dnsdist[5407]: Webserver thread died with exception: Was not able to extract a valid Request from stream

@Habbie
Member
Habbie commented May 13, 2016

So what are you sending it? ;)

@rgacogne
Member
rgacogne commented May 13, 2016 edited

So we get EOF before the HTTP parser has received a complete HTTP request. I'll bet my money on nothing being sent on the socket at all.

@thomas-mangin

No idea, I "just" have the page refreshing on my browser - I done nothing sir, I am innocent !

@thomas-mangin
thomas-mangin commented May 13, 2016 edited

Confirmed - telneting to the port and just closing the connection did trigger it: QED harmless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment