mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-12 14:30:54 +08:00
[反向代理]实验性添加TOA支持
This commit is contained in:
@@ -42,5 +42,5 @@ func (this *HTTPRequest) write502(err error) {
|
||||
}
|
||||
this.processResponseHeaders(statusCode)
|
||||
this.writer.WriteHeader(statusCode)
|
||||
_, _ = this.writer.Write([]byte(http.StatusText(statusCode)))
|
||||
_, _ = this.writer.Write([]byte("502 Bad Gateway"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user