Clean up some stale comments (#10561)
Addresses AzDO Bug #890301 (https://dev.azure.com/devdiv/DevDiv/_workitems/edit/890301/)
This commit is contained in:
parent
6ca30bbfc9
commit
f1ff37efdb
|
|
@ -247,7 +247,6 @@ namespace WsProxy {
|
||||||
}
|
}
|
||||||
|
|
||||||
//step one, figure out where did we hit
|
//step one, figure out where did we hit
|
||||||
//lol no, fuck it, let's use fake data
|
|
||||||
var res_value = res.Value? ["result"]? ["value"];
|
var res_value = res.Value? ["result"]? ["value"];
|
||||||
if (res_value == null || res_value is JValue) {
|
if (res_value == null || res_value is JValue) {
|
||||||
//Give up and send the original call stack
|
//Give up and send the original call stack
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ namespace WsProxy {
|
||||||
pending.Add (bytes);
|
pending.Add (bytes);
|
||||||
if (pending.Count == 1) {
|
if (pending.Count == 1) {
|
||||||
if (current_send != null)
|
if (current_send != null)
|
||||||
throw new Exception ("WTF, current_send MUST BE NULL IF THERE'S no pending send");
|
throw new Exception ("UNEXPECTED, current_send MUST BE NULL IF THERE'S no pending send");
|
||||||
//Console.WriteLine ("sending {0} bytes", bytes.Length);
|
//Console.WriteLine ("sending {0} bytes", bytes.Length);
|
||||||
current_send = Ws.SendAsync (new ArraySegment<byte> (bytes), WebSocketMessageType.Text, true, token);
|
current_send = Ws.SendAsync (new ArraySegment<byte> (bytes), WebSocketMessageType.Text, true, token);
|
||||||
return current_send;
|
return current_send;
|
||||||
|
|
@ -86,7 +86,7 @@ namespace WsProxy {
|
||||||
|
|
||||||
if (pending.Count > 0) {
|
if (pending.Count > 0) {
|
||||||
if (current_send != null)
|
if (current_send != null)
|
||||||
throw new Exception ("WTF, current_send MUST BE NULL IF THERE'S no pending send");
|
throw new Exception ("UNEXPECTED, current_send MUST BE NULL IF THERE'S no pending send");
|
||||||
//Console.WriteLine ("sending more {0} bytes", pending[0].Length);
|
//Console.WriteLine ("sending more {0} bytes", pending[0].Length);
|
||||||
current_send = Ws.SendAsync (new ArraySegment<byte> (pending [0]), WebSocketMessageType.Text, true, token);
|
current_send = Ws.SendAsync (new ArraySegment<byte> (pending [0]), WebSocketMessageType.Text, true, token);
|
||||||
return current_send;
|
return current_send;
|
||||||
|
|
|
||||||
|
|
@ -326,7 +326,7 @@ exit:
|
||||||
WCHAR CA_DATA_DELIM[] = { '^', 0 };
|
WCHAR CA_DATA_DELIM[] = { '^', 0 };
|
||||||
|
|
||||||
//
|
//
|
||||||
// BUGBUG - Prefix will barf on this
|
// BUGBUG - Prefix will not handle this
|
||||||
// Can I really trust this data hasn't been tampered with?
|
// Can I really trust this data hasn't been tampered with?
|
||||||
//
|
//
|
||||||
WCHAR *
|
WCHAR *
|
||||||
|
|
@ -578,4 +578,4 @@ exit:
|
||||||
IISLogWrite(SETUP_LOG_SEVERITY_INFORMATION, L"Error in function %s, hr=0x%x", UNITEXT(__FUNCTION__), hr);
|
IISLogWrite(SETUP_LOG_SEVERITY_INFORMATION, L"Error in function %s, hr=0x%x", UNITEXT(__FUNCTION__), hr);
|
||||||
}
|
}
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ using Microsoft.AspNetCore.Mvc.ModelBinding;
|
||||||
|
|
||||||
namespace MusicStore.Models
|
namespace MusicStore.Models
|
||||||
{
|
{
|
||||||
//[Bind(Include = "FirstName,LastName,Address,City,State,PostalCode,Country,Phone,Email")]
|
|
||||||
public class Order
|
public class Order
|
||||||
{
|
{
|
||||||
[BindNever]
|
[BindNever]
|
||||||
|
|
@ -71,4 +70,4 @@ namespace MusicStore.Models
|
||||||
[BindNever]
|
[BindNever]
|
||||||
public List<OrderDetail> OrderDetails { get; set; }
|
public List<OrderDetail> OrderDetails { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue