Commit db6a0291 authored by justcoding121's avatar justcoding121

warning fix

parent d90b6ad0
......@@ -149,8 +149,9 @@ namespace Titanium.Web.Proxy.Examples.Basic
}
}
private async Task OnBeforeTunnelConnectResponse(object sender, TunnelConnectSessionEventArgs e)
private Task OnBeforeTunnelConnectResponse(object sender, TunnelConnectSessionEventArgs e)
{
return default;
}
// intecept & cancel redirect or update requests
......
......@@ -64,11 +64,10 @@ namespace Titanium.Web.Proxy.Network
}, outerContext);
}
//all retries failed
catch
finally
{
//update the original connection to last used connection
initialConnection = outerContext["connection"] as TcpServerConnection;
throw;
}
return result;
......
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