mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
remove async await no longer used
This commit is contained in:
@@ -516,7 +516,7 @@ namespace OSHttpServer
|
||||
ContextTimeoutManager.EnqueueSend(this, m_currentResponse.Priority, notThrottled);
|
||||
}
|
||||
|
||||
public async Task EndSendResponse(uint requestID, ConnectionType ctype)
|
||||
public void EndSendResponse(uint requestID, ConnectionType ctype)
|
||||
{
|
||||
isSendingResponse = false;
|
||||
m_currentResponse?.Clear();
|
||||
|
||||
@@ -469,7 +469,7 @@ namespace OSHttpServer
|
||||
if (m_body != null)
|
||||
m_body.Dispose();
|
||||
Sent = true;
|
||||
await m_context.EndSendResponse(requestID, Connection).ConfigureAwait(false);
|
||||
m_context.EndSendResponse(requestID, Connection);
|
||||
}
|
||||
|
||||
private int CheckBandwidth(int request, int bytesLimit)
|
||||
|
||||
@@ -96,7 +96,7 @@ namespace OSHttpServer
|
||||
|
||||
void StartSendResponse(HttpResponse response);
|
||||
void ContinueSendResponse(bool notThrottled);
|
||||
Task EndSendResponse(uint requestID, ConnectionType connection);
|
||||
void EndSendResponse(uint requestID, ConnectionType connection);
|
||||
bool TrySendResponse(int limit);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user