76 references to ErrorCodes
Microsoft.AspNetCore.Server.HttpSys (76)
AsyncAcceptContext.cs (12)
49
if (statusCode !=
ErrorCodes
.ERROR_SUCCESS &&
50
statusCode !=
ErrorCodes
.ERROR_IO_PENDING)
65
if (errorCode !=
ErrorCodes
.ERROR_SUCCESS &&
66
errorCode !=
ErrorCodes
.ERROR_MORE_DATA)
74
if (errorCode ==
ErrorCodes
.ERROR_SUCCESS)
98
if (statusCode !=
ErrorCodes
.ERROR_SUCCESS &&
99
statusCode !=
ErrorCodes
.ERROR_IO_PENDING)
190
case (
ErrorCodes
.ERROR_CONNECTION_INVALID or
ErrorCodes
.ERROR_INVALID_PARAMETER) when _requestContext.RequestId != 0:
204
case
ErrorCodes
.ERROR_MORE_DATA:
212
case
ErrorCodes
.ERROR_SUCCESS:
220
case
ErrorCodes
.ERROR_IO_PENDING:
HttpSysListener.cs (1)
383
if (statusCode !=
ErrorCodes
.ERROR_SUCCESS)
NativeInterop\DisconnectListener.cs (3)
97
if (statusCode !=
ErrorCodes
.ERROR_IO_PENDING &&
98
statusCode !=
ErrorCodes
.ERROR_SUCCESS)
107
if (statusCode ==
ErrorCodes
.ERROR_SUCCESS && HttpSysListener.SkipIOCPCallbackOnSuccess)
NativeInterop\HttpApi.cs (1)
60
if (statusCode ==
ErrorCodes
.ERROR_SUCCESS)
NativeInterop\HttpServerSessionHandle.cs (1)
38
ErrorCodes
.ERROR_SUCCESS;
NativeInterop\RequestQueue.cs (4)
52
if (_mode == RequestQueueMode.CreateOrAttach && statusCode ==
ErrorCodes
.ERROR_ALREADY_EXISTS)
65
if ((flags & PInvoke.HTTP_CREATE_REQUEST_QUEUE_FLAG_OPEN_EXISTING) != 0 && statusCode ==
ErrorCodes
.ERROR_FILE_NOT_FOUND)
69
else if (statusCode ==
ErrorCodes
.ERROR_INVALID_NAME)
73
else if (statusCode !=
ErrorCodes
.ERROR_SUCCESS)
NativeInterop\ServerSession.cs (1)
17
if (statusCode !=
ErrorCodes
.ERROR_SUCCESS)
NativeInterop\UrlGroup.cs (7)
38
if (statusCode !=
ErrorCodes
.ERROR_SUCCESS)
94
if (statusCode !=
ErrorCodes
.ERROR_SUCCESS)
144
if (statusCode !=
ErrorCodes
.ERROR_SUCCESS)
146
if (statusCode ==
ErrorCodes
.ERROR_ALREADY_EXISTS)
155
if (findUrlStatusCode ==
ErrorCodes
.ERROR_SUCCESS)
165
if (statusCode ==
ErrorCodes
.ERROR_ACCESS_DENIED)
197
if (statusCode !=
ErrorCodes
.ERROR_SUCCESS)
RequestProcessing\ClientCertLoader.cs (10)
170
if (statusCode ==
ErrorCodes
.ERROR_MORE_DATA)
177
else if (statusCode ==
ErrorCodes
.ERROR_NOT_FOUND)
182
else if (statusCode ==
ErrorCodes
.ERROR_SUCCESS &&
187
else if (statusCode !=
ErrorCodes
.ERROR_SUCCESS &&
188
statusCode !=
ErrorCodes
.ERROR_IO_PENDING)
229
if (errorCode ==
ErrorCodes
.ERROR_MORE_DATA)
249
if (errorCode ==
ErrorCodes
.ERROR_IO_PENDING ||
250
(errorCode ==
ErrorCodes
.ERROR_SUCCESS && !HttpSysListener.SkipIOCPCallbackOnSuccess))
256
if (errorCode ==
ErrorCodes
.ERROR_NOT_FOUND)
261
else if (errorCode !=
ErrorCodes
.ERROR_SUCCESS)
RequestProcessing\RequestContext.cs (3)
210
if (statusCode ==
ErrorCodes
.ERROR_CONNECTION_INVALID)
240
if (statusCode ==
ErrorCodes
.ERROR_SUCCESS)
322
if (statusCode !=
ErrorCodes
.ERROR_SUCCESS)
RequestProcessing\RequestStream.cs (10)
151
if (statusCode ==
ErrorCodes
.ERROR_MORE_DATA && size == 0)
156
else if (statusCode !=
ErrorCodes
.ERROR_SUCCESS && statusCode !=
ErrorCodes
.ERROR_HANDLE_EOF)
176
if (statusCode ==
ErrorCodes
.ERROR_HANDLE_EOF
177
|| statusCode !=
ErrorCodes
.ERROR_MORE_DATA && dataRead == 0)
212
UpdateAfterRead(
ErrorCodes
.ERROR_SUCCESS, dataRead);
263
if (statusCode !=
ErrorCodes
.ERROR_SUCCESS && statusCode !=
ErrorCodes
.ERROR_IO_PENDING)
266
if (statusCode ==
ErrorCodes
.ERROR_HANDLE_EOF)
285
else if (statusCode ==
ErrorCodes
.ERROR_SUCCESS &&
RequestProcessing\RequestStreamAsyncResult.cs (4)
72
if (errorCode ==
ErrorCodes
.ERROR_MORE_DATA && asyncResult._size == 0)
77
else if (errorCode !=
ErrorCodes
.ERROR_SUCCESS && errorCode !=
ErrorCodes
.ERROR_HANDLE_EOF)
99
internal void Complete(int read, uint errorCode =
ErrorCodes
.ERROR_SUCCESS)
RequestProcessing\Response.cs (4)
341
if (statusCode ==
ErrorCodes
.ERROR_INVALID_PARAMETER
359
if (statusCode !=
ErrorCodes
.ERROR_INVALID_PARAMETER)
366
statusCode ==
ErrorCodes
.ERROR_SUCCESS &&
674
if (errorCode !=
ErrorCodes
.ERROR_SUCCESS)
RequestProcessing\ResponseBody.cs (10)
170
if (statusCode !=
ErrorCodes
.ERROR_SUCCESS && statusCode !=
ErrorCodes
.ERROR_HANDLE_EOF
172
&& (!endOfRequest || (statusCode !=
ErrorCodes
.ERROR_CONNECTION_INVALID && statusCode !=
ErrorCodes
.ERROR_INVALID_PARAMETER)))
382
if (statusCode !=
ErrorCodes
.ERROR_SUCCESS && statusCode !=
ErrorCodes
.ERROR_IO_PENDING)
405
if (statusCode ==
ErrorCodes
.ERROR_SUCCESS && HttpSysListener.SkipIOCPCallbackOnSuccess)
705
if (statusCode !=
ErrorCodes
.ERROR_SUCCESS && statusCode !=
ErrorCodes
.ERROR_IO_PENDING)
728
if (statusCode ==
ErrorCodes
.ERROR_SUCCESS && HttpSysListener.SkipIOCPCallbackOnSuccess)
RequestProcessing\ResponseStreamAsyncResult.cs (2)
236
if (errorCode !=
ErrorCodes
.ERROR_SUCCESS && errorCode !=
ErrorCodes
.ERROR_HANDLE_EOF)
UrlPrefixCollection.cs (3)
235
if ((ex.ErrorCode !=
ErrorCodes
.ERROR_ACCESS_DENIED
236
&& ex.ErrorCode !=
ErrorCodes
.ERROR_SHARING_VIOLATION
237
&& ex.ErrorCode !=
ErrorCodes
.ERROR_ALREADY_EXISTS) || index == MaxRetries - 1)