|
@@ -28,9 +28,7 @@ func (v *NoneResponse) WriteTo(buf.Writer) {}
|
|
|
func (v *HTTPResponse) WriteTo(writer buf.Writer) {
|
|
func (v *HTTPResponse) WriteTo(writer buf.Writer) {
|
|
|
b := buf.NewLocal(512)
|
|
b := buf.NewLocal(512)
|
|
|
b.AppendSupplier(serial.WriteString(http403response))
|
|
b.AppendSupplier(serial.WriteString(http403response))
|
|
|
- mb := buf.NewMultiBuffer()
|
|
|
|
|
- mb.Append(b)
|
|
|
|
|
- writer.Write(mb)
|
|
|
|
|
|
|
+ writer.Write(buf.NewMultiBufferValue(b))
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// GetInternalResponse converts response settings from proto to internal data structure.
|
|
// GetInternalResponse converts response settings from proto to internal data structure.
|