Subversion Repositories general

Compare Revisions

Regard whitespace Rev 1240 → Rev 1241

/TCPproxy/trunk/Network.cs
14,7 → 14,6
// - option to not store parsed data, just raw packets and reparse on demand
// - implement all others (not 'identity' and 'chunked') transfer- and content- encodings
// - benchmark one-by-one byte iterator vs. block read
// - locks for HttpMessage in parser
namespace TCPproxy
{
public enum BinLogTypes
1614,11 → 1613,16
 
ParseResponse(responsePos, http);
bool continueResponse = false;
lock(http)
{
if(http.Response.StatusCode == 100) // "100 (Continue)" response
{
continueResponse = true;
http.GotContinueResponse();
ParseResponse(responsePos, http); // once again
}
}
if(continueResponse) ParseResponse(responsePos, http); // once again
 
http.Response.Complete = true;
http.UpdateHttpMessage();