mirror of
https://github.com/fatedier/frp.git
synced 2025-08-14 14:58:54 +02: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