mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 03:06:29 +00:00
add logging to socks5.dart
This commit is contained in:
parent
0d60d23d28
commit
71b69cc3a4
1 changed files with 8 additions and 0 deletions
|
@ -7,6 +7,8 @@ import 'dart:convert';
|
|||
import 'dart:io';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:stackwallet/utilities/logger.dart';
|
||||
|
||||
/// https://tools.ietf.org/html/rfc1928
|
||||
/// https://tools.ietf.org/html/rfc1929
|
||||
|
||||
|
@ -267,9 +269,15 @@ class SOCKSSocket {
|
|||
}
|
||||
case RawSocketEvent.readClosed:
|
||||
// TODO: Handle this case.
|
||||
Logging.instance.log(
|
||||
"SOCKSSocket._start(): unhandled event RawSocketEvent.readClosed",
|
||||
level: LogLevel.Warning);
|
||||
break;
|
||||
case RawSocketEvent.write:
|
||||
// TODO: Handle this case.
|
||||
Logging.instance.log(
|
||||
"SOCKSSocket._start(): unhandled event RawSocketEvent.write",
|
||||
level: LogLevel.Warning);
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue