File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/dds.net-server.lib/Core/Internal/IOProcessor Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,9 @@ protected override int ProcessCommand(VarsDbCommand command)
8080 return 0 ;
8181 }
8282
83+
84+ private PacketPreprocessor packetPreprocessor = new ( ) ;
85+
8386 protected override int ProcessInput ( DataFromClient input )
8487 {
8588 if ( input != null && ! string . IsNullOrEmpty ( input . ClientRef ) )
@@ -90,12 +93,12 @@ protected override int ProcessInput(DataFromClient input)
9093 }
9194 else
9295 {
93- PacketPreprocessor . AddData ( input ) ;
96+ packetPreprocessor . AddData ( input ) ;
9497
9598 while ( true )
9699 {
97100 int offset = 0 ;
98- byte [ ] message = PacketPreprocessor . GetSingleMessage ( input . ClientRef ) ;
101+ byte [ ] message = packetPreprocessor . GetSingleMessage ( input . ClientRef ) ;
99102
100103 if ( message != null )
101104 {
You can’t perform that action at this time.
0 commit comments