Commit Graph

7 Commits

Author SHA1 Message Date
MaxXor 3bdd5aa294 Implemented pooled buffer manager to socket 2015-06-05 23:07:37 +02:00
yankejustin 2d083782fc Moved validation a bit higher
If the packet's "Filename" property is null or empty, we can avoid
making an unnecessary string for the downloadPath by placing the
validation above it.
2015-06-02 18:30:44 -04:00
yankejustin bf5b517eca SurveillanceHandler validation
Added more restrictive validation for the "Surveillance" handlers.
2015-06-02 18:14:45 -04:00
MaxXor 90f30caafb Improved Download Path
Using now "User@PC" instead of "IP".
2015-06-01 11:44:48 +02:00
MaxXor 39f9618f21 Fixed cross-thread issues & added lock to Clients
ref #231
2015-05-29 23:34:57 +02:00
yankejustin af20dd54e3 Disposing IDisposable Resources
Dispose of unmanaged resources used by the server's UnsafeStreamCodec
and JpgCompression (because it is pretty related to the
UnsafeStreamCodec). Made sure that the UnsafeStreamCodec was being
disposed of before being re-assigned.
Note: I did not reflect these changes to the client's UnsafeStreamCodec
because the implementation of the client's codec is a bit different in
the CommandHandler. This different implementation caused instability in
the client. In the server, I noticed decreased memory consumption and
decreased fluctuation in the memory used.
2015-05-18 01:10:25 -04:00
yankejustin ac93887af3 Separated the CommandHandler
Divided the server's CommandHandler class into partial classes.
2015-05-15 21:15:44 -04:00