mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-22 01:05:54 +02:00
SMBServer: Marked methods required for asynchronous operation as internal
This commit is contained in:
parent
d0b8ad25f1
commit
2698498c8b
3 changed files with 3 additions and 3 deletions
|
@ -146,7 +146,7 @@ namespace SMBLibrary.Server.SMB1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static List<SMB1Command> GetNTTransactResponse(byte[] responseSetup, byte[] responseParameters, byte[] responseData, int maxBufferSize)
|
internal static List<SMB1Command> GetNTTransactResponse(byte[] responseSetup, byte[] responseParameters, byte[] responseData, int maxBufferSize)
|
||||||
{
|
{
|
||||||
if (NTTransactResponse.CalculateMessageSize(responseSetup.Length, responseParameters.Length, responseData.Length) <= maxBufferSize)
|
if (NTTransactResponse.CalculateMessageSize(responseSetup.Length, responseParameters.Length, responseData.Length) <= maxBufferSize)
|
||||||
{
|
{
|
||||||
|
|
|
@ -287,7 +287,7 @@ namespace SMBLibrary.Server
|
||||||
return new ErrorResponse(command.CommandName);
|
return new ErrorResponse(command.CommandName);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void EnqueueMessage(ConnectionState state, SMB1Message response)
|
internal static void EnqueueMessage(ConnectionState state, SMB1Message response)
|
||||||
{
|
{
|
||||||
SessionMessagePacket packet = new SessionMessagePacket();
|
SessionMessagePacket packet = new SessionMessagePacket();
|
||||||
packet.Trailer = response.GetBytes();
|
packet.Trailer = response.GetBytes();
|
||||||
|
|
|
@ -201,7 +201,7 @@ namespace SMBLibrary.Server
|
||||||
return new ErrorResponse(command.CommandName, NTStatus.STATUS_NOT_SUPPORTED);
|
return new ErrorResponse(command.CommandName, NTStatus.STATUS_NOT_SUPPORTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void EnqueueResponse(ConnectionState state, SMB2Command response)
|
internal static void EnqueueResponse(ConnectionState state, SMB2Command response)
|
||||||
{
|
{
|
||||||
SessionMessagePacket packet = new SessionMessagePacket();
|
SessionMessagePacket packet = new SessionMessagePacket();
|
||||||
packet.Trailer = response.GetBytes();
|
packet.Trailer = response.GetBytes();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue