mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
tls: optimized code
This commit is contained in:
1 parent
d37c2e2a35
commit
25c9721b00
5 files changed
+41
-29
No files matched your search
@@ -115,7 +115,9 @@ func (s *TProxy) ListenAndServeUDP() {
|
||||
}
|
||||
|
||||
// Serve .
|
||||
func (s *TProxy) Serve(c net.Conn) {}
|
||||
func (s *TProxy) Serve(c net.Conn) {
|
||||
log.F("[tproxy] func Serve: can not be called directly")
|
||||
}
|
||||
|
||||
// ReadFromUDP reads a UDP packet from c, copying the payload into b.
|
||||
// It returns the number of bytes copied into b and the return address
|
||||
|
||||
Reference in new issue
Block a user