Changeset 2030 for trunk/eraser


Ignore:
Timestamp:
5/3/2010 11:51:15 PM (4 years ago)
Author:
lowjoel
Message:

Fixed logic error (a temporary buffer was used, and copied to a memory stream for larger requests) and a memory leak in RemoteExecutorServer? when processing input from clients (the stream was redundant)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.Manager/RemoteExecutor.cs

    r1850 r2030  
    208208                        try 
    209209                        { 
    210                             request = (RemoteExecutorRequest)new BinaryFormatter().Deserialize( 
    211                                 new MemoryStream(buffer)); 
     210                            request = (RemoteExecutorRequest)new BinaryFormatter().Deserialize(mstream); 
    212211                        } 
    213212                        catch (SerializationException) 
Note: See TracChangeset for help on using the changeset viewer.