$OpenBSD$ index bdeb130d..6341589a 100644 --- netwerk/protocol/http/nsHttpTransaction.h.orig Fri Feb 20 15:40:37 2015 +++ netwerk/protocol/http/nsHttpTransaction.h Fri Feb 20 15:40:37 2015 @@ -98,6 +98,10 @@ public: // will drop any reference to the response headers after this call. nsHttpResponseHead *TakeResponseHead(); + // Provides a thread safe reference of the connection + // nsHttpTransaction::Connection should only be used on the socket thread + already_AddRefed GetConnectionReference(); + // Called to find out if the transaction generated a complete response. bool ResponseIsComplete() { return mResponseIsComplete; } @@ -168,7 +172,7 @@ private: nsCOMPtr mCallbacks; }; - Mutex mCallbacksLock; + Mutex mLock; nsCOMPtr mCallbacks; nsCOMPtr mTransportSink;