Log write on the server side.

This commit is contained in:
David Fifield 2016-01-09 19:24:57 -08:00
parent c519813cf7
commit bf2a825fce

View file

@ -50,6 +50,7 @@ func (c *webRTCConn) Read(b []byte) (int, error) {
} }
func (c *webRTCConn) Write(b []byte) (int, error) { func (c *webRTCConn) Write(b []byte) (int, error) {
log.Printf("webrtc Write %d %+q", len(b), string(b))
c.dc.Send(b) c.dc.Send(b)
return len(b), nil return len(b), nil
} }