Closed stevevls closed 3 months ago
This seems like a very reasonable fix.
@ameshkov is this proxy code still being maintained? or are you looking for a new maintainer?
Sorry, the fix is indeed reasonable, I'll see it to be merged.
@robbyt the project needs a bit more care, but it'll soon receive it no worries:)
Uh, I made a mistake when merging it in the internal Git repo, didn't keep the original commits :( https://github.com/AdguardTeam/gomitmproxy/commit/51bf9628e86ce0d3cfd39ffbc1283f55f8c7173c
Sorry for that and thank you for the contribution!
This fixes a segfault in the case where the caller does not trust the CA.
Fixes #20
Can be reproduced with curl:
Before:
After: