Commit 62040326 authored by justcoding121's avatar justcoding121

cleanup

parent c2462ce4
......@@ -35,7 +35,7 @@ $MSBuild -replace ' ', '` '
FormatTaskName (("-"*25) + "[{0}]" + ("-"*25))
#default task
Task default -depends Clean, Build, Document, Package, PrepareIntegrationTest
Task default -depends Package
#cleans obj, b
Task Clean {
......@@ -43,8 +43,19 @@ Task Clean {
exec { . $MSBuild $SolutionFile /t:Clean /v:quiet }
}
#install root cetificate needed for integration tests
Task Setup-Integration-Test-Tools -depends Clean {
$startInfo = new-object System.Diagnostics.ProcessStartInfo "PowerShell";
$startInfo.Arguments = "$Here\install-certificate.ps1";
$startInfo.Verb = "runas";
$process = [System.Diagnostics.Process]::Start($startInfo);
$process.WaitForExit()
}
#install build tools
Task Install-BuildTools -depends Clean {
Task Install-BuildTools -depends Setup-Integration-Test-Tools {
if(!(Test-Path $MSBuild))
{
cinst microsoft-build-tools -y
......@@ -123,14 +134,3 @@ Task Document -depends Build {
Task Package -depends Document {
exec { . $NuGet pack "$SolutionRoot\$ProjectName\$ProjectName.nuspec" -Properties Configuration=$Configuration -OutputDirectory "$RepoRoot" -Version "$Version" }
}
#install root cetificate needed for integration tests
Task PrepareIntegrationTest {
$startInfo = new-object System.Diagnostics.ProcessStartInfo "PowerShell";
$startInfo.Arguments = "$Here\install-certificate.ps1";
$startInfo.Verb = "runas";
$process = [System.Diagnostics.Process]::Start($startInfo);
$process.WaitForExit()
}
\ No newline at end of file
* Modify this text to trigger appveyor build cache
\ No newline at end of file
......@@ -22,6 +22,9 @@ platform: Any CPU
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
#set file change to watch so that cache can be invalidated on demand.
cache: .build\cleanup-cache.txt
# to run your custom scripts instead of automatic MSBuild
build_script:
- cmd: build.bat Package
......
......@@ -49,12 +49,6 @@ namespace Titanium.Web.Proxy.Http
/// </summary>
internal string OriginalContentEncoding { get; set; }
/// <summary>
/// Store whether the original request/response body was read by user.
/// We need this detail to syphon out attached tcp connection for reuse.
/// </summary>
public bool OriginalIsBodyRead { get; internal set; }
/// <summary>
/// Keeps the body data after the session is finished.
/// </summary>
......@@ -269,7 +263,6 @@ namespace Titanium.Web.Proxy.Http
OriginalContentLength = ContentLength;
OriginalIsChunked = IsChunked;
OriginalContentEncoding = ContentEncoding;
OriginalIsBodyRead = IsBodyRead;
}
/// <summary>
......@@ -282,7 +275,6 @@ namespace Titanium.Web.Proxy.Http
OriginalContentLength = requestResponseBase.OriginalContentLength;
OriginalIsChunked = requestResponseBase.OriginalIsChunked;
OriginalContentEncoding = requestResponseBase.OriginalContentEncoding;
OriginalIsBodyRead = requestResponseBase.OriginalIsBodyRead;
}
/// <summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment