@@ -73,13 +73,13 @@ internal async Task SendRequest()
73
73
&& responseStatusDescription . ToLower ( ) . Equals ( "continue" ) )
74
74
{
75
75
this . Request . Is100Continue = true ;
76
- await ProxyClient . ServerStreamReader . ReadLineAsync ( ) ;
76
+ await ProxyClient . ServerStreamReader . ReadLineAsync ( ) . ConfigureAwait ( false ) ;
77
77
}
78
78
else if ( responseStatusCode . Equals ( "417" )
79
79
&& responseStatusDescription . ToLower ( ) . Equals ( "expectation failed" ) )
80
80
{
81
81
this . Request . ExpectationFailed = true ;
82
- await ProxyClient . ServerStreamReader . ReadLineAsync ( ) ;
82
+ await ProxyClient . ServerStreamReader . ReadLineAsync ( ) . ConfigureAwait ( false ) ;
83
83
}
84
84
}
85
85
}
@@ -93,7 +93,7 @@ internal async Task ReceiveResponse()
93
93
94
94
if ( string . IsNullOrEmpty ( httpResult [ 0 ] ) )
95
95
{
96
- await ProxyClient . ServerStreamReader . ReadLineAsync ( ) ;
96
+ await ProxyClient . ServerStreamReader . ReadLineAsync ( ) . ConfigureAwait ( false ) ;
97
97
}
98
98
99
99
this . Response . HttpVersion = httpResult [ 0 ] . Trim ( ) ;
@@ -106,7 +106,7 @@ internal async Task ReceiveResponse()
106
106
{
107
107
this . Response . Is100Continue = true ;
108
108
this . Response . ResponseStatusCode = null ;
109
- await ProxyClient . ServerStreamReader . ReadLineAsync ( ) ;
109
+ await ProxyClient . ServerStreamReader . ReadLineAsync ( ) . ConfigureAwait ( false ) ;
110
110
await ReceiveResponse ( ) ;
111
111
return ;
112
112
}
@@ -115,12 +115,12 @@ internal async Task ReceiveResponse()
115
115
{
116
116
this . Response . ExpectationFailed = true ;
117
117
this . Response . ResponseStatusCode = null ;
118
- await ProxyClient . ServerStreamReader . ReadLineAsync ( ) ;
118
+ await ProxyClient . ServerStreamReader . ReadLineAsync ( ) . ConfigureAwait ( false ) ;
119
119
await ReceiveResponse ( ) ;
120
120
return ;
121
121
}
122
122
123
- List < string > responseLines = await ProxyClient . ServerStreamReader . ReadAllLinesAsync ( ) ;
123
+ List < string > responseLines = await ProxyClient . ServerStreamReader . ReadAllLinesAsync ( ) . ConfigureAwait ( false ) ;
124
124
125
125
for ( int index = 0 ; index < responseLines . Count ; ++ index )
126
126
{
0 commit comments