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

Output debug messages for curl request #200

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tnguyen14
Copy link

While testing out using curl vs socket, I realized that curl does not provide some of the debug messages that the socket does.

I do see that CURLOPT_VERBOSE is set, but that is not visible in the *push query.

I've tried to mimic the behavior of the socket method. The only thing that I am not putting out is the basic auth header. I am new to C++ so not sure how to output the string pointer instead of the CString. Any suggestion would be appreciated.

@raimue
Copy link
Contributor

raimue commented Mar 28, 2018

Just as a hint, CURLOPT_VERBOSE writes to stderr by default, so you have to look in the output of znc itself for these messages.

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.

2 participants