Hi Eric, thanks for the response.
We have multiple browsers dynamically being launched on the machine that all use Fiddler as a proxy. We open a new Fiddler port for each browser. We use the request object to check the local port value in the code to determine which browser the session belongs to. For what it's worth, I did just try replacing the oS.oRequest.pipeClient with oS.oResponse.pipeServer and it broke when trying to access the pipeServer. I access the OnReadResponseBuffer method to a) track the total number of bytes coming in as responses for each browser and b) separately track number of bytes associated with each response that comes back. We only have the problem with HTTPS, HTTP works fine. The HTTP method of the session is a CONNECT.
The client application in this case would be Firefox 7.
I also compiled your sample app from the FiddlerCore installation and ran it on an XP machine without the problem and then on the Server 2012 machine with the problem. On the Server 2012 machine with the problem, I get this message when I try to visit an HTTPS page: ** LogString: !SecureClientPipeDirect failed: System.IO.IOException Authentication failed because the remote party has closed the transport stream. on pipe to (CN=*************, O=DO_NOT_TRUST, OU=Created by
http://www.fiddler2.com). I got that message when attempting to go to
https://www.google.com. The CN wasn't a bunch of asterisks but it was real long so I just put that there. When I tried the same thing on an XP computer that doesn't have the problem I'm experiencing, I do not receive that error message. I don't know if this error is related to the problem I'm experiencing, but I figured I'd mention what I observed.