mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
more changes on http server low level
This commit is contained in:
@@ -23,7 +23,7 @@ namespace OSHttpServer
|
||||
|
||||
int contextID {get;}
|
||||
int TimeoutKeepAlive {get; set; }
|
||||
int MaxPipeRequests{get; set; }
|
||||
int MaxRequests{get; set; }
|
||||
|
||||
bool CanSend();
|
||||
bool IsSending();
|
||||
@@ -92,11 +92,11 @@ namespace OSHttpServer
|
||||
HTTPNetworkContext GiveMeTheNetworkStreamIKnowWhatImDoing();
|
||||
|
||||
void StartSendResponse(HttpResponse response);
|
||||
void ContinueSendResponse();
|
||||
void ReqResponseAboutToSend(uint requestID);
|
||||
void ReqResponseSent(uint requestID, ConnectionType connection);
|
||||
void ContinueSendResponse(bool notThrottled);
|
||||
void EndSendResponse(uint requestID, ConnectionType connection);
|
||||
bool TrySendResponse(int limit);
|
||||
}
|
||||
|
||||
public class HTTPNetworkContext
|
||||
{
|
||||
public NetworkStream Stream;
|
||||
@@ -143,4 +143,6 @@ namespace OSHttpServer
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user