Closed yunhaoling closed 2 years ago
hey @ericwol-msft, I tried to add two tests.
however, I don't know how to give a default value to the bool variable (true/false
) in the struct -- I guess it's not supported in C.
I find that during runtime a random true/false
could be assigned to the variable, do you know how to resolve the issue in a non-breaking way?
yes, this is an issue. You should use http_proxy_io_set_option() to extend the http functionality and not change the io_create_parameters. Move use_tls_proxy to HTTP_PROXY_IO_INSTANCE and add a new option name/value that can be passed in to see this value.
@ewertons
@yunhaoling: Looks like there is some feedback and suggestions on the code. Can you please update the PR to reflect the requested changes? We are excited to have this capability!
hey @jessek , thanks for checking! I was tied up with some python sdk issues last month, but I should have some free cycles this month and will continue the implantation on this one.
closing the PR for now, but we could reactive this in the future if there's new customer wanting it
please add unit tests to https://github.com/Azure/azure-c-shared-utility/blob/master/tests/http_proxy_io_ut/http_proxy_io_ut.c