[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs