Commit Graph

9 Commits

Author SHA1 Message Date
Jürgen
8dde236256 Stability improvement:
Processing in separate threat may cause racing condition and timeouts in browser.
By putting processing in original threat we get a more sequential processing and more stability.
2016-07-19 00:04:27 +02:00
Jürgen
14210f3654 Fix:
In WPF application the HttpProcessor was newer released and got stuck in method "StreamReadLine".
This causes the application to stay alive with a zombie-process...
By introducing IDisposable-interface containing an "active" flag we can shut the processor down.
putting the processor in "using" it will be disposed once HttpServer is shut down.
2016-07-17 00:59:53 +02:00
Johnny @PC
adeac7b409 Simplified String -> string 2016-03-31 12:08:23 +02:00
Johnny Dellinger @PC
96bcb7bd36 Some more refactoring. 2015-10-28 17:05:09 +01:00
mrnikbobjeff
e5e57c3020 Removed infinite loop in dispose call
Imporved spelling in new commits
2015-10-21 13:18:57 +02:00
mrnikbobjeff
49441bba95 Formatted and beautified code via codemaid
Organised using statements alphabetically
2015-10-17 00:44:35 +02:00
mrnikbobjeff
10c8944e05 Replaced all occurances of checking whether a string is empty via str == "" with String.IsNullOrEmpty(str)
sealed StringAttribute because it is only contains text as attribute
sealed SpotifyWebAPI class as it implements IDisposable
Changed Exception catching where the Exception is not used to ignore the Exception object
Removed Console.WriteLine("Exception: " + e.Message) int HttpProcessor.Process as it is a library function which might not be used in a console application
2015-10-17 00:31:01 +02:00
Johnny Dellinger @PC
006f085c4b Fixed HTTP-Server, it's now throwing exceptions. (Closes #38) 2015-10-01 17:31:42 +02:00
Johnny Dellinger @PC
45c71544f9 Full Rewrite & Cleanup (New documentation follows) 2015-07-07 18:11:11 +02:00