-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hey,
I am using the same package for handling PAM as you do (https://github.com/donpark/pam). And I am basically trying to do a HTTPS GET in the Authenticate(...) function. But as soon as I GET it hangs. Compiling as a regular binary everything is fine, but as a shared library it hangs as soon as I call the interesting functions in net/http. It is pretty much the same behavior as described here.
As a solution:
Using dlopen and dlsym will allow you to control when the Go runtime get loaded.
is mentioned but sicher PAM is invoking our modules we do not have control over how they are called. Since my code seem to me pretty similar to yours, I really would like to know if you could explain what you are doing differently or explain the solution from above.
Thank you very much in advance!