[tor-bugs] #3875 [Firefox Patch Issues]: TBB's Firefox should use optimistic data socks handshake variant

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu May 17 19:51:28 UTC 2012


#3875: TBB's Firefox should use optimistic data socks handshake variant
-----------------------------------+----------------------------------------
 Reporter:  arma                   |          Owner:  mikeperry                    
     Type:  enhancement            |         Status:  new                          
 Priority:  major                  |      Milestone:  TorBrowserBundle 2.3.x-stable
Component:  Firefox Patch Issues   |        Version:                               
 Keywords:  performance roundtrip  |         Parent:  #3890                        
   Points:                         |   Actualpoints:                               
-----------------------------------+----------------------------------------
Changes (by arma):

  * keywords:  => performance roundtrip


Comment:

 Replying to [comment:1 mikeperry]:
 > We will likely need to patch firefox. Also, my guess is that various
 disparate pieces of Firefox networking stack are not going to like being
 told it can send data before getting certain types of error codes. This
 might be a huge pain in the ass.

 Ok. Might be a good argument for sticking an http proxy shim back in. Not
 that we want to maintain one or have it take up space in the bundle.

 > Therefore, we should first test a simple hack that has Tor always
 respond with a connection success to see what the user experience is if
 SOCKS hangs up in the case of errors rather than mucking around with
 allowing data to be sent before an error comes back. If the UI doesn't
 reflect this difference in a way the user is likely to understand in the
 first place, it seems like there's little point in adding the complexity.

 I don't understand this last part. The expected gain is not in UI
 responsiveness. It's in actually getting the pages faster.

 I wonder if a patch to polipo would be simpler, and a good way to test out
 how much of a difference the optimistic data feature makes.

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


More information about the tor-bugs mailing list