1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00

fix interface

This commit is contained in:
Darien Raymond 2017-04-09 12:45:25 +02:00
parent 345e43b4c4
commit a8586eace6
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -135,7 +135,7 @@ func transferRequest(timer signal.ActivityTimer, session *encoding.ServerSession
return nil return nil
} }
func transferResponse(timer signal.ActivityTimer, session *encoding.ServerSession, request *protocol.RequestHeader, response *protocol.ResponseHeader, input ray.InputStream, output io.Writer) error { func transferResponse(timer signal.ActivityTimer, session *encoding.ServerSession, request *protocol.RequestHeader, response *protocol.ResponseHeader, input buf.Reader, output io.Writer) error {
session.EncodeResponseHeader(response, output) session.EncodeResponseHeader(response, output)
bodyWriter := session.EncodeResponseBody(request, output) bodyWriter := session.EncodeResponseBody(request, output)