Closed gustafsson closed 2 years ago
Yes, the idea is to move away from MbedException as much as possible. I hesitated to just switch them all over as I wasn't sure it was totally appropriate to always switch to Base.IOError
, but let's switch the closewrite
case over and we can see if people report other issues. Mind making a PR?
Upon closing an idle connection from the pool in HTTP.jl it checks for any IOErrors and ignores them.
I was going to propose in HTTP.jl that it should also ignore
MbedException
as I ran intoBut then noticed a move away from
MbedException
intoIOError
this commit: https://github.com/JuliaLang/MbedTLS.jl/commit/75f38e91711c749ce18a6977eb67536d04f5b173Is MbedException about to be removed from MbedTLS?
I'm unfamiliar with this repo so I'm asking here instead of proposing a PR if it would it make sense to make a corresponding change to closewrite as was done to
ssl_unsafe_write
andssl_unsafe_read
in the commit above?