|
|
|
@ -1006,21 +1006,21 @@ namespace WebSocketSharp.Net
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var output = OutputStream;
|
|
|
|
var stream = OutputStream;
|
|
|
|
|
|
|
|
|
|
|
|
if (willBlock) {
|
|
|
|
if (willBlock) {
|
|
|
|
output.Write (responseEntity, 0, (int) len);
|
|
|
|
stream.Write (responseEntity, 0, (int) len);
|
|
|
|
close (false);
|
|
|
|
close (false);
|
|
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
output.BeginWrite (
|
|
|
|
stream.BeginWrite (
|
|
|
|
responseEntity,
|
|
|
|
responseEntity,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
(int) len,
|
|
|
|
(int) len,
|
|
|
|
ar => {
|
|
|
|
ar => {
|
|
|
|
output.EndWrite (ar);
|
|
|
|
stream.EndWrite (ar);
|
|
|
|
close (false);
|
|
|
|
close (false);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
null
|
|
|
|
null
|
|
|
|
|