mirror of
https://github.com/fatedier/frp.git
synced 2026-01-11 22:23:12 +00:00
support more proxy type
This commit is contained in:
@@ -67,10 +67,6 @@ type Writer struct {
|
||||
|
||||
// Write satisfies the io.Writer interface.
|
||||
func (w *Writer) Write(p []byte) (nRet int, errRet error) {
|
||||
return w.write(p)
|
||||
}
|
||||
|
||||
func (w *Writer) write(p []byte) (nRet int, errRet error) {
|
||||
if w.err != nil {
|
||||
return 0, w.err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user