Balint Kovacs
42c6f7df96
Fix a race condition in TcpServerThread
...
Signed-off-by: Balint Kovacs <blint@blint.hu>
2014-02-03 15:49:49 +01:00
Balint Kovacs
f269d18052
removed presumably dead code
2013-06-12 09:15:08 +02:00
Balint Kovacs
d59aa907a8
Additional logging in case of SSL IOExeption
...
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-09-05 15:48:40 +02:00
Balint Kovacs
aad79a8e5a
Indentation fixes
...
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-04 21:31:26 +02:00
Balint Kovacs
6c07dca8e0
Implemented network state change listener that stops the service on
...
connectivity loss and starts it once connectivity is regained
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-05-04 14:07:25 +02:00
Balint Kovacs
5e276bf69c
Added a bunch of TODO's to the appropriate files
...
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-28 15:40:17 +02:00
Balint Kovacs
de7a264296
Added log tags and session ID to the stream related error messages
...
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-26 15:42:11 +02:00
Balint Kovacs
8d35c15a02
Added a bunch of input validation at the tunnel details screen
...
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-26 14:49:50 +02:00
Balint Kovacs
a4489bcd97
Basically undone these commits:
...
82da2651b2
780d221b2f
Instead of wait()-ing which has just made the problem worse, the
socket used for passing data between the threads needs to be closed.
The second is yet to be solved, onPause() is called even if the
Activity is being canceled, need to check somehow why this is needed
for saving the instance state.
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-20 23:34:35 +02:00
Balint Kovacs
89d87a89e8
Some more cleanup
...
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-20 19:05:46 +02:00
Balint Kovacs
5ef9db389e
Removed some clutter used for initial troubleshooting
...
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-20 19:05:19 +02:00
Balint Kovacs
82da2651b2
Try to wait() for the workerthreads to finish when stopping the
...
service, this probably needs more thought in the future
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-20 19:01:19 +02:00
Balint Kovacs
4d724fb37d
Implemented basics of multiple tunnel handling
...
Also implemented accepting all server certs as my subject server had
an expired certificate.
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-18 07:30:03 +02:00
Balint Kovacs
c1a7c94be9
Fixed shutdown issue and some error handling adjustments
...
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-15 08:42:03 +02:00
Balint Kovacs
2ebebbd896
Huge amount of changes:
...
* moved TcpProxy server thread into separate class
* implemented on boot startup
* fixed service stop problem
and anything else I forgot about (bad boy, should commit more often)
Signed-off-by: Balint Kovacs <blint@blint.hu>
2011-04-12 17:06:00 +02:00