GitHub PushEvent at 2014-06-14 18:16:38
Repository: libgit2
Actor: PKRoma
Payload: {"shas":[["1d3364ac9d2bcd2d194f0afa0d301456d0d4e276","eecb638c0e60875b4a70118790d5be43bb59c2d6@dwim.me","netops: init OpenSSL once under lock\n\nThe OpenSSL init functions are not reentrant, which means that running\nmultiple fetches in parallel can cause us to crash.\n\nUse a mutex to init OpenSSL, and since we're adding this extra checks,\ninit it only once.","Carlos Martín Nieto",false],["5fa0494328b78a1ce8dba983c3f8028d123a62a4","eecb638c0e60875b4a70118790d5be43bb59c2d6@dwim.me","ssl: use locking\n\nWhen using in a multithreaded context, OpenSSL needs to lock, and leaves\nit up to application to provide said locks.\n\nWe were not doing this, and it's just luck that's kept us from crashing\nup to now.","Carlos Martín Nieto",false],["cf15ac8aa96304a36699ae65398b7adac0d2ddde","eecb638c0e60875b4a70118790d5be43bb59c2d6@dwim.me","ssl: cargo-cult thread safety\n\nOpenSSL's tests init everything in the main thread, so let's do that.","Carlos Martín Nieto",false],["8f897b6f2f4742a7d9189528e082cfe7cecd6f29","eecb638c0e60875b4a70118790d5be43bb59c2d6@dwim.me","ssl: init also without threads","Carlos Martín Nieto",false],["081e76bac26e1ed6adafb402d15b30c622866d61","eecb638c0e60875b4a70118790d5be43bb59c2d6@dwim.me","ssl: init everything all the time\n\nBring together all of the OpenSSL initialization to\ngit_threads_init() so it's together and doesn't need locks.\n\nMoving it here also gives us libssh2 thread safety (when built against\nopenssl).","Carlos Martín Nieto",false],["e93206e0f5bd9a1f2ad17d0d566b1e815a762420","f8bee0b0ef5449e08d68ad3341ed73fe095eecc2@github.com","Merge pull request #2421 from libgit2/cmn/init-ssl-once\n\nnetops: init OpenSSL once under lock","Vicent Marti",true]],"size":6,"ref":"refs/heads/development","head":"e93206e0f5bd9a1f2ad17d0d566b1e815a762420"}