ikod / dlang-requests

dlang http client library inspired by python-requests
Boost Software License 1.0
154 stars 32 forks source link

request outputs ssl info on stderr #71

Closed ghost91- closed 6 years ago

ghost91- commented 6 years ago

Currently, when using requests and requesting an https url, requests writes something like the following to stderr:

2018-04-15T12:32:14.753:ssl_adapter.d:_staticCtor36:66 will use libssl.so
2018-04-15T12:32:14.753:ssl_adapter.d:_staticCtor36:80 will use libcrypto.so

It seems that tracef is used to print those. In my opinion, this output should not be there, as it is information the user of the library does not need (were those debug prints?).

ikod commented 6 years ago

Hello @ghost91-

It prints from here using logger. Probably should be prepended by debug(requests).

Thanks for report, will fix today or tomorrow.

ikod commented 6 years ago

Hello, @ghost91-

Please check, should be fixed in current release

ghost91- commented 6 years ago

Seems to work well now, thank you!