(b []byte)
| 112 | } |
| 113 | |
| 114 | func (c *hijackedConn) Read(b []byte) (int, error) { |
| 115 | return c.r.Read(b) |
| 116 | } |
| 117 | |
| 118 | // hijackedConnCloseWriter is a hijackedConn which additionally implements |
| 119 | // CloseWrite(). It is returned by setupHijackConn in the case that a) there |
no outgoing calls