In connection_ap_handshake_socks_reply() and some other places, we mark circuits as having successfully carried streams if we get certain end reason codes back. With optimistic data enabled, we may actually get these same end reason codes back even if the circuit/stream was damaged due to tagging after accepting an optimistic data stream attempt.
I probably need to instrument a tor client running with optimistic data to verify these codepaths can't happen.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
Until some apps actually support optimistic data (see sibling tickets), there is no way for me to test this. Yes, I realize that I am the maintainer one of the apps that are guilty of lack of support, but that still doesn't mean that support has to be implemented by the 0.2.4.x-stable deadline.
The simplest test program I have is webfetch 5.4.3 (http://tony.aiu.to/sa/webfetch/) with the attached patch to enable reporting of timing and "SOCKS 4b" (like SOCKS 4a, but allow the client to send data before hearing the response to the connection attempt).