[tor-bugs] #9659 [Tor Browser]: Optimistic Data SOCKS variant (patch for #3875) leads to loop on HTTP requests if no SOCKS response yet

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Sep 19 16:06:16 UTC 2015


#9659: Optimistic Data SOCKS variant (patch for #3875) leads to loop on HTTP
requests if no SOCKS response yet
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  tbb-team
  cypherpunks            |     Status:  needs_review
         Type:  defect   |  Milestone:
     Priority:  normal   |    Version:
    Component:  Tor      |   Keywords:  tbb-usability, tbb-crash-hang, tbb-
  Browser                |  firefox-patch
   Resolution:           |  Parent ID:
Actual Points:           |
       Points:           |
-------------------------+-------------------------------------------------

Comment (by cypherpunks):

 Or simply next one?
 {{{
 --- nsSocketTransport2.cpp.orig
 +++ nsSocketTransport2.cpp
 @@ -1844,6 +1844,7 @@
              mOutput.OnSocketReady(NS_OK);
          }
          mPollTimeout = mTimeouts[TIMEOUT_READ_WRITE];
 +        mPollFlags = (PR_POLL_EXCEPT | PR_POLL_READ);
          mState = STATE_SENTGET;
      }
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9659#comment:20>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list