terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ ProcessInput()

bool System.Net.HttpConnection.ProcessInput ( MemoryStream ms)
inlineprivate

Definition at line 319 of file HttpConnection.cs.

320 {
321 bool flag;
322 for (;;)
323 {
324 if (this.context.error != null)
325 {
326 }
327 int num = this.position;
328 int num2 = this.position;
330 string text;
331 if (text == null)
332 {
333 goto IL_0087;
334 }
335 flag = text == "";
337 if (inputState != HttpConnection.InputState.RequestLine)
338 {
339 break;
340 }
341 if (this.context.error == null)
342 {
343 goto Block_2;
344 }
345 }
346 return flag;
347 Block_2:
348 int num3 = this.position;
349 IL_0087:
350 HttpListenerContext httpListenerContext = this.context;
351 this.context.error = "Bad request";
352 HttpListenerContext httpListenerContext2 = this.context;
353 int num4 = 400;
355 return "Bad request" != null;
356 }
class f__AnonymousType0<< Count > j__TPar
HttpConnection.InputState input_state
HttpListenerContext context

References System.Net.HttpConnection.context, System.Net.HttpListenerContext.error, System.Net.HttpConnection.input_state, j__TPar, System.Net.HttpConnection.position, and System.text.

Referenced by System.Net.HttpConnection.OnReadInternal().