From: Geoff T. <gta...@na...> - 2001-10-24 14:54:46
|
At 10:23 AM 10/24/01 -0400, you wrote: >I finally got around to writing a test script today to see why whenever >I send a transaction to a credit card processor, all my servlets freeze >until the transaction is complete. I thought I was imagining it, I >wasn't :( > >When my servlet calls urllib.urlopen to an HTTPS url, all servlets for >that instance of webkit freeze until it finishes. I'll poke around >usenet and the source for the libraries involved. I would guess there >is a thread lock somewhere in there. Hopefully there is a good way to >get around it, otherwise I might have to move my credit card queries to >another process? Any suggestions? Sounds like the C code that does the SSL is not _releasing_ the global thread lock. I would post this to comp.lang.python. (Are you using M2Crypto, or the SSL support that you can build directly into Python, or something else?) -- - Geoff Talvola gtalvola@NameConnector.com |