diff options
| author | Shulhan <ms@kilabit.info> | 2025-01-17 00:18:36 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-01-17 00:18:36 +0700 |
| commit | 73a9b318ea8afe535050c1a007e427b6cd8be453 (patch) | |
| tree | 22a9b914fb4899b27600888924da7575afc502b6 /lib/bytes/bytes_example_test.go | |
| parent | 20101c63d8cb9d5d673bbd2b93f9dfd8344f06a2 (diff) | |
| download | pakakeh.go-73a9b318ea8afe535050c1a007e427b6cd8be453.tar.xz | |
lib/dns: improve the logging prefix on serveTCPClient
The serveTCPClient is used to serve TCP and DoT clients.
Previously, the error returned from this method is prefixed
based on the kind, for example
serveTCPClient TCP: ...
serveTCPClient DoT: ...
This changes pass the log prefix to the method so now it
become
serveTCPClient: ...
serveDoTClient: ...
Diffstat (limited to 'lib/bytes/bytes_example_test.go')
0 files changed, 0 insertions, 0 deletions
