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

sslkeylog not generated #10

Open
trawat24 opened this issue Jan 28, 2023 · 0 comments
Open

sslkeylog not generated #10

trawat24 opened this issue Jan 28, 2023 · 0 comments

Comments

@trawat24
Copy link

trawat24 commented Jan 28, 2023

Hi,

I have started using this library for HTTP2 requests but I didn't find sslkeylog generated in a file (SSLKEYLOGFILE environment variable) after requests/response.
Following is the piece of code :
session sess(io_service, tls, host, port); sess.on_connect([=,&sess,&ResponseBody](tcp::resolver::iterator endpoint_it) { boost::system::error_code ec; auto req = sess.submit(ec, requestType, req_page,req_body,h);

req->on_response([=,&sess,&ResponseBody](const response &res) { std::cerr << "HTTP/2 response code! "<<res.status_code()<< std::endl; res.on_data([&sess,&ResponseBody](const uint8_t *data, std::size_t len) { if (len >0){ std::ostringstream convert; for (int i=0;i<len;i++){ convert << data[i]; } ResponseBody = convert.str(); } }); });
Is this support (sslkeylog) available in this library?
If yes, then please provide the details to use it
If no, then when we can expect the same ?

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

1 participant